How to Configure Protected Ports
Configuring a Protected Port
Before You Begin
Protected ports are not pre-defined. This is the task to configure one.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface interface-id
4.
switchport protected
5.
end
6.
show interfaces interface-id switchport
7.
show running-config
8.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your
password if prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Specifies the interface to be configured, and enter
interface configuration mode.
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 3
Configures the interface to be a protected port.switchport protected
Example:
Switch(config-if)# switchport protected
Step 4
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1474
How to Configure Protected Ports