Specifications
5-12 VLAN Commands
set vlan port
AssignsoneormorenetworkportstoaVLAN.Youalsocanaddavirtualporttoeachnetwork
portbyaddingatagvaluetothenetworkport.
Syntax
set vlan vlan‐id port port‐list [tag tag‐value]
Parameters
Defaults
Bydefault,noportsaremembersofanyVLANs.ARoamAboutswitchcannotforwardtrafficon
thenetworkuntilyouconfigureVLANsandaddnetworkportstotheVLANs.
Mode
Enabled.
Usage
Youcancombinethiscommandwiththeset portnamecommandtoassignthenameandaddthe
portsatthesametime.
Ifyoudonotspecifyatagvalue,theRoamAboutswitchsendsuntaggedframesfortheVLAN.If
youdospecifyatagvalue,theswitchsendstagged
framesonlyfortheVLAN.
Ifyoudospecifyatagvalue,Enterasys Networksrecommendsthatyouusethesamevalueasthe
VLANnumber.MSSdoesnotrequiretheVLANnumberandtagvaluetobethesamebutsome
othervendors’devicesdo.
Examples
ThefollowingcommandassignsthenamebeigetoVLAN11andaddsports1through3tothe
VLAN:
RBT-8100# set vlan 11 name beige port 1-3
success: change accepted.
Thefollowingcommandaddsport16toVLANbeigeandassignstagvalue86totheport:
RBT-8100# set vlan beige port 16 tag 86
success: change accepted.
Related Commands
• clearvlanonpage 5‐6
• setsecurityl2‐restrictonpage 5‐10
• showvlanconfigonpage 5‐24
vlan‐id VLANnameornumber.
port port‐list Listofphys icalports.
tag tag‐value Tagvaluethatidentifiesavirtualport.Youcanspecifyavaluefrom1
through4093.