Chapter4ServiceConguration
4.5VLANConguration
4.5.1setvlanenable/disable
Purpose
ThiscommandenablesordisablesVLANs.
CommandMode
Globalcongurationmode
Syntax
setvlan<vlanlist>{enable|disable}
ParameterDescription
ParameterDescription
<vlanlist>VLANlist
enableEnablesVLANs.
disableDisablesVLANs.
Guidelines
VLAN1cannotbedisabled.
Default
VLAN1isenabled,andotherVLANsaredisabled.
Example
ThefollowingexampleenablesVLANs5,6,7and12:
zte(cfg)#setvlan5-7,12enable
4.5.2setvlanaddport
Purpose
ThiscommandaddsportstoVLANsandcongurestheattributeoftheportsintheVLANs.
CommandMode
Globalcongurationmode
4-79
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential