Command Manual – System Management
Quidway S8500 Series Routing Switches
Chapter 2 MAC Address Table Management
Commands
Huawei Technologies Proprietary
2-2
mac-addr: Specifies the MAC address.
vlan-id: Specifies the VLAN ID.
static: Static table entry, that is no aging, If the configuration is saved, it can be restored
after the switch is reset.
dynamic: Dynamic table entry, which will be aged.
interface-type: Specifies the interface type.
interface-number: Specifies the interface number.
count: the display information will only contain the sum number of MAC addresses in
the MAC address table if user choice this parameter when using this command.
Description
Use the display mac-address command to view MAC address table information.
When managing the Layer-2 addresses of the switch, the administrator can perform
this command to view such information as the Layer-2 address table, address status
(static or dynamic), Ethernet port of the MAC address, VLAN of the address, and
system address aging time.
Related command: mac-address, mac-address timer.
Example
# Show the information of the entry with MAC address at 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/1/1 300
Table 2-1 Description on the fields of the display mac-address command on display
Field Description
MAC ADDR The destination MAC address
VLAN ID The VLAN of the MAC address
STATE The state of the item, which can be Learned, Config static
PORT INDEX The forwarding port
AGING TIME(s) The aging time
2.1.3 mac-address
Syntax
mac-address { static | dynamic } mac-addr interface interface-type interface-number
vlan vlan-id