show mac-address
show mac-address [
ethernet
stack/slot/port|
lag
lag-id
|
vlan
vlan-id
][
mac-address
[
mac-address-mask
]
]show mac-address[
all
|
collision
|
mdup-stats
|
statistics
|
vxlan
{
gw
gw-name
site
site-name
|
vni
vni-id
}
]User EXEC mode
The
show mac-address command output does not include MAC addresses for management ports, because these
ports do not support typical MAC learning and MAC-based forwarding.
The
show mac-address
command displays the following information:
The following example displays sample output of the
show mac-address command.
device> show mac-address Total active entries from all ports = 3 Total static entries from all ports = 1 MAC-Address Port Type VLAN 0000.0034.1234 1/1/15 Static 1 0000.0038.2f24 1/1/14 Dynamic 1 0000.0038.2f00 1/1/13 Dynamic 1 0000.0086.b159 1/1/10 Dynamic 1
The following example displays sample output of the
show mac-address command for a VLAN.
device> show mac-address vlan 1 0000.0000.0001 Total active entries from all ports = 16 MAC-Address Port Type Index 0000.0000.0001 1/1/1 Dynamic NA Present in following devices (at hw index) :- 0 (8196 ) 4 (8196 )
The following example displays two MAC Addresses learned on the VXLAN tunnel with destination IP address 2.2.2.2.
device> show mac-address Total active entries from all ports = 4 MAC-Address Port Type VLAN 000c.2900.0011 1/1/48 Dynamic 101 000c.2900.0022 VxL-2.2.2.2 Dynamic 101 000c.2900.0023 VxL-2.2.2.2 Dynamic 102 000c.2900.0012 1/1/48 Dynamic 102
The following example displays information for VLAN 101, in this case a VLAN that is part of a VXLAN segment. The MAC Address of the local access port to the VXLAN tunnel, port 1/1/48, and the MAC address for the remote end of the tunnel, identified by its IP address 2.2.2.2 and the prefix VxL-, are displayed.
device> show mac-address vlan 101 Total active entries from VLAN 101 = 2 MAC-Address Port Type VLAN 000c.2900.0011 1/1/48 Dynamic 101 000c.2900.0022 VxL-2.2.2.2 Dynamic 101
The following example displays information about MAC address collisions.
ICX7850-1-32Q> show mac-address collision Total number of collision MAC(s): 000437 MAC-Address VLAN Port 0050.0000.7955 40 3/1/48 0050.0000.74dd 40 3/1/48 0050.0000.6c88 40 3/1/48 0050.0000.6ae5 40 3/1/48 0050.0000.7f9f 40 3/1/48 0050.0000.79cd 40 3/1/48 0050.0000.852c 40 3/1/48 0050.0000.65d0 40 3/1/48 0013.0002.9012 40 lg1