Administrator Guide

Layer 2 Switching Commands 307
Syntax
show mac address-table static [address
mac-address
] [interface
interface-id
]
[vlan
vlan-id
]
mac-address
A MAC address with the format xxxx.xxxx.xxxx.
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 static entries in the bridge-forwarding database are
displayed.
console#show mac address-table static
Vlan Mac Address Type Port
---- -------------- ----- -----
1 0001.0001.0001 Static Gi1/0/1
show mac address-table vlan
Use the show mac address-table vlan command in User Exec or Privileged
Exec mode to display all entries in the bridge-forwarding database for the
specified VLAN.
Syntax
show mac address-table [vlan
vlan-id
]
2CSNXXX_SWUM204.book Page 307 Monday, January 25, 2016 1:25 PM