Change Port VLAN

To change the vlan of a port on Cisco iOS.

en (to enter privileged mode)
conf t (to enter global configuration mode)
int gig X (where X is the port number you want to work on – ie 1/20. For fastethernet type int fast X)
switchport access vlan X (where X is the vlan number you want to change to)
exit (to exit out of interface config)
exit (to exit out of config t)
show int gig X status (where X is the port number, to confirm that the port has changed vlan) wr mem (to save running config to startup config)

Leave a comment