Reference Guide
Layer 2 | 517
Display the MAC Address Table
To display the contents of the MAC address table:
MAC Learning Limit
This section has the following sub-sections:
• mac learning-limit dynamic
• mac learning-limit mac-address-sticky
• mac learning-limit station-move
• mac learning-limit no-station-move
• Learning Limit Violation Actions
• Station Move Violation Actions
• Recovering from Learning Limit and Station Move Violations
• Per-VLAN MAC Learning Limit
MAC Address Learning Limit is a method of port security on Layer 2 port-channel and physical interfaces,
and VLANs. It enables you to set an upper limit on the number of MAC addresses that are learned on an
interface/VLAN. After the limit is reached, the system drops all traffic from a device with an unlearned
MAC address.
Task Command Syntax Command Mode
Display the contents of the MAC address table.
• address displays the specified entry.
• aging-time displays the configured aging-time.
• count displays the number of dynamic and static entries
for all VLANs, and the total number of entries.
• dynamic displays only dynamic entries
• interface displays only entries for the specified
interface.
• static displays only static entries.
• vlan displays only entries for the specified VLAN.
show mac-address-table [address |
aging-time [vlan vlan-id]| count |
dynamic | interface | static | vlan]
EXEC Privilege