User manual

Table Of Contents
Chapter1VLANConguration
ZXR10(config-gei_1/1)#exit
ZXR10(config)#interfacegei_1/2
ZXR10(config-gei_1/2)#switchportmodehybrid
ZXR10(config-gei_1/2)#switchporthybridnativevlan30
ZXR10(config-gei_1/2)#switchporthybridvlan30untag
ZXR10(config-gei_1/2)#exit
ZXR10(config)#interfacegei_1/10
ZXR10(config-gei_1/10)#switchportmodehybrid
ZXR10(config-gei_1/10)#switchporthybridvlan20,30untag
ZXR10(config-gei_1/10)#exit
/*CreatesubnetVLANdata*/
ZXR10(config)#vlansubnet-mapsession-no
120.20.20.0255.255.255.0vlan20
ZXR10(config)#vlansubnet-mapsession-no
230.30.30.1255.255.255.255
vlan30
/*disablesubnetVLANinsomeportswhichdontneedsubnetVLAN*/
ZXR10(config)#interfacegei_1/5
ZXR10(config-gei_1/5)#vlansubnet-mapdisable
ZXR10(config-gei_1/5)#exit
ConfiguringProtocolVLAN
Step
CommandFunction
1
ZXR10(config)#vlanprotocol-mapsession-no
<session-no>{ethernet2|llc|snap}<0xHHHH>vlan
{<vlanId>|<name>}
Thisconguresprotocol
VLAN.
2
ZXR10(config)#showvlanprotocol-map
Thisviewstheconguration
ofprotocolVLAN.
ExampleCustomerportgei_1/1ofaswitchreceives0X1000packetsand
0X1001packets.Thesepacketswithdifferenttagscanbeob-
servedontheothertwoports,gei_1/2andgei_1/3respectively.
Thedetailedcongurationisasfollows:
Congurationofswitch:
/*createprotocolvlandata*/
ZXR10(config)#vlanprotocol-mapsession-no1ethernet2
0x1000vlan10
ZXR10(config)#vlanprotocol-mapsession-no2ethernet2
0x1001vlan20
/*putportintocorrespondingVLAN*/
ZXR10(config)#interfacegei_1/1
ZXR10(config-if)#switchportmodetrunk
ZXR10(config-if)#switchporttrunkvlan10,20
ZXR10(config-if)#exit
ZXR10(config)#interfacegei_1/2
ZXR10(config-if)#switchportmodetrunk
ZXR10(config-if)#switchporttrunkvlan10
ZXR10(config-if)#exit
ZXR10(config)#intgei_1/3
ZXR10(config-if)#switchportmodetrunk
ZXR10(config-if)#switchporttrunkvlan20
ZXR10(config-if)#exit
/*disableprotocolvlaninsomeportswhichdont
needprotocolvlan*/
ZXR10(config)#interfacegei_1/5
ZXR10(config-gei_1/5)#vlanprotocol-mapdisable
ZXR10(config-gei_1/5)#exit
CondentialandProprietaryInformationofZTECORPORATION13