Reset Search
 

 

Article

Which Command is Used to add/remove ports on a VLAN in EXOS?

« Go Back

Information

 
TitleWhich Command is Used to add/remove ports on a VLAN in EXOS?
Question
Which command is used to add ports to a vlan?
Environment
  • Summit
  • EXOS
Answer
  • To add a port to a VLAN use the command "configure vlan <vlan name> add ports <port_list> {tagged | untagged}".
  • To remove a port from the VLAN use the command "configure vlan <vlan name> delete ports <port_list>".
To create a trunk port (a port with multiple vlans) you need to add the vlans tagged to the port.
Additional notes
A port may only be added to one VLAN untagged.  This is because you can't have two vlans passing traffic over a single link without a VLAN tag on one to differentiate them on the other end.  An error will be thrown when attempting to add a port as untagged to a second VLAN.  You can fix this by removing the port from the original VLAN or add the port as tagged.
 
X450G2-48t-G4.2 # configure vlan test add port 1 untagged
Error: Protocol conflict when adding untagged port 1. Port 1 is already
untagged in vlan "Default".
Either add this port as tagged or assign another protocol to this VLAN.


 

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255