System information
Configuring and Monitoring Port Security
Port Security
Port Security Command Options and Operation
Port Security Commands Used in This Section
show port-security
show mac-address
port-security
< port-list >
learn-mode
address-limit
mac-address
action
clear-intrusion-flag
no port-security
10-7
10-10
10-10
10-10
10-13
10-13
10-14
10-14
10-14
This section describes the CLI port security command and how the switch
acquires and maintains authorized addresses.
Note 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.
10-7