2
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.
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 TIME(s)
Aging time:
•
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 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