ZXR105250SeriesCongurationGuide
ontheswitch.InsidetheISPnetwork,thepacketisbroadcastalongtheportofVLAN
10untilitreachestheswitchB.
3.SwitchBndsoutthattheportconnectedtousernetwork2isacustomerport.Thus,it
removestheoutertagincompliancewiththeconventional802.1qprotocoltorecover
theoriginalpacketandsendsthepackettousernetwork2.
4.Inthisway,databetweenusernetwork1andusernetwork2canbetransmitted
transparently.TheVLANIDoftheusernetworkcanbeplannedregardlessofthe
conictwiththeVLANIDintheISPnetwork.
ConguringQinQ
TheQinQcongurationincludesthefollowingcommands:
CommandFunction
zte(cfg)#setvlanqinqcustomerport<portlist>{enable|disable}Addsordeletesacustomerport.
zte(cfg)#setvlanqinquplinkport<portlist>{enable|disable}Addsordeletesanuplinkport.
zte(cfg)#setvlanegress-tpidsession<1-7>tpid-value
<0xHHHH>
SetsanegressTPIDtemplate.
zte(cfg)#setport<portlist>egress-tpid{default|session<1-7>}Setsthebindingbetweentheport
andthetemplate.
showvlanegress-tpid(allcongurationmodes)Displaystheegress-tpidvalueof
eachtemplate.
zte(cfg)#setvlaningress-tpidsession<1-7>tpid-value
<0xHHHH>
Conguresaningress-tpid
template.
zte(cfg)#setport<portlist>ingress-tpidsession<sessionlist>Setsthebindingbetweentheport
andthetemplate.
showvlaningress-tpid(allcongurationmodes)Displaysingress-tpidvalues
conguredintemplates.
showvlanqinq(allcongurationmodes)Displayscustomer/uplinkportof
QinQ.
QinQCongurationInstance
lCongurationDescription
EncapsulateanexteriorlabelinSwitch1(theZXR105250–52PM)forthepacketfrom
Switch2.TheVLANnumberis100.TheportconnectingupstreamBRASinSwitch1
isport24.TheportconnectingthedownstreamSwitch2isport1.TheNMvlanof
Switch1is999andthemanagementIPaddressis192.168.0.1/24.SeeFigure5-25.
5-80
SJ-20131111172707-002|2013-11-27(R1.0)ZTEProprietaryandCondential