Users Guide

Layer 2 Switching Commands 315
Aging time is 400 Sec
Vlan Mac Address Type Port
-------- --------------------- ----------- ---------------------
1 1418.7715.1BAA Dynamic Gi2/0/29
1 1418.7715.47E8 Management CPU
1 2047.47BA.F696 Dynamic Gi2/0/29
1 B8CA.3AD5.DF1A Static Gi2/0/29
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 —An Ethernet 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: