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
+VLANID.VLANIDincludesfourdigits(0sarepretendedwhen
therearelessthanfourdigits).NameofVLAN4isVLAN0004.
SettingVLANLinkTypeonEthernet
Interface
TosetVLANlinktypeonEthernetport,usethefollowingcommand.
CommandFunction
ZXR10(config-gei_1/x)#switchportmode{access|trunk
|hybrid}
ThissetsVLANlinktypeon
Ethernetport.
TherearethreeVLANlinktypesforEthernetinterfaceofZXR10
5900/5200:Accessmode,TrunkmodeandHybridmode.Access
modeisusedbydefault.
�PortsofaccessmodebelongtoonlyoneVLAN,supportun-
taggedframesandareusuallyconnectedtocomputers.
�PortsoftrunkmodecanbelongtoseveralVLANs(re-
ceives/sendspacketsfrom/toseveralVLANs),supporttagged
frames,andareusuallyusedastrunkportsbetweenswitches.
�PortsofhybridmodecanbelongtoseveralVLANs(re-
ceives/sendspacketsfrom/toseveralVLANs),supportboth
taggedanduntaggedframes(customized),andcanbeused
toconnectbothswitchesandcomputers.
Portsofhybridmodearedifferentfromtrunkports.Theysend
bothtaggedanduntaggedframes(trunkportssenduntagged
framesonlywhentheyarefromthedefaultVLAN).
AddingVLANMemberPort
Toaddanaccess,trunkorhybridporttoaspeciedVLAN,use
followingcommands.
AccessportonlycanbeaddedtooneVLAN,TrunkportandHybrid
portcanbeaddedintomultipleVLANs.
�ToaddanaccessportintoaspecicVLAN,usethefollowing
commands.
CommandFunction
ZXR10(config-gei_1/x)#switchportaccessvlan
{<vlan-id>|<vlan-name>}
Thiscommandaddsanaccess
porttoaspeciedVLAN.
�ToaddatrunkporttoaspecicVLAN,usethefollowingcom-
mand.
CondentialandProprietaryInformationofZTECORPORATION7