Examples
# Display the MAC address entry for MAC address 000f-e201-0101.
<Sysname> display mac-address 000f-e201-0101
MAC ADDR
000f-e201-0101
---
1 mac address(es) found
Table 11 Command output
Field
MAC ADDR
VLAN ID
STATE
PORT INDEX
AGING TIME(s)
1 mac address(es) found
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.
VLAN ID
STATE
1
Learned
---
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.
Outgoing interface for packets that are destined for the MAC address. This
field displays N/A for a blackhole MAC address entry.
Aging time:
•
AGING—The entry is aging.
•
NOAGED—The entry does not age.
Number of matching MAC address entries.
PORT INDEX
Ten-GigabitEthernet1/0/1
59
AGING TIME(s)
AGING