Display Mac-Address Aging-Time - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Description
Use the display mac-address command to display information about the MAC address table.
Note that:
If you execute this command without specifying any parameters, this command displays
information of all MAC address entries on the device, including unicast MAC address entries and
static multicast MAC address entries.
If you execute this command using only the vlan keyword or the count keyword, or only these two
keywords, the command output will include information of unicast MAC address entries as well as
that of static multicast MAC address entries.
Examples
# Display the MAC address table 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 1-1 display mac-address command output description
Field
MAC ADDR
VLAN ID
STATE
PORT INDEX
AGING TIME
1 mac address(es) found

display mac-address aging-time

Syntax
display mac-address aging-time
View
Any view
VLAN ID
STATE
1
Learned
---
MAC address
ID of the VLAN to which the MAC address belongs
State of a MAC address entry, includes:
Config static: static entry configured by the user manually
Config dynamic: dynamic entry configured by the user
manually
Learned: entry learned by the device
Blackhole: destination blackhole entry
Number of the port corresponding to the MAC address, that is,
packets destined to this MAC address will be sent out from this
port. (Displayed as N/A for a blackhole MAC address entry).
Aging time, which could be:
AGING, indicates that the entry is aging.
NOAGED, indicates that the entry does not age.
One MAC address entry is found
PORT INDEX
GigabitEthernet1/0/1
Description
1-2
AGING TIME(s)
AGING

Advertisement

Table of Contents
loading

Table of Contents