2478
C
165: MAC A
HAPTER
display mac-address aging-time
Syntax
View
Parameter
Description
Related commands:
Example
display mac-address mac-learning
Syntax
View
Parameter
T
M
C
DDRESS
ABLE
ANAGEMENT
<Sysname> display mac-address 00e0-fc01-0101
MAC ADDR
VLAN ID
00e0-fc01-0101 1
Table 637 Description on the fields of the display mac-address command
Field
MAC ADDR
VLAN ID
STATE
PORT INDEX
AGING TIME(s)
display mac-address aging-time
Any view
None
Use the
display mac-address aging-time
of dynamic entries in the MAC address table.
mac-address (system view), mac-address (Ethernet interface view),
mac-address timer, display mac-address.
# Display the aging time of dynamic entries in the MAC address table.
<Sysname> display mac-address aging-time
Mac address aging time: 300s
The above information indicates that the aging time of dynamic entries in the
MAC address table is 300 seconds.
display mac-address mac-learning [ interface-type interface-number ]
Any view
interface-type interface-number: Specifies an interface by its type and number.
The MAC address learning status of the specified interface will be displayed.
C
ONFIGURATION
OMMANDS
STATE
PORT INDEX
Learned
GigabitEthernet1/0
Description
MAC address
ID of the VLAN to which the MAC address belongs
State of a MAC address, which could be Config static, Config dynamic,
Learned and Blackhole.
Port name (Displayed as N/A for a blackhole MAC address)
Aging time, which could be:
AGING, indicates that the entry is aging.
NOAGED, indicates that the entry does not age.
AGING TIME(s)
AGING
command to display the aging time