CLI Guide

Layer 2 Switching Commands 321
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]
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.
Example
In this example, multiple classes of entries in the bridge forwarding database
are displayed.
console(config-if-Gi1/0/4)#show mac address-table vlan 1
Aging time is 400 Sec
Vlan Mac Address Type Port
-------- --------------------- ----------- ---------------------
1 1418.7715.1BAA Dynamic Gi2/0/29
1 1418.7715.47E8 Management CPU
1 2047.47BA.F696 Dynamic Gi2/0/29
1 B8CA.3AD5.DF1A Static Gi2/0/29
show port-security
Use the show ports security command to display port security (MAC locking)
configuration.