Switchport Protected - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2 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 return to the default setting.
Syntax Description
This command has no keywords or arguments.
Defaults
No protected port is defined. All ports are nonprotected.
Command Modes
Interface configuration
Command History
Release
12.1(6)EA2
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 unicast, multicast, or broadcast traffic to any other protected port.
A protected port continues to forward unicast, multicast, and broadcast traffic to unprotected ports and
vice versa.
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 Fast Ethernet interface 0/3:
Switch(config)# interface fastethernet0/3
Switch(config-if)# switchport protected
You can verify your settings by entering the show interfaces switchport privileged EXEC command.
Related Commands
Command
show interfaces
78-11381-05
switchport protected
no switchport protected
Modification
This command was first introduced. It replaced the port protected command.
switchport Displays the administrative and operational staus of a switching port.
Description
Catalyst 2950 Desktop Switch Command Reference
switchport protected
2-303

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents