Chapter7ServiceConguration
TheusernetworkisgenerallyconnectedtothePEthroughthe
TrunkVLANmode.TheinternalUplinkportsoftheISPnetwork
aresymmetricallyconnectedthroughtheTrunkVLANmode.
1.Whenapacketissentformusernetwork1tothecustomer
portofswitchA,becausethePORTBASEVLAN-basedcustomer
portdoesnotidentifythetagwhenreceivingthepacket,the
customerportprocessesthepacketasanuntaggedpacket
nomatterwhetherthisdatapacketisattachedwiththeVLAN
tagornot.ThepacketisforwardedbytheVLAN10,whichis
determinedbythePVID.
2.TheuplinkportofswitchAinsertstheoutertag(VLANID:10)
whenforwardingthedatapacketreceivedfromthecustomer
port.Thetpidofthistagcanbeconguredontheswitch.
InsidetheISPnetwork,thepacketisbroadcastalongtheport
ofVLAN10untilitreachestheswitchB.
3.SwitchBndsoutthattheportconnectedtousernetwork2is
acustomerport.Thus,itremovestheoutertagincompliance
withtheconventional802.1Qprotocoltorecovertheoriginal
packetandsendsthepackettousernetwork2.
4.Inthisway,databetweenusernetwork1andusernetwork
2canbetransmittedtransparently.TheVLANIDoftheuser
networkcanbeplannedregardlessoftheconictwiththeVLAN
IDintheISPnetwork.
BasicConfigurationofQinQ
TheQinQcongurationontheswitchincludesthefollowingcon-
tents:
CommandFunction
zte(cfg)#setqinqcustomerport
<portlist>{enable|disable}
Thisadds/deletesa
Customerport.
zte(cfg)#setqinquplinkport
<portlist>{enable|disable}
Thisadds/deletesan
Uplinkport.
zte(cfg)#setqinqtpid<tpid>
Thissetsthetpidofthe
outertag.
zte(cfg)#showqinqThisdisplaystheQinQ
conguration.
Note:
WhentheQinQiscongured,thecustomerportandtheuplink
portofSPVLANcanbesetasanuntaggedportorasatagged
port.
CondentialandProprietaryInformationofZTECORPORATION87