Syntax
set mac add static <HH.HH.HH.HH.HH.HH> trunk <1-15> vlan <1-4094>
Parameter Description
Parameter
<HH.HH.HH.HH.HH.HH>
<1-15>
<1-4094>
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
<HH.HH.HH.HH.HH.HH>
<1-28>
<1-4094>
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.
SJ-20131111172707-003|2013-11-27 (R1.0)
Description
MAC address. Multicast addresses, broadcast addresses, and
all-zero addresses cannot be added.
Trunk ID.
VLAN ID.
Description
MAC address. Multicast addresses, broadcast addresses, and
all-zero addresses cannot be added.
Port number. Different devices have different port number ranges.
In the syntax, the 5250-28TC device is used as an example.
VLAN ID.
4-95
Chapter 4 Service Configuration
ZTE Proprietary and Confidential