Administrator Guide

Layer 2 Switching Commands 306
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, Configuration mode and all Configuration
submodes
User Guidelines
This command has no user guidelines.
Example
In this example, all classes of entries in the bridge-forwarding database for
gigabit Ethernet interface 1/0/1 are displayed.
console#show mac address-table interface gigabitethernet 1/0/1
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 static
Use the show mac address-table static command in User Exec or Privileged
Exec mode to display static entries in the bridge-forwarding database.
2CSNXXX_SWUM204.book Page 306 Monday, January 25, 2016 1:25 PM