![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg1.png)
ZXR108900Series
10GigabitRoutingSwitch
UserManual(EthernetSwitchingVolume)
Version2.8.02.C
ZTECORPORATION
NO.55,Hi-techRoadSouth,ShenZhen,P .R.China
Postcode:518057
Tel:(86)75526771900
Fax:(86)75526770801
URL:http://ensupport.zte.com.cn
E-mail:support@zte.com.cn
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg2.png)
LEGALINFORMATION
Copyright©2010ZTECORPORATION.
Thecontentsofthisdocumentareprotectedbycopyrightlawsandinternationaltreaties.Anyreproductionordistributionof
thisdocumentoranyportionofthisdocument,inanyformbyanymeans,withoutthepriorwrittenconsentofZTECORPORATIONisprohibited.Additionally ,thecontentsofthisdocumentareprotectedbycontractualcondentialityobligations.
Allcompany ,brandandproductnamesaretradeorservicemarks,orregisteredtradeorservicemarks,ofZTECORPORA TION
oroftheirrespectiveowners.
Thisdocumentisprovided“asis”,andallexpress,implied,orstatutorywarranties,representationsorconditionsaredisclaimed,includingwithoutlimitationanyimpliedwarrantyofmerchantability ,tnessforaparticularpurpose,titleornon-infringement.ZTECORPORATIONanditslicensorsshallnotbeliablefordamagesresultingfromtheuseoforrelianceonthe
informationcontainedherein.
ZTECORPORATIONoritslicensorsmayhavecurrentorpendingintellectualpropertyrightsorapplicationscoveringthesubject
matterofthisdocument.ExceptasexpresslyprovidedinanywrittenlicensebetweenZTECORPORA TIONanditslicensee,
theuserofthisdocumentshallnotacquireanylicensetothesubjectmatterherein.
ZTECORPORATIONreservestherighttoupgradeormaketechnicalchangetothisproductwithoutfurthernotice.
UsersmayvisitZTEtechnicalsupportwebsitehttp://ensupport.zte.com.cntoinquirerelatedinformation.
TheultimaterighttointerpretthisproductresidesinZTECORPORATION.
RevisionHistory
RevisionNo.RevisionDateRevisionReason
R1.320100205
Editionupdate
SerialNumber:sjzl20093838
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg3.png)
Contents
AboutThisManual.............................................I
SafetyInstruction.............................................1
SafetyInstruction...........................................................1
SafetySigns..................................................................1
VLANConguration...........................................3
VLANOverview..............................................................3
VLANType.................................................................4
VLANTag...................................................................4
VLANLinkT ype..........................................................5
DefaultVLAN.............................................................5
PVLAN.......................................................................5
QinQ.........................................................................6
SubnetVLAN.............................................................7
ProtocolVLAN............................................................7
VLANTranslation........................................................7
EnhancedVLANT ranslation..........................................8
SuperVLAN................................................................8
SVLAN......................................................................8
ConguringVLAN..........................................................11
CreatingVLAN...........................................................11
SettingVLANLinkT ypeonInterface.............................12
AddingVLANMemberPort..........................................13
SettingPortNativeVLAN............................................13
SettingPortVLANFiltering..........................................14
SettingPortFameTypeFiltering..................................14
CreatingVLANL3Interface.........................................15
Bindingdpi-template..................................................15
VLANCongurationExample.......................................15
ConguringPVLAN.........................................................16
ConguringQinQ...........................................................17
ConguringSubnetVLAN................................................18
CondentialandProprietaryInformationofZTECORPORATIONI
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg4.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
ConguringProtocolVLAN..............................................19
ConguringVLANT ranslation..........................................20
ConguringEnhancedVLANT ranslation............................21
ConguringSuperVLAN..................................................22
ConguringSVLAN........................................................25
VLANMaintenanceandDiagnosis.....................................29
STPConguration............................................31
STPOverview...............................................................31
SSTPMode...............................................................31
RSTPMode...............................................................32
MSTPMode...............................................................32
BPDUProtection........................................................34
ConguringSTP............................................................38
EnablingSTP.............................................................38
ConguringSTPMode................................................38
ConguringSTPParameters........................................39
CreatinganInstance..................................................40
ConguringMSTCongurationNameandVersion..........40
ConguringSwitchPriority..........................................41
ConguringSTPProtocolT ransparentTransmission
ID...................................................................41
ConguringBPDUProtection...........................................42
ConguringEdgePortBPDUProtection.........................42
ConguringPortLoopbackProtection...........................42
ConguringPortRootProtection..................................43
STPCongurationExample.............................................43
STPMaintenanceandDiagnosis.......................................45
MACTableOperation.......................................47
MACAddressT ableOverview...........................................47
CompositionandMeaningofMACAddressT able............47
MACAddressCategories.............................................48
MACAddressT ableCreationandDeletion.....................49
ConguringMACT able...................................................50
ConguringMACAddressAgingTime...........................50
BurningMACAddress.................................................50
BindingMACAddress.................................................51
ConguringPortMACAddressLearning........................51
LimitingNumberofMACAddresses..............................52
ConguringPortMACAddressLearningProtection.........52
ConguringMACAddressFiltration...............................53
IICondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg5.png)
Conguring256KMode..............................................54
ViewingMACAddressT able.........................................54
MACAddressT ableCongurationExample........................55
ESMConguration...........................................57
ESMOverview...............................................................57
ConguringESM............................................................57
InitializingESM.........................................................57
ConguringESMMode...............................................58
ESMCongurationExample............................................58
ESMMaintenanceandDiagnosis......................................58
LinkAggregationConguration.......................59
LinkAggregationOverview.............................................59
ConguringLinkAggregation..........................................60
LinkAggregationCongurationExample...........................61
LinkAggregationMaintenanceandDiagnosis.....................62
IGMPSnoopingConguration..........................65
IGMPSnoopingOverview................................................65
MulticastGroupJoin...................................................66
MulticastGroupLeave................................................66
FastLeave................................................................67
ConguringIGMPSnooping.............................................67
EnablingIGMPSnoopingFunction................................67
ConguringIGMPSnoopingssm-mapping.....................68
ConguringProxyQueryFacility..................................68
RestrictingMulticastGroup.........................................69
ConguringStaticIGMPSnooping................................69
ModifyingIGMPSnoopingTimeParameters...................70
ConguringMaster/SlaveRouterInterface....................70
IGMPSnoopingCongurationExample.............................71
IGMPSnoopingMaintenanceandDiagnosis.......................72
LinkProtectionConguration..........................75
ZESRConguration........................................................75
ZESROverview.........................................................75
ConguringZESR......................................................76
ZESRCongurationExample.......................................77
ZESSConguration........................................................79
ZESSOverview.........................................................79
ConguringZESS......................................................80
Dual-UplinkProtection....................................................80
CondentialandProprietaryInformationofZTECORPORATIONIII
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg6.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
Dual-UplinkProtectionOverview..................................80
Dual-UplinkProtectionCongurationExample...............81
EthernetOAMConguration............................85
Conguring802.3ah......................................................85
802.3ahOverview.....................................................85
RemoteDiscovery.............................................86
RemoteLoopback..............................................86
LinkMonitor.....................................................86
Conguring802.3ah..................................................87
802.3ahCongurationExample...................................90
MaintenanceandDiagnosisof802.3ah.........................91
ConguringCFM............................................................93
CFMOverview...........................................................93
ConguringCFM........................................................95
OAMLinkControlEventCongurationExample............102
CFMProxyCardFunctionIllustration..........................103
CFMCongurationExample.......................................104
CFMMaintenanceandDiagnosis................................107
EPONOLTConguration................................109
EPONOLTOverview.....................................................109
ConguringEPONOL T..................................................111
ConguringOLTInterface........................................111
ConguringEPONGlobalParameters..........................112
ConguringONULocalManagement...........................116
ConguringOLTOpticalLineProtection.......................117
ConguringQoS......................................................118
ConguringOLTAlarm.............................................119
ConguringONURemoteManagement.......................120
EPONOLTCongurationExample...................................125
EPONOLTMaintenanceandDiagnosis............................127
UDLDConguration.......................................133
UDLDOverview...........................................................133
ConguringUDLD........................................................135
UDLDCongurationExample.........................................136
ConguringOne-commandforCollection
Function........................................................137
One-commandforCollectionFunctionOverview...............137
IntroductiontoRunningEnvironmentofOne-command
CollectionFunction..............................................137
IVCondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg7.png)
BasicCongurationofOne-commandforCollection
Function.............................................................138
IntroductiontoOne-commandforCollecting
Information...................................................138
IntroductiontoOne-commandforCollectingFault
DiagnosisInformation......................................139
IntroductiontoOne-commandforConguring.............140
CommandofViewingOne-commandfor
Conguring.....................................................142
Figures..........................................................145
Glossary........................................................147
CondentialandProprietaryInformationofZTECORPORATIONV
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg8.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
Thispageisintentionallyblank.
VICondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg9.png)
AboutThisManual
WhatIsinThis
Purpose
ThismanualisZXR108900Series(V2.8.02.C)10GigabitRouting
SwitchUserManual(EthernetSwitchingVolume)andappliesto
ZXR108902/8905/8908/891210Gigabitroutingswitch.
Intended
Audience
Thismanualisintendedforthefollowingengineers:
�On-sitemaintenanceengineers
�Networkmonitoringengineers
�Systemmaintenanceengineers
Thismanualcontainsthefollowingcontents:
Manual
ChapterOverview
Chapter1Safety
Instruction
Chapter2VLAN
Conguration
Chapter3STP
Conguration
Chapter4MACT able
Operation
Describessafetyinstructionsandsignsused
inthismanual.
Thischapterdescribesbasicconcept,
congurationandcongurationexampleof
VLAN,PVLAN,QinQ,SubnetVLAN,Protocol
VLAN,VLANtranslation,SuperVLANand
SVLAN.
Thischapterdescribesbasicconcept,
congurationandcongurationexampleof
STPandBPDUprotection.
Thischapterdescribesbasicconceptand
relatedoperationsofMACaddresstable.
Chapter5ESM
Conguration
Chapter6Link
Aggregation
Conguration
Chapter7IGMP
SnoopingConguration
Chapter8
LinkProtection
Conguration
Chapter9Ethernet
OAMConguration
Chapter10EPONOLT
Conguration
Thischapterdescribesbasicconcept,
congurationandcongurationexampleof
ESM.
Thischapterdescribesbasicconcept,
congurationandcongurationexampleof
linkaggregation.
Thischapterdescribesbasicconcept,
congurationandcongurationexampleof
IGMPSnooping.
Thischapterdescribesbasicconcept,
congurationandcongurationexampleof
ZESRandZESS.
Thischapterdescribesbasicconcept,
congurationandcongurationexampleof
EthernetOAM.
Thischapterdescribesbasicconcept,
congurationandcongurationexampleof
EPONOL T .
CondentialandProprietaryInformationofZTECORPORATIONI
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bga.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
ChapterOverview
Chapter11UDLD
Conguration
Chapter12Conguring
One-commandfor
CollectionFunction
Documentation
Related
Thefollowingdocumentationisrelatedtothismanual:
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
Thischapterdescribesbasicconcept,
congurationandcongurationexampleof
UDLD.
ThischapterdescribesOne-commandfor
CollectionFunction.
HardwareInstallationManual
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
HardwareManual
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitchUser
Manual(BasicConguration)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitchUser
Manual(EthernetSwitching)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitchUser
Manual(IPv4Routing)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitchUser
Manual(IPv6)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitchUser
Manual(MPLS)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitchUser
Manual(DPI)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitchUser
Manual(Firewall)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(Index)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(BasicCongurationVolumeI)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(BasicCongurationVolumeII)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(BasicCongurationVolumeIII)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(EthernetSwitching)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(IPv4RoutingVolumeI)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(IPv4RoutingVolumeII)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(IPv6)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(MPLS)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(NetworkManagement)
IICondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bgb.png)
AboutThisManual
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(QoS)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(Security)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(VoiceandVideo)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(Multicast)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(DPI)
�ZXR108900Series(V2.8.02.C)10GigabitRoutingSwitch
CommandReference(Firewall)
CondentialandProprietaryInformationofZTECORPORATIONIII
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bgc.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
Thispageisintentionallyblank.
IVCondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bgd.png)
Chapter1
SafetyInstruction
TableofContents
SafetyInstruction...............................................................1
SafetySigns......................................................................1
SafetyInstruction
Onlydulytrainedandqualiedpersonnelcaninstall,operateand
maintainthedevices.
Duringthedeviceinstallation,operationandmaintenance,please
abidebythelocalsafetyspecicationsandrelatedoperationinstructions,otherwisephysicalinjurymayoccurordevicesmaybe
broken.Thesafetyprecautionsmentionedinthismanualareonly
supplementoflocalsafetyspecications.
Thedebugcommandsonthedeviceswillaffecttheperformance
ofthedevices,whichmaybringseriousconsequences.Sotake
caretousedebugcommands.Especially ,thedebugallcom-
mandwillopenalldebugprocesses,sothiscommandmustnot
beusedonthedeviceswithservices.Itisnotrecommendedto
usethedebugcommandswhentheusernetworksareinnormal
state.
ZTECorporationwillassumenoresponsibilityforconsequencesresultingfromviolationofgeneralspecicationsforsafetyoperations
orofsafetyrulesfordesign,productionanduseofthedevices.
SafetySigns
Thecontentsthatusersshouldpayattentiontowhentheyinstall,
operateandmaintaindevicesareexplainedinthefollowingformats:
Warning:
Indicatesthemattersneedingcloseattention.Ifthisisignored,
seriousinjuryaccidentsmayhappenordevicesmaybedamaged.
CondentialandProprietaryInformationofZTECORPORATION1
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bge.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
Caution:
Indicatesthemattersneedingattentionduringconguration.
Note:
Indicatesthedescription,hint,tip,andsoonforcongurationoperations.
2CondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bgf.png)
Chapter2
VLANConfiguration
TableofContents
VLANOverview..................................................................3
ConguringVLAN..............................................................11
ConguringPVLAN.............................................................16
ConguringQinQ...............................................................17
ConguringSubnetVLAN....................................................18
ConguringProtocolVLAN..................................................19
ConguringVLANT ranslation..............................................20
ConguringEnhancedVLANT ranslation................................21
ConguringSuperVLAN......................................................22
ConguringSVLAN............................................................25
VLANMaintenanceandDiagnosis.........................................29
VLANOverview
VirtualLocalAreaNetwork(VLAN)isatechnologythatdividesa
physicalnetworkintomultiplelogical(virtual)LAN.EveryVLAN
hasaVLANidentier(VID).
TakingadvantageofVLANtechnology,networkadministratorscan
dividetheusersinthesamephysicalLANintodifferentbroadcast
domains(onebroadcastdomainisoneVLAN).Thisensuresthat
theuserswiththesamedemandsbelongtosamebroadcastdomainanduserswithdifferentdemandsbelongtodifferentbroadcastdomain.
EveryVLANislikeanindependentlogicalLAN,havingthesame
attributeswithphysicalLAN.Allbroadcastandunicasttrafcinthe
sameVLANarerestrictedtotheVLANinsteadofbeingforwarded
tootherVLAN.CommunicationbetweendevicesbelongingtodifferentVLANisforwardedbytheLayer3routers.
VLANhasthefollowingfeatures:
�Reducingbroadcasttrafcinthenetwork
�Enhancingnetworksecurity
�Simplifyingnetworkmanagementandcontrol
CondentialandProprietaryInformationofZTECORPORATION3
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg10.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
VLANType
VLANtypeisdeterminedbythemethoddividingareceivedframe
toaspecicVLAN.ZXR108900seriesswitchsupportsport-based
VLAN,whichisthemostsimpleandeffectivemethod.Itassigns
portsofswitchingequipmenttodifferentVLANs;consequently,
thetrafcreceivedfromtheportbelongstotheVLANconnected
totheport.
Forexample,ifport1,port2andport3belongtothesameVLAN,
andotherportsbelongtootherVLANs,framereceivedbyport1
canbetransmittedoverport2andport3exclusively.Ifauserin
VLANmovestoanewplace,itdoesnotbelongtotheoldVLAN
unlessVLANisrecongured.
VLANTag
MultipleVLANservicescanbetransmittedinonelinkiftheVLAN
thattheframeresidesincanbepresentedinacertainmethod
whenframeistransmittinginthenetwork.IEEE802.1QimplementsthefunctionbyinsertingaVLANtagintoEthernetframe
structure.
VLANtagis4-bytelong,inEthernetframe,itslocationisbehind
sourceMACaddress,andbeforelength/typesegment.Formatof
VLANtagisshowninFigure1.
FIGURE1FORMATOFVLANTAG
VLANtagismostfrequentlyappliedinthecaseofcross-switch
creationofVLAN;heretheconnectionbetweenswitchesiscalled
Trunk.Cross-multiple-switchVLANcanbecreatedthroughoneor
moretrunksafterapplyingtag.Whentheportconnectedtothe
switchreceivesataggedframe,itcanjudgewhichVLANtheframe
belongstoaccordingtoVLANtag.
Each802.1QportisallocatedwithadefaultVLANID,whichis
calledPVID.Whentheportreceivesuntaggedframe,theframeis
consideredtobelongtoportdefaultVLAN,andforwardedinthe
VLAN.
ZXR108900seriesswitchsupportsIEEE802.1Qstandardtag.
4CondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg11.png)
Chapter2VLANConguration
VLANLinkType
PortsonZXR108900seriesswitchsupportthefollowingtypesof
VLANlinks.
�Accesslink
Accesslinkisusedtoconnectthedevices(forexample,workstation)thatcannotidentifyVLANtagtoVLANswitchport.It
onlytransmitsuntaggedVLANframeandisassociatedwith
onlyoneVLAN.
�Trunklink
TrunklinkconnectstwodevicesthatcanidentifyVLANtagand
transmitsmultipleVLANservices.Itonlytransmitstagged
VLANframeandcanbearmultipleVLANs.Mostpopulartrunk
linkistheonewhichconnectstwoVLANswitches.
�Hybridlink
Hybridlinkcantransmittaggedanduntaggedframes.However ,foraspecicVLAN,allframestransmittedbythehybrid
linkmustbeofsametype.
DefaultVLAN
ZXR108900seriesswitchinitiallyhasadefaultVLANwiththefollowingfeatures:
�VLANIDofdefaultVLANis1.
�NameofdefaultVLANisVLAN0001.
�DefaultVLANcontainsallports.
�AllportsofdefaultVLANisuntaggedbydefault.
PVLAN
Toisolatemessagesofusersforbetternetworksecurity ,traditional
solutionisusedtoassignaVLANtoeachuser .Limitationsofthis
methodaredescribedasfollows:
�MaximumnumberofVLANssupportedbyIEEE802.1Qstan-
dardis4094andthenumberofusersislimited;consequently ,
itgoesagainstnetworkexpansion.
�EachVLANcorrespondstooneIPsubnet,soalargequantity
ofsubnetsaredividedisawasteofIPaddresses.
�PlanningandmanagementofalargequantityofVLANsandIP
subnetscomplicatesnetworkmanagement.
NewtechnologyPrivateVLAN(PVLAN)solvesalltheproblems.
Function
PVLANclassiesportsinVLANintotwocategories:Isolateport
thatconnectswithusers,andPromiscuousportthatconnectsto
CondentialandProprietaryInformationofZTECORPORATION5
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg12.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
router .IsolateportcancommunicatewithPromiscuousportonly.
CommunicationbetweenIsolateportsisdisabled.So,portsinthe
sameVLANareisolated,userscanonlycommunicatewithdefault
gateway.Thisensuresthenetworksecurity .
QinQ
QinQisatunnelingprotocol,basedonIEEE802.1Qencapsulation,
whichisalsocalledVLANstack.QinQtechnologyistoaddaVLAN
tag(outertag)outsideoldVLANtag(innertag).Outertagcan
shieldtheinnertag.
QinQrequiresnosupportfromprotocol,bywhichL2VPNisrealized.ItisparticularlysuitableforthesmallLANwithlayer3switch
asthebackbone.
TypicalnetworkingorQinQtechnologyisshowninFigure2.Port
connectingusernetworkiscalledcustomerportandtheportconnectingSPnetworkiscalleduplinkport.EdgeaccessdeviceofSP
networkiscalledProviderEdge(PE).
FIGURE2TYPICALQINQNETWORK
UsernetworkisaccessedtoPEthroughT runkVLANmode.UplinkportsinServiceProvider(SP)networkaresymmetricallyconnectedthroughT runkVLANmode.
WhenmessagereachescustomerportofswitchAfromusernetwork1,nomatterthemessageistaggedoruntagged,switchA
insertsoutertag(VLANIDis10)forcibly.IntheSPnetwork,the
messagetransmitsalongVLAN10portsuntilitreachesswitchB.
SwitchBndsthattheportconnectingusernetwork2iscustomer
port,soitpeelsofftheoutertagaccordingtotraditional802.1Q.
Itresumestheoriginalmessageandtransmitsittousernetwork
2.
6CondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg13.png)
Chapter2VLANConguration
Asaresult,usernetwork1and2canperformtransparenttransmissionthroughSPnetwork.Usernetworkcandeneitsown
privatenetworkVLANIDthatdoesnothaveaconictwithSPnetworkVLANID.
SubnetVLAN
VLANbasedonsubnetisappliedtotheVLANnetworkofLayer2,
andimplementsexiblecongurationofdataframe.VLANbased
onsubnettransmitstheframetocorrespondingVLANaccordingto
thesourceIPaddressofthedataframe.VLANthatiscomposed
accordingtosourceIPaddressmakesitpossibleforusersindifferentnetworksectiontotransmitframesthroughmultiVLANs.
ButthememberidentityoftheVLANisnotchanged.
SubnetVLANspacesthedataframesofdifferentsourceIPaddressesout,sousersgetthedatabelongingtothesamenetwork
sects.PRItotransmitsubnetVLANofUNTAGframeishigherthan
protocolVLANandPVID.TAGframetransmitsdatainTAGmode,
soitsPRIishigherthansubnetVLAN.
ProtocolVLAN
VLANbasedonprotocolisexibleandapplicabletoLayer3.A
VLANthatisbasedonprotocolisplottedaccordingtotheencapsulationprotocolinnetworklayerofthedatapacket.Packetsof
samelabelareinthesameprotocolVLAN.VLANthatiscomposed
accordingtotheprotocolsinnetworklayermakesitpossiblefor
thebroadcastingregiontocovermultiswitches.Userscanmove
freelywithinthenetwork,andthememberidentityoftheVLANis
notchanged.
Whentheuser’sphysicalpositionischangedthenthereisnoneed
toconguretheVLANtowhichtheuserbelongs;insteaditplots
theVLANaccordingtotheprotocoltype.ItdoesnotrequireadditionallabeltoidentifytheVLAN.Inthisway ,thecommunication
quantityisreduced.
ProtocolVLANdefaults“enable”onphysicalinterfaces.Itplotsthe
VLANaccordingtothelabelinthedatapackets.Itspacespackets
ofdifferentlabelsout,sotheusergetsthedata’sinthesame
VLAN.
VLANTranslation
VLANtranslationisalsocalledVLANmapping.ItallowstheVLAN
IDsofdifferentEthernetswitchesusedtoaccesstoboundaryto
setassuperposition.ItmodiestheiterativeVLANIDsofdifferent
switchestodifferentVLANIDsthroughtheVLANtranslationfunction,andtransmitstheminuplinkinterfaces.Soitspacesusers
outincoreswitchesofLayer2.Itpredigeststhecongurationsof
switchesaccessingtoboundary.
CondentialandProprietaryInformationofZTECORPORATION7
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg14.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
EnhancedVLANTranslation
ThefunctionandapplicationofenhancedVLANtranslationaresimilartothoseofVLANtranslation.Thesevenfunctionsaddedonthe
basisofVLANtranslationareasfollows:
�Importsinglelayertag,addoutertagaccordingtopolicy .
�Importsinglelayertag,modifyinnertagandaddoutertag
accordingtopolicy.
�Importdouble-layertag,deleteoutertagaccordingtopolicy .
�Importdouble-layertag,deleteoutertagandmodifyinnertag
accordingtopolicy.
�Importdouble-layertag,modifyoutertagaccordingtopolicy .
�Importdouble-layertag,modifyinnertagaccordingtopolicy .
�Importdouble-layertag,modifyinnerandoutertagsaccording
topolicy .
Ofwhichpolicymeans:
ModifysinglelayertagaccordingtoaccessportandVLANtag.
Modifydouble-layertagaccordingtoaccessportandinnerand
outertagsatthesametime.
ZZXR108902/8905/8908/8912supports4096enhancedVLAN
translationswhenwholedevicelinecardsareHboards.
SuperVLAN
TraditionalISPnetworkassignsoneIPsubnettoeachuser .Three
IPaddressesareoccupiedwhenonesubnetisassigned,whichrespectivelyserveassubnetnumber ,broadcastaddressanddefault
gateway.AlargequantityofunassignedIPaddressesintheuser
subnetscannotbeassignedtootherusers.Thismethodwastes
numberofIPaddress.
SuperVLANsolvestheproblemeffectively .Itcanconvertmultiple
VLANs(calledsubvlan)intoaSuperVLAN.Allthesubvlansusethe
sameIPsubnetanddefaultgateway.
TakingadvantageofSuperVLANtechnology ,ISPneedstoassign
oneIPsubnetforSuperVLANandcreateonesub-VLANforeach
user .Allsub-VLANscanassignIPaddressesinSuperVLANsubnet
exiblyanduseSuperVLANdefaultgateway.Everysub-VLANisan
independentbroadcastdomain,ensuringisolationbetweendifferentusers.Communicationbetweensub-VLANsisroutedthrough
SuperVLAN.
SVLAN
SelectiveVLAN(SVLAN)isakindofVLANtunneltechniques.
SVLANtechnologyistoaddaVLANtag(outertag)outsideold
8CondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg15.png)
Chapter2VLANConguration
VLANtag(innertag).Outertagcanshieldtheinnertag.When
amessagearrivesatPEaftertransparenttransmissionthrough
serviceprovidernetwork,outertagisremoved.Thiscontributes
atransparenttransmissionserviceofpointtomulti-pointVPN
andprovidesasimpleL2VPNtunnelforcustomers.Thedouble
decksoftagsextendthenumberofVLANseffectively.Itis
upto4094*4094.OuterVLANiscalledServiceProviderVLAN
(SPVLAN),andinnerVLANiscalledcustomerVLAN(CVLAN).
QinQtechnologyonlyaddsoutertagstomessagesthatarriveata
port.Thislimitsthenetworkbuildingexibilitydramatically.While
SVLANtechnologyaddsdifferentoutertagstomessagesthatare
receivedatthesameportaccordingtocustomerdemands.
Someserviceowsrequiremessagesnottobedisturbedwhen
messagespassbyswitches.Thatis,tagnumberandvaluearenot
changed.SVLANtechnologysupportstransparenttransmission
VLANservices.
SVLANtechnologyalsosupports802.1Pcosprioritymappingbetweenoutertagandinnertag.
SVLANFunctions
SVLANhasthefollowingfunctions.
�SVLANaddsdifferentoutertagstodifferentinnertags.Thisis
describedwiththefollowingsteps.
i.SVLANmapsinnertagprioritytooutertag,asshownin
Figure3.
FIGURE3PRIORITYMAPPING
ii.FixedprioritiesofouterlayersareasshowninFigure4.
FIGURE4FIXINGPRIORITIESOFOUTERTAGS
CondentialandProprietaryInformationofZTECORPORATION9
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg16.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
iii.SVLANdoesnotcareouterlayerpriority ,asshowninFigure
5.
FIGURE5MARKINGANOUTERTAGONLY
�SVLANswitchesmessagesthatarewiththesameoutertag
butdifferentportstoasameegress,asshowninFigure6.
FIGURE6SWITCHINGTOTHESAMEEGRESS
�SVLANdoesnotaddoutertagtomessagesthatarewithdes-
ignatedinnertags.Thatis,SVLANtransmitssuchmessages
transparently,asshowninFigure7.
FIGURE7SVLANTRANSPARENTTRANSMISSION
10CondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg17.png)
�Figure8showsamorecomplexsituation.
FIGURE8AMORECOMPLEXSITUATION
Chapter2VLANConguration
ConfiguringVLAN
CreatingVLAN
1.CreatingspeciedVLANandenteringVLANconguration
mode.
Step
1
2
CommandFunction
ZXR10(config)#vlan<vlan-id>OnlyVLAN1isavailableon
ZXR10(config-vlan)#name<vlan-name>
Insomecommands,aliascanbeusedtoreplaceVLANnumber .VLANaliascanbegroupname,department,areaand
soon,usedtodistinguishVLANs.VLANaliasiscomposedof
VLAN+VLANIDbydefault,whereVLANIDcontains4digits
anduses0tolltheblankahead.Forexample,asforvlan
whoseidis4,thealiasidvlan0004bydefault.
2.CreatingVLANsinbatch.
switch.Withthiscommand,
otherVLANscanbecreated.
ThissetsaliasforVLAN.
CondentialandProprietaryInformationofZTECORPORATION11
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg18.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
Step
1
2
3
CommandFunction
ZXR10#vlandatabaseThisentersVLANdatabase.
ZXR10(vlan)#vlan<vlan-list>ThiscreatesVLANsin
ZXR10(config-vlan)#name<vlan-name>
databaseinbatch.
ThissetsaliasforVLAN.
Insomecommands,aliascanbeusedtoreplaceVLANnumber .VLANaliascanbegroupname,department,areaand
soon,usedtodistinguishVLANs.VLANaliasiscomposedof
VLAN+VLANIDbydefault,whereVLANIDcontains4digits
anduses0tolltheblankahead.Forexample,asforvlan
whoseidis4,thealiasidvlan0004bydefault.
SettingVLANLinkTypeonInterface
Step
1
CommandFunction
ZXR10(config)#interface<interface-name>ThisaccessesL2interfaceon
switch.
2
ZXR10(config-if)#switchportmode{access|trunk
|hybrid}
ThissetsVLANlinktypeof
theEthernetinterface.
TherearethreeVLANlinktypesonEthernetinterface:access
mode,trunkmodeandhybridmode.Accessmodeisthedefault
conguration.
�Theportconnectingwithaccesslinkcanonlybelongtoone
VLAN.Itshallbeuntaggedandisusedtoconnecthostinusual
cases.
�Theportconnectingwithtrunklinkcanbelongtomultiple
vlans.Itmustbetagged,canreceiveandsendpacketsof
multiplevlans,andisusedtoconnecttwoswitchesinusual
cases.
�Theportconnectingwithhybridlinkcanbelongtomultiple
vlans.Usercancustomizewhethertoattachtagtothepacket
ontheport.Itcanreceiveandsendpacketsofmultiplevlans
andcanbeusedtoconnecttwoswitchesortoconnectpc.
Thedifferencebetweenhybridportandtrunkportliesinthathybridportcansendbothtaggedanduntaggedframes,whilepacketssentfromtrunkportareuntaggedonlywhentheyaresent
fromdefaultvlan.
12CondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg19.png)
Chapter2VLANConguration
AddingVLANMemberPort
Accessportcanjoinonlyonevlan,whiletrunkportandhybrid
portcanjoinmultiplevlans.
�Joiningaccessporttodesignatedvlan.
Step
1
2
CommandFunction
ZXR10(config)#interface<interface-name>ThisaccessesL2interfaceon
ZXR10(config-if)#switchportaccessvlan
{<vlan-id>|<vlan-name>}
switch.
Thissetsthevlanwhereport
belongsto.
�Joiningtrunkporttodesignatedvlan.
Step
1
2
CommandFunction
ZXR10(config)#interface<interface-name>ThisaccessesL2interfaceon
switch.
ZXR10(config-if)#switchporttrunkvlan<vlan-list>Thissetsthevlanwhereport
belongsto.
�JoiningHybridporttodesignatedvlan.
Step
1
CommandFunction
ZXR10(config)#interface<interface-name>ThisaccessesL2interfaceon
switch.
2
ZXR10(config-if)#switchporthybridvlan
<vlan-list>[tag|untag]
�AddingVLANmemberportsinbatch.
CommandFunction
ZXR10(config-vlan)#switchport{pvid|tag|untag}<por
t-list>
SettingPortNativeVLAN
AccessportonlybelongstooneVLAN,soitsnativeVLANisthatit
locatesanditdoesn'tneedtosetnativeVLAN.
CondentialandProprietaryInformationofZTECORPORATION13
Thissetsthevlanwhere
portbelongstoandspecies
whethertotagpacketssent
fromthesevlans.
Thisaddsvlanmemberports
inbatchinvlanconguration
mode.
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg1a.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
Trunkportandhybridportbelongtomultiplevlansandtheyneed
tosetnativevlan.Ifnativevlanissetonport,whenoneframe
withnovlantagisreceivedonport,itwillbeforwardedtotheport
belongingtothisnativevlan.Nativevlanoftrunkportandhybrid
portisvlan1bydefault.
Step
1
2
CommandFunction
ZXR10(config)#interface<interface-name>ThisaccessesL2interfaceon
ZXR10(config-if)#switchport{trunk|hybrid}
nativevlan{<vlan-id>|<vlan-name>}
switch.
ThissetsnativeVLANoftrunk
portandhybridport.
SettingPortVLANFiltering
Step
1
2
CommandFunction
ZXR10(config)#interface<interface-name>ThisaccessesL2interfaceon
ZXR10(config-if)#ingressfiltering{enable|disab
le}
switch.
ThissetsportVLANltering.
VLANingresslteringis
enabledbydefault.
Afterenablingingressltering,ifthisingressdoesn'tbelongtothe
VLANthatframereceivedontheportbelongsto,theframewillbe
dropped.
SettingPortFameTypeFiltering
Step
1
2
CommandFunction
ZXR10(config)#interface<interface-name>ThisaccessesL2interfaceon
switch.
ZXR10(config-if)#acceptableframetypes{all|tag}Thissetsportfametypefor
ltering.
Thiscommandisusedtocongurethetypeofframethatcanbe
acceptedbyport.Usercanchoosetoacceptallframes(including
taggedframesandtaggedframes)oronlyaccepttaggedframes.
14CondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg1b.png)
CreatingVLANL3Interface
CommandFunction
Chapter2VLANConguration
1
2
3
ZXR10(config)#vlan<vlan-id>ThiscreatesVLAN.
ZXR10(config-vlan)#exit
ZXR10(config)#interfacevlan<vlan-id>
ThisexitsVLANconguration
mode.
ThiscreatesVLANL3
interface.
CommandshutdowncanbeusedtodisableVLANL3interface
andcommandnoshutdowncanbeusedtoenableVLANL3in-
terface.
WhenallEthernetinterfacesunderVLANinterfacearedown,vlan
interfaceisdownbydefault;whenoneormoreEthernetinterfaces
underoneVLANinterfaceareup,thevlaninterfaceisup.
Bindingdpi-template
Step
1
CommandFunction
ZXR10(config)#interfacevlan<vlan-id>
ThiscreatesVLANL3
interface.
2
ZXR10(config-if-vlan1)#binddpi-template
<template-id>
Thisbindsrelated
dpi-template.
VLANConfigurationExample
AsshowninFigure9,interfacesgei_3/1andgei_3/2ofswitch
Aandgei_7/1andgei_7/2ofswitchBbelongtovlan10;interfacesgei_3/4andgei_3/5ofswitchAandgei_7/4andgei_7/5of
switchBbelongtovlan20.Alloftheseinterfacesareaccessport.
Twoswitchesareinterconnectedintrunkmodethroughinterfaces
gei_3/24andgei_7/24.Thetwointerfacesaretrunkport.
FIGURE9TYPICALVLANNETWORKING
CondentialandProprietaryInformationofZTECORPORATION15
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg1c.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
CongurationofSwitchA:
ZXR10_A(config)#vlan10
ZXR10_A(config-vlan)#switchportpvidgei_3/1-2
ZXR10_A(config)#vlan20
ZXR10_A(config-vlan)#switchportpvidgei_3/4-5
ZXR10_A(config)#interfacegei_3/24
ZXR10_A(config-if)#switchportmodetrunk
ZXR10_A(config-if)#switchporttrunkvlan10
ZXR10_A(config-if)#switchporttrunkvlan20
CongurationofswitchB
ZXR10_B(config)#vlan10
ZXR10_B(config-vlan)#switchportpvidgei_7/1-2
ZXR10_B(config)#vlan20
ZXR10_B(config-vlan)#switchportpvidgei_7/4-5
ZXR10_B(config)#interfacegei_7/24
ZXR10_B(config-if)#switchportmodetrunk
ZXR10_B(config-if)#switchporttrunkvlan10
ZXR10_B(config-if)#switchporttrunkvlan20
ConfiguringPVLAN
TocongurePVLAN,performthefollowingsteps.
Step
1
2
CommandFunction
ZXR10(config)#vlanprivate-mapsession-id<id>[c
ommunity<port-list>][isolate<port-list>][promis
<port-list>][vlan<vlan-list>]
ZXR10(config)#showvlanprivate-mapThisviewsPVLAN
Thisconguresisolateand
promiscuousport
congurationinformation
Note:
ZXR108900seriesswitchsupports256PVLANgroups.Eachgroup
canselectanyporttoisolatefromeachother .Atmost4portscan
beselectedtobeuplinkport.
Example
TwoIsolategroupsareconguredinthefollowingconguration
example:
�Isolategroup1:gei_3/1,gei_3/2,fei_7/4andfei_7/5areiso-
lateports;gei_5/10isPromiscuousport.
�Isolategroup2:gei_3/7,gei_3/8,fei_7/10andfei_7/11are
isolateports;gei_5/12isPromiscuousport.
Detailedcongurationisshownbelow.
ZXR10(config)#vlanprivate-mapsession-id1
isolategei_3/1-2,fei_7/4-5promisgei_5/10
ZXR10(config)#vlanprivate-mapsession-id2
isolategei_3/7-8,fei_7/10-11promisgei_5/12
ZXR10(config)#showvlanprivate-map
Session_idIsolate_PortsPromis_Ports
16CondentialandProprietaryInformationofZTECORPORATION
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg1d.png)
-------------------------------------------------
1gei_3/1-2,fei_7/4-5,gei_5/10
2gei_3/7-8,gei_5/12
ZXR10#
ConfiguringQinQ
Chapter2VLANConguration
Step
1
2
3
FIGURE10TYPICALQINQNETWORKING
CommandFunction
ZXR10(config)#interface<interface-name>ThisaccessesL2interface.
ZXR10(config-if)#switchportqinq{normal|uplink
|customer|tpid<tpid>}
ZXR10(config-if)#showqinq
Example
ThiscongureQinQport
attribute,wherenormal
indicatesnoQinQ.Portis
innormalstatebydefault.
Uplinkindicatestheportis
connectedwithupstream
carrier .Customerindicates
theportisconnectedwith
downstreamuser .
ThisshowsQinQconguration
result.
AsshowninFigure10,assumethatcustomerportofswitchAis
gei_3/1anduplinkportisgei_3/24;customerportofswitchB
isgei_7/1anduplinkportisgei_7/24.WhenconguringQinQ,
customerportofSPVLANneedstobeconguredtountaggedand
uplinkportneedstobeconguredtotagged.
CongurationofSwitchA:
ZXR10_A(config)#vlan10
ZXR10_A(config)#interfacegei_3/1
ZXR10_A(config-if)#switchportqinqcustomer
CondentialandProprietaryInformationofZTECORPORATION17
![](/html/ab/ab53/ab5318bd6f516e7744165d4dd954088d35e5a24ed78969f78cde891f50a65600/bg1e.png)
ZXR108900SeriesUserManual(EthernetSwitchingVolume)
ZXR10_A(config-if)#switchportaccessvlan10
ZXR10_A(config)#interfacegei_3/24
ZXR10_A(config-if)#switchportqinquplink
ZXR10_A(config-if)#switchportmodetrunk
ZXR10_A(config-if)#switchporttrunkvlan10
CongurationofswitchB
ZXR10_B(config)#vlan10
ZXR10_B(config)#interfacegei_7/1
ZXR10_B(config-if)#switchportqinqcustomer
ZXR10_B(config-if)#switchportaccessvlan10
ZXR10_B(config)#interfacegei_7/24
ZXR10_B(config-if)#switchportqinquplink
ZXR10_B(config-if)#switchportmodetrunk
ZXR10_B(config-if)#switchporttrunkvlan10
ConfiguringSubnetVLAN
ToconguresubnetVLAN,performthefollowingsteps.
Step
1
2
CommandFunction
ZXR10(config)#vlansubnet-mapsession-no<session
-no><ipaddr><mask>vlan{<vlanid><name>}
ZXR10(config)#showvlansubnet-mapThisviewssubnetVLAN
ThisconguressubnetVLAN
function
congurationinformation
Note:
ZXR108900seriesswitchsupports128subnetVLANs,andcan
processdataframesof128typesofsourceIPnetworksects.
Example
Figure11
showscongurationofsubnetVLANdataontheswitch,
VLAN20andVLAN30.Interfacefei_1/1belongstoVLAN20;interfacefei_1/2belongstoVLAN30.Interfacefei_1/10belongsto
VLAN20andVLAN30.PVIDsoffei_1/1,fei_1/2andfei_1/10are
different.PCsofsourceIPaddress20.20.20.0/24networksect
areaccessibletoserver1,andPCsofIPaddress30.30.30.1are
accessibletoserver2.
18CondentialandProprietaryInformationofZTECORPORATION