135
4.5.1.3.1.1 show port-security
Command: show port-security
Function: display the global configuration of secure ports.
Command mode: Admin Mode
Default: Configuration of secure ports is not displayed by default.
Usage Guide: This command displays the information for ports that are currently
configured as secure ports.
Example:
Switch#show port-security
Security Port MaxSecurityAddr CurrentAddr Security Action
(count) (count)
--------------------------------------------------------------------------------------------------------------
Ethernet1/3 128 0 Protect
--------------------------------------------------------------------------------------------------------------
Max Addresses limit per port : 128
Total Addresses in System : 2
Displayed information Explanation
Security Port Name of port that is configured as a secure
port.
MaxSecurityAddr The maximum secure MAC address
number set for the secure port.
CurrentAddr Current secure MAC address number for
the secure port.
Security Action Violation mode set for the port.
Max Addresses limit per port Maximum secure MAC address number set
for each secure port.
Total Addresses in System Current secure MAC address number in the
system.
4.5.1.3.1.2 show port-security interface
Command: show port-security interface <interface-id>
Function: display the configuration of secure port.
Command mode: Admin Mode
Parameter: <interface-list> stands for the port to be displayed.
Default: Configuration of secure ports is not displayed by default.