Assigning Port VLAN IDs (PVIDs) and Ingress Filtering set port vlan
7-10 802.1Q VLAN Configuration
Usage
PVIDdeterminestheVLANtowhichalluntaggedframesreceivedononeormoreportswillbe
classified.
Example
ThisexampleshowshowtodisplayPVIDsassignedtoFastEthernetports1through6inmodule
2.Inthiscase,untaggedframesreceivedontheseportswillbeclassifiedtoVLAN1:
Matrix(rw)->show port vlan fe.2.1-6
fe.2.1 is set to 1
fe.2.2 is set to 1
fe.2.3 is set to 1
fe.2.4 is set to 1
fe.2.5 is set to 1
fe.2.6 is set to 1
set port vlan
UsethiscommandtoconfigurethePVID(portVLANidentifier)foroneormoreports.
Syntax
set port vlan port‐stringpvid[modify-egress| no‐modify‐egress]
Parameters
Defaults
Ifnotspecified,theegresslistwillbemodified.
Mode
Switchcommand,Read‐Write.
Usage
Forinformationonhowtoconfigureprotocol‐basedpolicyclassificationtoaVLAN,including
howtoconfigureaVLANpolicytooverridePVID,refertoChapter 8.
ThePVIDisusedtoclassifyuntaggedframesastheyingressintoagivenport.Ifthespecified
VLANhasnotalreadybeencreated,this
commandwillcreateit.Itwillprompttheusertoaddthe
VLANtotheport’segresslistasuntagged,andremovethedefaultVLANfromtheport’segress
list.
port‐string Specifiestheport(s)forwhichtoconfigureaVLANidentifier.Fora
detaileddescriptionofpossibleport‐stringvalues,
referto“PortString
SyntaxUsedintheCLI”onpage 4‐2.
pvid SpecifiestheVLANIDoftheVLANtowhichport(s)willbeadded.
modify‐egress|no‐
modify‐egress
(Optional)Addsport(s)toVLANʹsuntaggedegresslistandremoves
themfromotheruntaggedegresslists,ordoesnot
promptforormake
egresslistchanges