Layer 2 Switching Commands 305
User Guidelines
This command has no user guidelines.
Example
In this example, all dynamic entries in the mac address-table are displayed.
console#show mac address-table dynamic
Aging time is 300 Sec
Vlan Mac Address Type Port
---- -------------- ------- -------------
1 0000.0001.0000 Dynamic Gi1/0/1
1 0000.8420.5010 Dynamic Gi1/0/1
1 0000.E26D.2C2A Dynamic Gi1/0/1
1 0000.E89A.596E Dynamic Gi1/0/1
1 0001.02F1.0B33 Dynamic Gi1/0/1
show mac address-table interface
Use the show mac address-table command in User Exec or Privileged Exec
mode to display all entries in the mac address-table.
Syntax
show mac address-table interface interface-id [vlan vlan-id]
•
interface-id
—
Specify an interface type.Valid interfaces include Ethernet ports
and port channels.
•
vlan-id
—
Specify a valid VLAN. The range is 1 to 4093.
Default Configuration
This command has no default configuration.
Command Mode
User Exec, Privileged Exec mode, Global Configuration mode and all
Configuration submodes
User Guidelines
This command has no user guidelines.