57
entry has lower priority. The device prefers to use the multiport unicast entry to forward frames
destined for the MAC address in the entry.
Examples
# Display MAC address entries for VLAN 100.
<Sysname> display mac-address vlan 100
MAC Address VLAN ID State Port/NickName Aging
0001-0101-0101 100 Multiport GE1/0/1 N
GE1/0/2
0033-0033-0033 100 Blackhole N/A N
0000-0000-0002 100 Static GE1/0/3 N
00e0-fc00-5829 100 Learned GE1/0/4 Y
# Display the number of MAC address entries.
<Sysname> display mac-address count
1 mac address(es) found.
Table 13 Command output
Field Description
VLAN ID
ID of the VLAN to which the outgoing interface of the MAC address entry
belongs.
State
MAC address entry state:
• Static—Static MAC address entry.
• Learned—Dynamic MAC address entry. Dynamic entries can be
learned or manually configured.
• Blackhole—Blackhole MAC address entry.
• Multiport—Multiport unicast MAC address entry.
• OpenFlow—MAC address entry for an OpenFlow instance.
Port/NickName
When the field displays an interface name, the field indicates the outgoing
interface for packets that are destined for the MAC address. This field
displays
N/A
for a blackhole MAC address entry.
Aging
Whether the entry can age out:
• Y—The entry can age out.
• N—The entry never ages out.
mac address(es) found Number of matching MAC address entries.
Related commands
mac-address
mac-address timer
display mac-address aging-time
Use display mac-address aging-time to display the aging timer for dynamic MAC address
entries.
Syntax
display mac-address aging-time
Views
Any view