Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

how to change default Vlan

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
Hall of Fame Super Bronze

Re: how to change default Vlan

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.

3 REPLIES

Re: how to change default Vlan

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

Hall of Fame Super Bronze

Re: how to change default Vlan

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.

New Member

Re: how to change default Vlan

thanks

619
Views
0
Helpful
3
Replies