ZXR102900ESeriesConīægurationGuide
4.5VLANConīguration
VLANOverview
TheVirtualLocalAreaNetwork(VLAN)protocolisabasicprotocoloflayer-2switching
equipment,whichenablestheadministratortodivideaphysicalLANintomultipleVLANs.
EachVLANhasaVLANIDtoidentifyituniquelyintheentireLAN.MultipleVLANsshare
theswitchingequipmentandlinksofthephysicalLAN.
Logically,aVLANislikeanindependentLAN.AllframeīowsinthesameVALNare
restrictedinthisVLAN.Cross-VLANvisitcanonlybeimplementedthroughforwarding
onlayer-3.Inthisway,thenetworkperformanceisimproved,andtheoverallīowinthe
physicalLANiseffectivelylowered.
TheVLANhasthefollowingfunctions:
1.Reducethebroadcaststormsofnetwork.
2.Enhancethenetworksecurity.
3.Providecentralizedmanagementandcontrol.
TheZXR102900Ealsosupportsthetagged-basedVLAN.ThisisamodedeīænedinIEEE
802.1Qandalsoisauniversalworkingmode.Inthismode,thedivisionofVLANisbased
ontheVLANinformationabouttheport(PVID:portVLANID)ortheinformationinthe
VLANtag.Also,theZXR102900EsupportsthedivisionofVLANaccordingtopacket
protocoltype,thatis,protocolVLAN.
ConīguringaVLAN
TheVLANconīægurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setvlan<vlanlist>{enable|disable}.EnablesordisablesaVLAN.
zte(cfg)#setvlan<vlanlist>addport<portlist>[untag|tag]
AddsaportintoVLANandconīægures
thelocationinVLAN.
zte(cfg)#setvlan<vlanlist>deleteport<portlist>DeletestheportfromVLAN.
zte(cfg)#setvlan<vlanlist>addtrunk<trunklist>[tag|untag]
AddsatrunkintoVLANandconīægures
thetrunklocationinVLAN.
zte(cfg)#setvlan<vlanlist>deletetrunk<trunklist>DeletesatrunkfromVLAN.
zte(cfg)#setport<portlist>vlan-attribute<vlanlist>{tag|untag}AddsportsintoVLANonebyone.
zte(cfg)#setport<portlist>protocol-vlan{enable|disable}
EnablesordisablestheVLANfunction
oftheprotocol.
zte(cfg)#setvlanprotocol-mappingsession-no<1-8>{ethernet2|llc|
snap}<0xHHHH>vlan<1-4094>
SetstheVLANtemplateoftheprotocol.
4-12
SJ-20120409144109-002|2012-07-02(R1.0)ZTEProprietaryandConīædential