13-2
Description
Use the
display mac
-
address
command to display information about the MAC address table.
Related commands:
mac-address (system view)
,
mac-address (Ethernet interface view)
,
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
Table 13-1 display mac-address
command output description
Field
Description
MAC ADDR
MAC address
VLAN ID
ID of the VLAN to which the MAC address belongs
STATE
State of a MAC address, includes:
z
Config static: static entry configured by the user manually
z
Config dynamic: dynamic entry configured by the user manually
z
Learned: entry learned by the device
z
Blackhole: destination blackhole entry
z
Source-Blackhole: source blackhole entry
PORT INDEX
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(s)
Aging time, which could be:
z
AGING, indicates that the entry is aging.
z
NOAGED, indicates that the entry does not age.
display mac-address aging-time
Syntax
display mac-address aging-time
View
Any view
Default Level
1: Monitor level
Parameters
None
Description
Use the
display mac-address aging-time
command to display the aging time of dynamic entries in
the MAC address table.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...