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 portstringpvid[modify-egress| nomodifyegress]
Parameters
Defaults
Ifnotspecified,theegresslistwillbemodified.
Mode
Switchcommand,ReadWrite.
Usage
ForinformationonhowtoconfigureprotocolbasedpolicyclassificationtoaVLAN,including
howtoconfigureaVLANpolicytooverridePVID,refertoChapter 8.
ThePVIDisusedtoclassifyuntaggedframesastheyingressintoagivenport.Ifthespecified
VLANhasnotalreadybeencreated,thiscommandwillcreateit.Itwillprompttheusertoaddthe
VLANtotheport’segresslistasuntagged,andremovethedefaultVLANfromtheport’segress
list.
portstring Specifiestheport(s)forwhichtoconfigureaVLANidentifier.Fora
detaileddescriptionofpossibleportstringvalues,refertoPortString
SyntaxUsedintheCLIonpage 42.
pvid SpecifiestheVLANIDoftheVLANtowhichport(s)willbeadded.
modifyegress|no
modifyegress
(Optional)Addsport(s)toVLANʹsuntaggedegresslistandremoves
themfromotheruntaggedegresslists,ordoesnotpromptforormake
egresslistchanges