Cisco IE-3000-8TC Command Reference - Page 604
switchport protected
![]() |
View all Cisco IE-3000-8TC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 604 highlights
switchport protected Chapter 2 IE 3000 Switch Cisco IOS Commands switchport protected Use the switchport protected interface configuration command to isolate unicast, multicast, and broadcast traffic at Layer 2 from other protected ports on the same switch. Use the no form of this command to disable protection on the port. switchport protected no switchport protected Syntax Description This command has no arguments or keywords. Defaults No protected port is defined. All ports are nonprotected. Command Modes Interface configuration Command History Release 12.2(44)EX Modification This command was introduced. Usage Guidelines The switchport protection feature is local to the switch; communication between protected ports on the same switch is possible only through a Layer 3 device. To prevent communication between protected ports on different switches, you must configure the protected ports for unique VLANs on each switch and 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 is also a protected port. Data traffic cannot be forwarded between protected ports at Layer 2; only control traffic, such as PIM packets, is forwarded because these packets are processed by the CPU and forwarded in software. All data traffic passing between protected ports must be forwarded through a Layer 3 device. 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/2 Switch(config-if)# switchport protected You can verify your settings by entering the show interfaces interface-id switchport privileged EXEC command. Syntax Description Command show interfaces switchport switchport block Description Displays the administrative and operational status of a switching port, including port blocking and port protection settings. Prevents unknown multicast or unicast traffic on the interface. 2-578 Cisco IE 3000 Switch Command Reference OL-13019-01
![](/manual_guide/products/cisco-ie30008tc-command-reference-94363f4/604.png)