Tuesday, October 7, 2008

Cisco - Add/Remove VLAN Port

You need to add or remove a port from a VLAN. In this case the switch is a 2950.

Telnet to the Switch.
"en" to enter enabled mode
"config t" to enter config mode
"interface fast 0/19" In this example I am configuring port 19
"switchport access vlan 2" In this example I am adding port 19 to VLAN 2

To remove a port from a vlan follow the above steps but on the last step enter:
"no switchport access vlan 2"


Anonymous said...

thank you so much

this is ur faverate blog said...

thanks u so much bro........ston

mothman said...

so thanks yazalameh

Chronic Blues Guitar said...

Just found this out, if the interface is a trunk, it cannot be removed. I had fa0/23 which was a trunk between two switches and tried 'no switchport access vlan 240' and nothing happened. When I added an int to vlan 240, verified, and removed it as above, it worked.

Arnab Biswas said...

life saver post :-)

Leslie Lim said...

This is really an interesting topic. Congratulations to the writer. I'm sure a lot of readers having fun reading your post. Hoping to read more post from you in the future. Thank you and God bless!