User manual

Table Of Contents
Chapter1VLANConguration
+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,trunkorhybridporttoaspeciedVLAN,use
followingcommands.
AccessportonlycanbeaddedtooneVLAN,TrunkportandHybrid
portcanbeaddedintomultipleVLANs.
ToaddanaccessportintoaspecicVLAN,usethefollowing
commands.
CommandFunction
ZXR10(config-gei_1/x)#switchportaccessvlan
{<vlan-id>|<vlan-name>}
Thiscommandaddsanaccess
porttoaspeciedVLAN.
ToaddatrunkporttoaspecicVLAN,usethefollowingcom-
mand.
CondentialandProprietaryInformationofZTECORPORATION7