cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18700
Views
1
Helpful
3
Replies

how to change default Vlan

adriatikb
Level 1
Level 1

Could be changed the default Vlan (not native vlan). does exist any command to change it? i want to switch number from vlan 1 to X vlan without manually move all ports.

thanks.

1 Accepted Solution

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

The default vlan will always be Vlan 1 and it can't be changed.

You can change a group of switchports from the default Vlan 1 to Vlan X by using the

interface range

command, for instance:

switch(config)#interface range fx/1-48
switch(config)#switchport access vlan x

 

HTH,

 

__

 

Edison.

View solution in original post

3 Replies 3

Adriatik,

I'm not sure that I understand your question.

Let's say VLAN 10.

What about these command?

!
(conf)#vlan 10
(conf)#interface range g0/1 - 24
(conf-ran-if)#swi acc vla 10
!

 

Toshi

Edison Ortiz
Hall of Fame
Hall of Fame

The default vlan will always be Vlan 1 and it can't be changed.

You can change a group of switchports from the default Vlan 1 to Vlan X by using the

interface range

command, for instance:

switch(config)#interface range fx/1-48
switch(config)#switchport access vlan x

 

HTH,

 

__

 

Edison.

thanks

Review Cisco Networking products for a $25 gift card