
Chapter 4 Service Configuration
Parameter
Description
<
1-28
>
Port number. Different devices have different port number ranges.
In the syntax, the 2928E device is used as an example.
<
1-4094
>
VLAN ID.
Guidelines
If a permanent MAC entry is added, the MAC address will not be aging or floating and will
disappear after the device is restarted.
4.7.7 set mac add permanent trunk vlan
Purpose
This command adds a MAC permanent entry based on trunk and VLAN.
Command Mode
Global configuration mode
Syntax
set mac add permanent
<
HH.HH.HH.HH.HH.HH
>
trunk
<
1-15
>
vlan
<
1-4094
>
Parameter Description
Parameter
Description
<
HH.HH.HH.HH.HH.HH
>
MAC address. Multicast addresses, broadcast addresses, and
all-zero addresses cannot be added.
<
1-15
>
Trunk ID.
<
1-4094
>
VLAN ID.
Guidelines
If a permanent MAC entry is added, the MAC address will not be aging or floating and will
disappear after the device is restarted.
4.7.8 set mac delete
Purpose
This command deletes all MAC address entries.
Command Mode
Global configuration mode
4-95
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential