Tuesday, October 7, 2008

Cisco - Add/Remove VLAN Port

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

Quick/Visual/Learning:
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"

7 comments:

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.

Unknown said...

life saver post :-)

Adarsh said...

use

#switchport access vlan remove

nikkisa889 said...

An interesting discussion is value comment. I feel that you need to write more on this topic, it might not be a taboo topic but generally individuals are not enough to talk on such topics. To the next. Cheers real money casino