A SERVICE OF

logo

set port vlan
7-8 802.1Q VLAN Configuration
set port vlan
UsethiscommandtoconfigurethePVID(portVLANidentifier)foroneormoreports.
Syntax
set port vlan port-string pvid [modify-egress | no-modify-egress]
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
Usage
ThePVIDisusedtoclassifyuntaggedframesastheyingressintoagivenport.
Example
Thisexampleshowshowtoaddge.1.10totheportVLANlistofVLAN4(PVID4).
D2(su)->set vlan create 4
D2(su)->set port vlan ge.1.10 4 modify-egress
clear port vlan
Usethiscommandtoresetaport’s802.1QportVLANID(PVID)tothehostVLANID1.
Syntax
clear port vlan port-string
Parameters
portstring Specifiestheport(s)forwhichtoconfigureaVLANidentifier.Foradetailed
descriptionofpossibleportstringvalues,refertoPortStringSyntaxUsed
intheCLIonpage 41.
pvid SpecifiestheVLANIDoftheVLANtowhichport(s)willbeadded.
modifyegress (Optional)Addsport(s)
toVLANʹsuntaggedegresslistandremovesthem
fromotheruntaggedegresslists.
nomodifyegress (Optional)Doesnotpromptforormakeegresslistchanges.
Note: The following command will reset the specified port’s egress status to tagged. To set the
specified ports back to the default egress status of untagged, you must issue the set port vlan
command as described on page 7-8.
portstring Specifiestheport(s)toberesettothehostVLANID1.Foradetailed
descriptionofpossibleportstringvalues,refertoPortStringSyntaxUsed
intheCLIonpage 41.