Table 1 Command output
Field
MAC ADDR
VLAN ID
STATE
PORT INDEX
AGING TIME(s)
1 mac address(es) found
Related commands
•
mac-address (system view)
•
mac-address (interface view)
•
mac-address timer
display mac-address aging-time
Use display mac-address aging-time to display the aging time of dynamic entries in the MAC
address table.
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.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display the aging time of dynamic entries in the MAC address table.
<Sysname> display mac-address aging-time
Mac address aging time: 300s
Description
MAC address.
ID of the VLAN to which the MAC address belongs.
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.
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 time:
•
AGING—The entry is aging.
•
NOAGED—The entry does not age.
One MAC address entry is found.
2