Configuring and Monitoring Port Security
Port Security
Port Security Command Options and Operation
Port Security Commands Used in This Section
show port-security 11-8
show mac-address
port-security 11-11
< port-list > 11-11
learn-mode 11-11
address-limit 11-14
mac-address 11-14
action 11-15
clear-intrusion-flag 11-15
no port-security 11-15
This section describes the CLI port security command and how the switch
acquires and maintains authorized addresses.
Not e Use the global configuration level to execute port-security configuration
commands.
Port Security Display Options
You can use the CLI to display the current port-security settings and to list the
currently authorized MAC addresses the switch detects on one or more ports.
Displaying Port Security Settings.
Syntax:
show port-security
show port-security [e] <port number>
show port-security [e] [<port number>-<port number]. . .[,<port number>]
The CLI uses the same command to provide two types of port
security listings:
• All ports on the switch with their Learn Mode and (alarm)
Action
• Only the specified ports with their Learn Mode, Address
Limit, (alarm) Action, and Authorized Addresses
Without port parameters, show port-security displays Operating
Control settings for all ports on a switch.
11-8