Specifications
set port vlan
SecureStack C3 Configuration Guide 7-9
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-string pvid [modify-egress | no-modify-egress]
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
ThePVIDisusedtoclassifyuntaggedframesastheyingressintoagivenport.Ifthespecified
VLANhasnotalreadybeencreated,thiscommandwillcreateit.Itwillprompttheusertoaddthe
VLANtotheport’segresslistasuntagged,andtoremovethedefaultVLAN
fromtheport’segress
list.
Example
ThisexampleshowshowtoaddFastEthernetport10inunit1totheportVLANlistofVLAN4
(PVID4).SinceVLAN4isanewVLAN,itiscreated.Thenportfe.1.10isaddedtoVLAN4’s
untaggedegresslist.Theportmustthenbeclearedfrom
theegresslistofVLAN1(thedefault
VLAN)asshown:
C3(su)->set port vlan fe.1.10 4
C3(su)->set vlan 4 create
C3(su)->set vlan egress 4 fe.1.10 untagged
C3(su)->clear vlan egress 1 fe.1.10
port‐string Specifiestheport(s)forwhichtoconfigureaVLANidentifier.Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntaxUsed
intheCLI”onpage 4‐1.
pvid SpecifiestheVLANIDoftheVLANtowhichport(s)willbeadded.
modify‐egress (Optional)Addsport(s)
toVLANʹsuntaggedegresslistandremovesthem
fromotheruntaggedegresslists.
no‐modify‐egress (Optional)Doesnotpromptforormakeegresslistchanges.