Chapter 4 Service Configuration
4.5 VLAN Configuration
4.5.1 set vlan enable/disable
Purpose
This command enables or disables VLANs.
Command Mode
Global configuration mode
Syntax
set vlan
<
vlanlist
>{
enable
|
disable
}
Parameter Description
Parameter
Description
<
vlanlist
>
VLAN list
enable
Enables VLANs.
disable
Disables VLANs.
Guidelines
VLAN 1 cannot be disabled.
Default
VLAN 1 is enabled, and other VLANs are disabled.
Example
The following example enables VLANs 5, 6, 7 and 12:
zte(cfg)#set vlan 5-7,12 enable
4.5.2 set vlan add port
Purpose
This command adds ports to VLANs and configures the attribute of the ports in the VLANs.
Command Mode
Global configuration mode
4-79
SJ-20131111172707-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential