133
Example:
Switch#show port-security interface ethernet 1/1
Port Security : Enabled
Port status : Security Up
Violation mode : Protect
Maximum MAC Addresses : 1
Total MAC Addresses : 1
Configured MAC Addresses : 1
Lock Timer is ShutDown
Mac-Learning function is : Opened
Is port enabled as a secure port.
Violation mode set for the port.
The maximum secure MAC address
number set for the port.
Current secure MAC address number for
the port.
Current secure static MAC address number
for the port.
Whether locking timer (timer timeout) is
enabled for the port.
Is the MAC address learning function
enabled.
11.2.7 switchport port-security
Command: switchport port security
no switchport port security
Function: Enable MAC address binding function for the port; the ―no switchport
port-security‖ command disables the MAC address binding function for the port.
Command mode: Port Mode.
Default: MAC address binding is not enabled by default.
Usage Guide: The MAC address binding function and Port Aggregation functions are
mutually exclusive. Therefore, if MAC binding function for a port is to be enabled, the Port
Aggregation functions must be disabled, and the port enabling MAC address binding must
not be a Trunk port.