Specifications

show mac-address-table
202
show mac-address-table
Displays information stored in the MAC address table.
Syntax
show mac-address-table [mac <MAC>] [vlan <VLAN ID list>] [port <Port# list>]
[channel-group-number <Channel group# list>]
[{static | dynamic | snoop | dot1x | wa | macauth}]
show mac-address-table learning-counter [port <Port# list>]
[channel-group-number <Channel group# list>]
Input mode
User mode and administrator mode
Parameters
mac <MAC>
Displays the information in the MAC address table for the specified MAC address.
vlan <VLAN ID list>
Displays the information in the MAC address table for the VLAN IDs specified in list
format.
For details about how to specify <VLAN ID list>, see Specifiable values for
parameters.
Operation when this parameter is omitted:
Displays the information in the MAC address table for all VLANs.
[port <Port# list>] [channel-group-number <Channel group# list>]
Displays the information in the MAC address table for the specified ports or the
specified link aggregation groups. Ports and link aggregation groups cannot be
specified at the same time.
port <Port# list>
Displays the information in the MAC address table for the ports specified in list
format. The mac-address-table entries that include at least one of the ports
specified in the list are displayed. For details about how to specify <Port# list>
and the specifiable range of values, see Specifiable values for parameters.
channel-group-number <Channel group# list>
Displays the information in the MAC address table for the channel groups
specified in list format in the specified link aggregation. For details about how
to specify <Channel group# list>, see Specifiable values for parameters.
Even if the command is executed with this parameter set, information about
the MAC address table is displayed in port-list format.
Operation when this parameter is omitted:
The information in the MAC address table for all ports and link aggregation
groups is displayed.
{ static | dynamic | snoop | dot1x | wa | macauth }
Displays the information in the MAC address table that was registered under the
specified condition.
static
Displays the information in the MAC address table registered by the
mac-address-table static configuration command.