000d-88f6-44ba
000d-88f7-9f7d
000d-88f7-b094
000f-e200-00cc
000f-e200-2201
000f-e207-f2e0
000f-e209-ecf9
---
7 mac address(es) found on port GigabitEthernet1/0/4 ---
# Display the total number of MAC address entries for VLAN 2.
<Sysname> display mac-address vlan 2 count
Unit 1
9 mac address(es) found in vlan 2
Table 1-1 Description on the fields of the display mac-address command
Field
MAC ADDR
VLAN ID
STATE
PORT INDEX
AGING TIME(s)
mac-address
Syntax
In system view:
mac-address { static | dynamic | blackhole } mac-address interface interface-type interface-number
vlan vlan-id
undo mac-address [ mac-address-attribute ]
In Ethernet port view:
mac-address { static | dynamic | blackhole } mac-address vlan vlan-id
undo mac-address { static | dynamic | blackhole } mac-address vlan vlan-id
View
System view, Ethernet port view
Parameters
static: Specifies a static MAC address entry.
1
Learned
1
Learned
1
Learned
1
Learned
1
Learned
1
Learned
1
Learned
MAC address
ID of the VLAN to which the network device identified by the MAC
address belongs
The state of the MAC address entry, which can be one of the following:
Config static: Indicates a manually configured static address entry.
Learned: Indicates a dynamically learnt address entry.
Config dynamic: Indicates a manually configured dynamic address
entry.
Blackhole: Indicates a blackhole entry.
Outgoing port out of which the traffic destined for the MAC address
should be sent.
Indicates whether the MAC address entry is aging. AGING indicates that
the entry is aging; NOAGED indicates that the entry will never age out.
GigabitEthernet1/0/4
GigabitEthernet1/0/4
GigabitEthernet1/0/4
GigabitEthernet1/0/4
GigabitEthernet1/0/4
GigabitEthernet1/0/4
GigabitEthernet1/0/4
Description
1-3
AGING
AGING
AGING
AGING
AGING
AGING
AGING