cancel
Showing results for 
Search instead for 
Did you mean: 

Add port to VLAN - very basic question

james_pethigal
New Contributor II

This a pretty basic questions, but I just want to confirm when I add a port to a VLAN that is already setup... I don’t have to add all the ports already configured?

 

Seems a stupid questions...  but have a bunch of production switches & no test platform.

 

Have VLAN 75

From Config:

vlan 75 by port

 tagged ethe 1/1/20 to 1/1/24 ethe 1/1/48 ethe 1/2/1 to 1/2/2

 spanning-tree 802-1w

 

Want to add ethernet 1/1/37

 

device(config)# vlan 75

device(config-vlan-75)#tagged ethernet 1/1/37

exit..

Or do I need to included all the ports already setup?

Cheers & thanks for the help!

James
6 REPLIES 6

alex_shalima
Contributor
@DeathAndGravity,

You tag ADDITIONAL ports every time.


Cheers,
Alex

BenBeck
Moderator
Moderator
That is correct. If you tag 1/1/37 to vlan 75, all of the original ports in vlan 75 will stay and you will simply add port 1/1/37 as well. You will see this reflected once you issue a 'show run' or 'show vlan' after you enter the command. 
Ben Beck, RCNA, Principal Technical Support Engineer
support.ruckuswireless.com/contact-us

ravi_vatsavai
New Contributor II
It is enough to add the additional port 1/1/37 like you did. 

"device(config-vlan-75)#tagged ethernet 1/1/37"

In order to confirm if the port is added to the VLAN, you can use "Show running-config vlan 75"

Hope that helps,

Ravi Vatsavai

andrew_giancol1
Contributor III

Hey,
Quick way to see the port membership is to run the following command;
`sh vlan brief ethernet`

SSH@Main-ICX-ST#sh vlan brief ethernet 1/1/7

Port 1/1/7 is a member of 2 VLANs
VLANs 1 3
Untagged VLAN  : 1
Tagged   VLANs : 3

SSH@Main-ICX-ST#

Hope that helps!