VLAN Configuration Summary
7-2 802.1Q VLAN Configuration
Port Assignment Scheme
Forinformationonthisdevice’sportassignmentscheme,referto“PortStringSyntaxUsedinthe
CLI”onpage 4‐2.
Port String Syntax Used in the CLI
ForinformationonhowtodesignateportnumbersintheCLIsyntax,referto“PortStringSyntax
UsedintheCLI”onpage 4‐2.
Preparing for VLAN Configuration
AlittleforethoughtandplanningisessentialtoagoodVLANimplementation.Beforeattempting
toconfigureasingledeviceforVLANoperation,considerthefollowing:
•HowmanyVLANswillberequired?
•Whatstationswillbelongtothem?
•Whatportsareconnectedtothose stations?
•WhatportswillbeconfiguredasGVRP‐awareports?
ItisalsohelpfultosketchoutadiagramofyourVLANstrategy.
About PVIDs and Policy Classification to a VLAN
PortVLANIDs(PVIDs)assignVLANIDstountaggedframesononeormoreports.Usingtheset
portvlancommandasdescribedin“setportvlan”onpage 7‐10,youcan,forexample,assign
ports1,5,8,and9toVLAN3.Untaggedframesreceivedonthoseports
willbeassignedtoVLAN
3.(Bydefault,allportsaremembersofVLANID1,thedefaultVLAN.)
PolicyclassificationtoaVLAN,asdescribedinChapter 8,“setpolicyrule”onpage 8‐13,takes
precedenceoverPVIDassignmentif:
•PolicyclassificationisconfiguredtoaVLANasdescribed
in“setpolicyrule”onpage 8‐13,
and
•PVIDoverridehasbeenenabledforapolicyprofile,andassignedtoport(s)associatedwith
thePVIDasdescribedin“setpolicyprofile”onpage 8‐3.
Formoreinformationaboutconfiguringuserpolicyprofiles,includingPVIDoverride,protocol‐
basedpolicyclassificationa
VLANorClassofService,andassigningportstopolicyprofiles,refer
toChapter 8.
Creating a Secure Management VLAN
IftheMatrixSeriesdeviceistobeconfiguredformultipleVLAN’s,itmaybedesirableto
configureamanagement‐onlyVLAN.ThisallowsastationconnectedtothemanagementVLAN
tomanagethedevice.Italsomakesmanagementsecurebypreventingconfigurationviaports
assignedtootherVLANs.
Tocreate
asecuremanagementVLAN,youmust:
1. CreateanewVLAN.(“setvlan”onpage 7‐6)
2. SetthePVIDforthehostportandthedesiredswitchporttotheVLANcreatedinStep1.(“set
portvlan”onpage 7‐10)