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