59
Examples
# Display the MAC address entry for MAC address 000f-e201-0101.
<Sysname> display mac-address 000f-e201-0101
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
000f-e201-0101 1 Learned Ten-GigabitEthernet1/0/1 AGING
--- 1 mac address(es) found ---
Table 11 Command output
Field Descri
tion
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.
PORT INDEX
Outgoing interface for packets that are destined for the MAC address. This
field displays N/A for a blackhole MAC address entry.
AGING TIME(s)
Aging time:
• AGING—The entry is aging.
• NOAGED—The entry does not age.
1 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 [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.