Configuring Port-Based Traffic Control
Command or Action
switchport
Step 7
copy running-config startup-config
Example:
Switch# copy running-config startup-config
Monitoring Port Blocking
Table 32: Commands for Displaying Port Blocking Settings
Command
show interfaces [interface-id] switchport
Prerequisites for Port Security
If you try to set the maximum value to a number less than the number of secure addresses already configured
Note
on an interface, the command is rejected.
Restrictions for Port Security
The maximum number of secure MAC addresses that you can configure on a switch or switch stack is set by
the maximum number of available MAC addresses allowed in the system. This number is determined by the
active Switch Database Management (SDM) template. This number is the total of available MAC addresses,
including those used for other Layer 2 functions and any other secure MAC addresses configured on interfaces.
OL-29434-01
Purpose
(Optional) Saves your entries in the configuration file.
Purpose
Displays the administrative and operational status of all
switching (nonrouting) ports or the specified port, including
port blocking and port protection settings.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
Monitoring Port Blocking
335