1
1418.7715.47E8
1
2047.47BA.F696
1
B8CA.3AD5.DF1A
show port-security
Use the show ports security command to display port security (MAC locking)
configuration.
Syntax
show port-security [ interface-id | all | dynamic interface-id | static interface-id
| violation interface-id]
•
interface-id —A physical or port channel interface identifier.
•
all—Display information for all interfaces.
Default Configuration
Port security is disabled by default.
No port security MAC addresses are learned or configured by default.
The maximum static MAC address limit is 100 MAC addresses.
The maximum dynamic MAC address limit is 600 MAC addresses.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
Setting the dynamic limit to 0 causes all received packets with non-static or
sticky MAC addresses to be considered as violations.
This information is shown if no parameters are given:
Field
Admin Mode
Management
Dynamic
Static
Description
The configured global administrative status of port
MAC locking.
Layer 2 Switching Commands
CPU
Gi2/0/29
Gi2/0/29
308