User manual
Table Of Contents
- About This Manual
- 1 VLAN Configuration
- VLAN Overview
- Configuring VLAN
- Creating VLAN
- Creating a VLAN in VLAN Database
- Setting VLAN Name
- Setting VLAN Link Type on Ethernet Interface
- Adding VLAN Member Port
- Adding Ports to a VLAN in Batches
- Setting the Native VLAN for a Trunk or Hybrid Port
- Setting VLAN Filtering on a Port
- Setting Frame Filtering Type of a Port
- Creating VLAN Layer 3 Interface
- VLAN Configuration Example
- Configuring PVLAN
- Configuring QinQ
- Configuring Subnet VLAN
- Configuring Protocol VLAN
- Configuring VLAN Translation
- Configuring SuperVLAN
- VLAN Maintenance and Diagnosis
- 2 SVLAN Configuration
- 3 SVLAN COS Configuration
- 4 ZESR and SVLAN Linkage Networking Configuration
- 5 MAC Address Table Configuration
- Introduction to MAC Address
- Configuring MAC Address Table
- Setting MAC Address Aging Time
- Burning MAC Addresses
- Configuring MAC Address Permanent
- Binding MAC Address to a Port
- Enabling MAC Address Learning
- Limiting MAC Address Count
- Setting MAC Address Learning Protection
- Setting Port Unkown Source MAC Address Filtering
- Setting MAC Address Filtering
- Viewing MAC Address Table
- MAC Address Table Configuration Example
- 6 STP Configuration
- 7 Link Aggregation Configuration
- 8 IGMP Snooping Configuration
- 9 Sflow Configuration
- 10 ZESS Configuration
- 11 Ethernet OAM Configuration
- 12 UDLD Configuration
- 13 LLDP
- 14 L2PT Configuration
- Figures
- Tables
- Glossary

Chapter1VLANConguration
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
/*disablesubnetVLANinsomeportswhichdon’tneedsubnetVLAN*/
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>}
Thisconguresprotocol
VLAN.
2
ZXR10(config)#showvlanprotocol-map
Thisviewstheconguration
ofprotocolVLAN.
ExampleCustomerportgei_1/1ofaswitchreceives0X1000packetsand
0X1001packets.Thesepacketswithdifferenttagscanbeob-
servedontheothertwoports,gei_1/2andgei_1/3respectively.
Thedetailedcongurationisasfollows:
Congurationofswitch:
/*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
/*disableprotocolvlaninsomeportswhichdon’t
needprotocolvlan*/
ZXR10(config)#interfacegei_1/5
ZXR10(config-gei_1/5)#vlanprotocol-mapdisable
ZXR10(config-gei_1/5)#exit
CondentialandProprietaryInformationofZTECORPORATION13