Chapter 4 Service Configuration
4.41 MAC BASED VLAN Configuration
4.41.1 mac based vlan rule
Purpose
This command sets a MAC-based-VLAN rule.
Command Mode
MAC based VLAN configuration mode
Syntax
rule
<
1-1024
>
mac-address
<
HH.HH.HH.HH.HH.HH
>
mac-mask
<
HH.HH.HH.HH.HH.H
H
>
vlan
<
1-4094
>
Parameter Description
Parameter
Description
<
1-1024
>
Rule ID
mac-address
<
HH.HH.HH.HH.
HH.HH
>
MAC address
mac-mask
<
HH.HH.HH.HH.HH
.HH
>
Mask
vlan
<
1-4094
>
VLAN ID
Guidelines
After the MAC-based-VLAN function is enabled, untag packets whose MAC addresses
match the configured MAC address are assigned with the corresponding VLAN tags.
4.41.2 clear mac based vlan rule
Purpose
This command clears a MAC-based-VLAN rule.
Command Mode
MAC based VLAN configuration mode
Syntax
clear rule
<
1-1024
>
4-563
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential