R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)
2
MAC Address VLAN ID State Port Aging
0033-0033-0033 100 Blackhole N/A N
0000-0000-0002 100 Static GE2/1/3 N
00e0-fc00-5829 100 Learned GE2/1/4 Y
# Display the total number of MAC address entries.
<Sysname> display mac-address count
1 mac address(es) found.
Table 1 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.
Port
Name of the outgoing interface for packets that are destined for the MAC
address.
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
Predefined user roles
network-admin
network-operator
Examples
# Display the aging timer for dynamic MAC address entries.
<Sysname> display mac-address aging-time
MAC address aging time: 300s.