2-798Cisco Catalyst Blade Switch 3120 for HP Command ReferenceOL-12248-03Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commandsswitchport protectedswitchport protectedUse the switchport protected interface configuration command on the switch stack or on a standaloneswitch to isolate unicast, multicast, and broadcast traffic at Layer 2 from other protected ports on thesame switch. Use the no form of this command to disable protection on the port.switchport protectedno switchport protectedSyntax Description This command has no arguments or keywords.Defaults No protected port is defined. All ports are nonprotected.Command Modes Interface configurationCommand HistoryUsage Guidelines The switchport protection feature is local to the switch; communication between protected ports on thesame switch is possible only through a Layer 3 device. To prevent communication between protectedports on different switches, you must configure the protected ports for unique VLANs on each switchand configure a trunk link between the switches. A protected port is different from a secure port.A protected port does not forward any traffic (unicast, multicast, or broadcast) to any other port that isalso a protected port. Data traffic cannot be forwarded between protected ports at Layer 2; only controltraffic, such as PIM packets, is forwarded because these packets are processed by the CPU andforwarded in software. All data traffic passing between protected ports must be forwarded through aLayer 3 device.Because a switch stack represents a single logical switch, Layer 2 traffic is not forwarded between anyprotected ports in the switch stack, whether they are on the same or different switches in the stack.Port monitoring does not work if both the monitor and monitored ports are protected ports.Examples This example shows how to enable a protected port on an interface:Switch(config)# interface gigabitethernet1/0/2Switch(config-if)# switchport protectedYou can verify your settings by entering the show interfaces interface-id switchport privileged EXECcommand.Release Modification12.2(40)EX1 This command was introduced.