R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
2
Usage guidelines
If you execute this command without specifying any parameters, it displays information of all MAC
address entries on the device, including unicast MAC address entries and static multicast MAC address
entries.
If you execute this command using only the vlan keyword or the count keyword, or only these two
keywords, it displays information of unicast MAC address entries and static multicast MAC address
entries.
Examples
# Display the MAC address table entry for MAC address 000f-e201-0101.
<Sysname> display mac-address 000f-e201-0101
MAC ADDR VLAN ID STATE PORT INDEX AGING STATE
000f-e201-0101 1 Config static GigabitEthernet4/0/1 NOAGED
--- 1 mac address(es) found ---
Table 1 Command output
Field Description
MAC ADDR MAC address.
VLAN ID ID of the VLAN to which the MAC address belongs.
STATE
State of a MAC address entry:
• Config static—Static entry manually configured by the user.
• Config dynamic—Dynamic entry manually configured by the user.
• Learned—Entry learned by the device.
• Blackhole—Destination blackhole entry.
• Multicast—Static multicast MAC address entry manually configured by the
user. For more information about static multicast MAC address entries, see
IP Multicast Configuration Guide.
PORT INDEX
Number of the port corresponding to the MAC address. Packets destined to
this MAC address are sent out of this port. It is displayed as N/A for a
blackhole MAC address entry.
AGING STATE
Aging state:
• AGING—The entry is aging.
• NOAGED—The entry does not age.
1 mac address(es) found One MAC address entry is found.
Related commands
• mac-address (system view)
• mac-address (interface view)
• mac-address timer
• display mac-address multicast and display mac-address multicast count (IP Multicast Command
Reference)