ComTech: IT Support Stirling

Configuring vlans on a Cisco switch

ComTech: IT Support Stirling

Today I will show you how to configure vlans on a Cisco switch.  For this tutorial you will need to establish either a console , telnet or ssh session to your switch and use the following commands.

Configuring a new vlan

Comtech1#configure terminal

Comtech1(config)#vlan 2

Comtech1(config-vlan)#name Working-vlan



Now we need to assign ports on the switch to the new vlan

Comtech1(config)#interface range fastethernet 0/13 – 22

Comtech1(config-if)#switchport access vlan 2



Don’t forget to save the configuration!!!

Comtech1#copy running-config startup-config

About the Author


Hi I’m Chris Wakefield the owner of ComTech IT Support. I provide Windows, Mac and Linux based IT Support to small businesses in Stirling, Alloa and Falkirk.

Follow @Comtech247 on Twitter


One thought on “Configuring vlans on a Cisco switch

Leave a comment

Your email address will not be published.


Get every new post delivered to your Inbox

Join other followers

WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera
WP Like Button Plugin by Free WordPress Templates