Chapter7ServiceConguration
BasicConfigurationofVLAN
TheVLANcongurationontheswitchincludesthefollowingcon-
tents:
CommandFunction
zte(cfg)#clearvlan<vlanlist>nameThisremovesaVLAN
name.
zte(cfg)#createvlan<14094>name
<name>
ThiscreatesaVLAN
descriptionname.
<string>:Thenameof
VLANcannotbeonlya
number,andshouldbe
lessthan64characters.
zte(cfg)#setport<portlist>pvid<14094>ThissetsPVIDonport.
zte(cfg)#settrunk<trunklist>pvid
<14094>
ThissetsPVIDoftrunk.
zte(cfg)#setvlan<vlanlist>{enable|disa
ble}
Thisenablesordisables
VLAN.Bydefault,VLAN
1isenabled,other
VLANsaredisabled.
zte(cfg)#setvlan<vlanlist>addport
<portlist>[tag|untag]
Thisaddsaspecied
porttoVLAN.
zte(cfg)#setvlan<vlanlist>deleteport
<portlist>
Thisdeletesaspecied
portfromVLAN.
zte(cfg)#setvlan<vlanlist>addtrunk
<trunklist>[tag|untag]
Thisaddsaspecied
trunktoVLAN.
zte(cfg)#setvlan<vlanlist>deletetrunk
<trunklist>
Thisdeletesaspecied
trunkfromVLAN.
zte(cfg)#setvlan<vlanlist>forbidport
<portlist>
Thisforbidslearning
portonVLAN.
Itismainlyusedwith
GVRP .
zte(cfg)#setvlan<vlanlist>permitport
<portlist>
Thispermitslearning
portonVLAN.
Itismainlyusedwith
GVRP .
zte(cfg)#setvlan<vlanlist>forbidtrunk
<trunklist>
Thisforbidslearning
trunkonVLAN.
Itismainlyusedwith
GVRP .
zte(cfg)#setvlan<vlanlist>permittrunk
<trunklist>
Thispermitslearning
trunkonVLAN.
Itismainlyusedwith
GVRP .
CondentialandProprietaryInformationofZTECORPORATION79