Purpose
Command or Action
switchport
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config startup-config
Step 7
Monitoring Port Blocking
Table 32: Commands for Displaying Port Blocking Settings
Purpose
Command
Displays the administrative and operational status of all
switching (nonrouting) ports or the specified port, including
port blocking and port protection settings.
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
on an interface, the command is rejected.
Note
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.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29434-01
335
Configuring Port-Based Traffic Control
Monitoring Port Blocking