show mac-address

Displays the MAC address table.
Syntax
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 } ]
Parameters
ethernetstack/slot/port
Displays information for the specific Ethernet port.
laglag-id
Displays information for the specific LAG interface.
vlanvlan-id
Displays the MAC address for the specified VLAN ID.
mac-address
Displays the information for the specified Ethernet MAC address.
mac-address-mask
Displays the information for the specified Ethernet MAC address mask.
all
Displays MAC address of all ports including the blocked ports.
collision
Displays collision MAC addresses.
mdup-stats
Displays MAC database update statistics.
statistics
Displays the MAC address statistics.
vxlan
Displays VXLAN-specific MAC entries.
gwgw-name
Specifies the VXLAN gateway name for which information is displayed.
sitesite-name
Displays information for the specified remote site.
vnivni-id
Displays information for the designated VXLAN Network Identifier.
Modes

User EXEC mode

Usage Guidelines

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:

Output field Description
MAC-Address The MAC address.
Type Indicates whether the MAC entry is static or dynamic. A static entry is one you create using the static-mac-address command. A dynamic entry is one that is learned by the software from network traffic.
Examples

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 
History
Release version Command history
08.0.40 The following options are removed as they were supported only on FSX devices: mdup-status, mdb, source-rbridgesource-rbridgeid, client-rbridgeclient-rbridgeid.
08.0.70 The command has been enhanced to display MAC addresses for extended VLANs in a VXLAN segment.
08.0.90 The collision keyword was added.