Chapter1VLANConguration
ConfiguringQinQ
St-
ep
CommandFunction
1
ZXR10(config-if)#switchport<port-list>qinq
{normal|uplink|customer|tpid<tpid>}
WhenconguringQinQ,it
needstosetcustomerportof
SPVLANtountaggedportand
uplinkporttotaggedport.
2
ZXR10(config)#showqinq
Thisviewsconguration
informationofQinQ.
Example
IngureQINQTYPICALNETWORKING,assumeswitchA’scus-
tomerportisgei_1/1,itsuplinkportisgei_1/24,switchB’scus-
tomerportisgei_1/1anditsuplinkportisgei_1/24.
CongurationofSwitchA:
ZXR10_A(config)#vlan10
ZXR10_A(config-vlan)#exit
ZXR10_A(config)#interfacegei_1/1
ZXR10_A(config-if)#switchportqinqcustomer
ZXR10_A(config-if)#switchportaccessvlan10
ZXR10_A(config-if)#exit
ZXR10_A(config)#interfacegei_1/24
ZXR10_A(config-if)#switchportqinquplink
ZXR10_A(config-if)#switchportmodetrunk
ZXR10_A(config-if)#switchporttrunkvlan10
ZXR10_A(config-if)#exit
CongurationofSwitchB:
ZXR10_B(config)#vlan10
ZXR10_B(config-vlan)#exit
ZXR10_B(config)#interfacegei_1/1
ZXR10_B(config-if)#switchportqinqcustomer
ZXR10_B(config-if)#switchportaccessvlan10
ZXR10_B(config-if)#exit
ZXR10_B(config)#interfacegei_1/24
ZXR10_B(config-if)#switchportqinquplink
ZXR10_B(config-if)#switchportmodetrunk
ZXR10_B(config-if)#switchporttrunkvlan10
ZXR10_B(config-if)#exit
ConfiguringSubnetVLAN
St-
ep
CommandFunction
1
ZXR10(config)#vlansubnet-mapsession-no<session
-no><ipaddr><mask>vlan{<vlanid><name>}
ThiscreatesasubnetVLAN.
CondentialandProprietaryInformationofZTECORPORATION11