ZXR102900ESeriesCongurationGuide
Figure5-25QinQCongurationInstance
lCongurationProcedure
/*setqinq,theouterlabelis100*/
zte(cfg)#setvlan100enable
zte(cfg)#setvlan100addport1untag
zte(cfg)#setvlan100addport24tag
zte(cfg)#setport1pvid100
zte(cfg)#setvlanqinqcustomerport1enable
zte(cfg)#setvlanqinquplinkport24enable
zte(cfg)#setvlan999enable
zte(cfg)#configrouter
zte(cfg-router)#setipport1ipaddress192.168.0.1/24
zte(cfg-router)#setipport1vlan999
zte(cfg-router)#setipport1enable
zte(cfg-router)#exit
5.21SQinQConguration
SQinQOverview
TheSQinQisatypeofVLANtunneltechnology.Itprovidesmulti-pointtomulti-pointVLAN
transparenttransportationserviceandsimpleLayer2VPNtunnelbymeansofaddinga
VLANtagoutsideoriginal802.1QtagandgettingridofoutsideVLANtagwhenthepacket
istransportedtoedgeswitch.
TheSQinQprovidesthefunctionofprovidingSPVLANtagaccordingtotrafc,which
isdifferentfromthatordinaryQinQaddsSPVLANtagbasedonports.Thatis,inthe
sameCustomerport,accordingtodifferencebetweentrafccarriedCVLANtags,provide
correspondingSPVLANtagbasedonuserdemands.
5-82
SJ-20130731155059-002|2013-11-27(R1.0)ZTEProprietaryandCondential