32
Related commands:
mac-address
(system view),
mac-address
(interface view), and
mac-address timer
.
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 TIME(s)
000f-e201-0101 1 Learned GigabitEthernet1/0/1 AGING
--- 1 mac address(es) found ---
Table 8
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—The static entry manually configured by the user.
•
Config dynamic—The dynamic entry manually configured by the user.
•
Learned—The entry learned by the device.
•
AUTH—The entry generated after a user passes the MAC authentication.
For more information about MAC authentication, see
Security
Configuration Guide
.
•
802.1X—The entry generated after a user passes the 802.1X
authentication. For more information about 802.1X authentication, see
Security Configuration Guide
.
PORT INDEX
Number of the port corresponding to the MAC address. Packets destined to
this MAC address are sent out this port.
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.
display mac-address aging-time
Syntax
display mac-address aging-time
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default 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.