Command Manual – MAC Address Table 
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1  MAC Address Table Configuration
Commands
 
Huawei Technologies Proprietary 
1-5 
Value  Description 
{  static | dynamic | blackhole } 
mac-address [ interface  interface-type 
interface-number ] vlan vlan-id 
Removes a specified static, dynamic, or 
blackhole MAC address entry. 
interface  interface-type 
interface-number 
Removes all the MAC address entries 
concerning a specified port. 
vlan vlan-id 
Removes all the MAC address entries 
concerning a specified VLAN. 
mac-address [ interface  interface-type 
interface-number ] vlan vlan-id 
Removes a specified MAC address 
entry. 
 
Description 
Use the mac-address command to add/modify a MAC address entry. 
Use the undo mac-address command to remove one or more MAC address entries. 
When being executed in port view, these two commands only apply to the current port. 
In this case, the interface keyword is unnecessary. 
If the MAC address you input in the mac-address command already exists in the MAC 
address table, the system will modify the attributes of the corresponding MAC address 
entry according to your settings in the command. 
You can remove all MAC address entries (unicast MAC addresses only) concerning a 
specific port, or remove a specific type of MAC address entries, such as the addresses 
learnt by the system, dynamic or static MAC address entries configured, or blackhole 
addresses. 
Example 
# Configure a static MAC address entry with the following settings: 
z  MAC address: 00e0-fc01-0101 
z  Outbound port: Ethernet1/0/1 port 
z  Ethernet1/0/1 port belongs to VLAN 2. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
[Quidway] mac-address static 00e0-fc01-0101 interface Ethernet 1/0/1 vlan 2 
1.1.4  mac-address max-mac-count 
Syntax 
mac-address max-mac-count count 
undo mac-address max-mac-count