DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Specifies the interface to be configured, and enter
interface configuration mode.
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 2
Configures the interface to be a protected port.switchport protected
Example:
Switch(config-if)# switchport protected
Step 3
Returns to privileged EXEC mode.end
Example:
Switch(config-if)# end
Step 4
Verifies your entries.
show interfaces interface-id switchport
Example:
Switch# show interfaces gigabitethernet1/0/1
Step 5
switchport
(Optional) Saves your entries in the configuration
file.
copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
332 OL-29434-01
Configuring Port-Based Traffic Control
Configuring a Protected Port