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
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
Verifies your entries.
show interfaces interface-id switchport
Example:
Switch# show interfaces gigabitethernet1/0/1
Step 6
switchport
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 7
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
426 OL-29048-01
Configuring Port-Based Traffic Control
How to Configure Protected Ports