Administrator Guide

Layer 2 Switching Commands 305
Syntax
show mac address-table dynamic [address
mac-address
] [interface
interface-
id
] [vlan
vlan-id
]
mac-address
A MAC address in the format xxxx.xxxx.xxxx.
interface-id
Display information for a specific interface. Valid interfaces
include Ethernet ports and port channels.
vlan-id
Display entries for the specific VLAN only. The range is 1 to 4093.
Default Configuration
This command has no default configuration.
Command Mode
User Exec, Privileged Exec mode, Configuration mode and all Configuration
submodes
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.
2CSNXXX_SWUM204.book Page 305 Monday, January 25, 2016 1:25 PM