Command Manual – MAC Address Table
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 MAC Address Table Configuration
Commands
Huawei Technologies Proprietary
1-3
vlan-id: VLAN ID. This argument ranges from 1 to 4094.
count: Displays only the total number of the MAC address entries.
Description
Use the display mac-address command to display information about MAC address
entries in a MAC address table, including: MAC address, VLAN and port corresponding
to the MAC address, the type (static or dynamic) of a MAC address entry, aging time
and so on.
Example
# Display the information about the MAC address 00e0-fc01-0101.
<Quidway> display mac-address 00e0-fc01-0101
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
00e0-fc01-0101 1 Learned Ethernet1/0/1 AGING
# Display the MAC address entries for the port Ethernet1/0/4.
<Quidway> display mac-address interface Ethernet 1/0/4
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
000d-88f6-44ba 1 Learned Ethernet1/0/4 AGING
000d-88f7-9f7d 1 Learned Ethernet1/0/4 AGING
000d-88f7-b094 1 Learned Ethernet1/0/4 AGING
000f-e200-00cc 1 Learned Ethernet1/0/4 AGING
000f-e200-2201 1 Learned Ethernet1/0/4 AGING
000f-e207-f2e0 1 Learned Ethernet1/0/4 AGING
000f-e209-ecf9 1 Learned Ethernet1/0/4 AGING
--- 7 mac address(es) found on port Ethernet1/0/4 ---
# Display the total number of MAC address entries found in VLAN 2.
<Quidway> display mac-address vlan 2 count
9 mac address(es) found in vlan 2
Table 1-2 Description on the fields of the display mac-address command
Field Description
MAC ADDR MAC address
VLAN ID
ID of the VLAN to which the network
device identified by the MAC address
belongs
STATE
The state of the MAC address. The
value of this field can be “Static”,
“Learned”, and so on.
PORT INDEX
Port index (including port type and port
number)