Chapter 4 Service Configuration
Syntax
set mac add static
<
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 static MAC entry is added, the MAC address will not be aging or floating and will
disappear after the device is restarted.
4.7.6 set mac add permanent port vlan
Purpose
This command adds a MAC permanent entry based on port and VLAN.
Command Mode
Global configuration mode
Syntax
set mac add permanent
<
HH.HH.HH.HH.HH.HH
>
port
<
1-28
>
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-28
>
Port number. Different devices have different port number ranges.
In the syntax, the 5250-28TC 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-95
SJ-20131111172707-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential