Trifecta Networks uses cookies to personalize content and adverts, to provide social media features, analyze traffic, identify companies, and store browsing history. Please click Accept Cookies to continue to use the site.

Scroll To Top

Creating a VLAN Configuration on a Cisco Switch in 5 Easy Steps

Posted by Joe Leone

Creating a VLAN on a Cisco switch in 5 easy steps


VLANs are often an essential step in configuring a Cisco switch, implementing a LAN, or even basic network administration of an already existing network. While the setup may seem to be a daunting task while you are learning Cisco IOS commands, creating the VLAN itself is relatively simple.

Follow these simple steps to create a new VLAN on your Cisco switch:

1. Connect to your switch from either a serial connection through the console port or by using telnet/SSH to connect.

2. Enter Privileged mode by typing ‘enable’ and any associated password if prompted.

3. Enter configuration mode by typing ‘configuration terminal’ and pressing enter.

4. Enter the ‘vlan’ command coupled with a VLAN ID number. (IE - ‘vlan 10’ to create a VLAN with ID 10). More about VLAN ID numbers here:

5. To change the name of the newly created VLAN in VLAN configuration mode, type the command ‘name’ and a name you would like to give the VLAN. (IE - ‘name accounting’)

You may also want to assign the newly created VLAN to a port. Under the interface configuration mode: “switchport access vlan 10” to add our newly created VLAN to this port.

switch(config-if)# switchport access vlan 10

You will now want to exit out of configuration mode and save the switch configuration.

switch(config-if)# end

switch# write memory

You can verify your VLAN configuration by running the following two commands:

‘show running-configuration vlan’

‘show vlan’

Do you have an upcoming or current project and require assistance?
Please fill out the form below:

About the Author

Joe Leone is a Senior Sales Engineer for Trifecta Networks. He provides support for customers in determining the best solution for their infrustructure and needs. Joe has the following certifications:

CompTIA - Network+ & Security+, Cisco CCNA, CCNA Wireless, CCNA RS, CCDA, CWNA, CWDP, CWAP, Brocade BCNA/BCNP, Aruba ACMA/ACMP, AirMagnet ASCP, and Quali TestShell