Layer 2 | 561
Configure a Static MAC Address
A static entry is one that is not subject to aging. Static entries must be entered manually:
Display the MAC Address Table
To display the contents of the MAC address table:
Task Command Syntax Command Mode
Create a static MAC address entry in the MAC address table.
mac-address-table static
CONFIGURATION
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