1-162
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
show mac-address-table
show mac-address-table
To display the MAC address table, use the show mac-address-table command in privileged EXEC mode.
show mac-address-table [address mac-addr] [aging-time vlan-id] [count vlan-id] [dynamic
[address mac-address | interface type slot/port | vlan vlan-id]] [interface type/number]
[multicast [{igmp-snooping | mld-snooping | vlan vlan-id}]] [static [[{address mac-addr} |
{interface interface/switch-num//slot/port} | vlan vlan-id] [vlan vlan-id]
Syntax Description
Command Default This command has no default settings.
Command Modes Privileged EXEC (#)
Command History
Usage Guidelines The mac-addr is a 48-bit MAC address and the valid format is H.H.H.
The count keyword displays the number of multicast entries.
The multicast keyword displays the multicast MAC addresses (groups) in a VLAN or displays all
statically installed or IGMP snooping-learned entries in the Layer 2 table.
The dynamic entries that are displayed in the Learn field are always set to Yes.
Examples The following example shows the output for the show mac address-table count command:
Router#show mac address-table count
address mac-addr Displays information about the MAC-address table for a specific MAC
address; see the "Usage Guidelines" section for format guidelines.
vlan vlan-id (Optional) Displays information for a specific VLAN only. Range: 1 to 4094.
aging-time Displays information about the MAC-address aging time.
count Displays the number of entries that are currently in the MAC-address table.
dynamic Displays information about the dynamic MAC-address table entries only.
interface interface (Optional) Displays information about a specific interface type; possible
valid values are gigabitethernet and tengigabitethernet.
multicast Displays information about the multicast MAC-address table entries only.
igmp-snooping Displays the addresses learned by Internet Group Management Protocol
(IGMP0 snooping.
mld-snooping Displays the addresses learned by multicast listener discovery version 2
(MLDv2) snooping.
static Displays information about the static MAC-address table entries only.
Release Modification
15.1(2)SNG Support for this command was introduced on the Cisco ASR 901 router.