cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

367
Views
0
Helpful
3
Replies
Highlighted
Beginner

how to create vlans

how do I create vlans on ios switches?

3 REPLIES 3
Highlighted
Cisco Employee

how to create vlans

Hi,

Please refer this document:

http://www.cisco.com/en/US/tech/tk389/tk689/technologies_configuration_example09186a008009478e.shtml

Hope that helps.

Sweta

P.S. Please rate the answers that helped you.

Highlighted
Advisor

how to create vlans

Hi,

there are 2 ways of creating vlans:

1) in vlan database mode ( deprecated)

switch# vlan database

               vlan 1 name toto

               apply

2) in config mode

     -switch(config)# vlan 1

                                   name toto

   you can also directly assign a vlan to a port and if it doesn't exists then it will create it for you( as long as the vtp mode is server or transparent): switch(config-interface)# switchport access vlan 1

Regards.

Alain.

Don't forget to rate helpful posts.
Highlighted

how to create vlans

Hi Tony,

You can configure VLANs on Cisco Catalyst switch by using vlan command on the global configuration mode.

Remember, VLAN 1 is the administrative VLAN.

Swtich#config terminal

Switch(confing)#vlan 2

Switch(config-vlan)#name freetechexams

Switch(config-vlan)#vlan 3

Switch(config-vlan)#freetechexams1

Switch(config-vlan)#vlan 4

Switch(config-vlan)#freetechexams2

Switch(config-vlan)#^Z

Switch#

From the above configurations, 3 VLANs are created with the name of freetechexams, freetechexams1 and freetechexams2. VLANs can be created from 2 to 4094. VLAN 1 is reserved and created by default.

You can check the list of created VLANs by using Show vlan command.

Switch# Show vlan

A VLAN is useless if you have not assigned specific ports to a VLAN. You can add specific ports to a VLAN by using following steps

Switch# config t

Switch(config)# int fa0/3

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 3

Please rate the helpfull posts.

Regards,

Naidu.

CreatePlease to create content
Content for Community-Ad