cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
28576
Views
5
Helpful
5
Replies
ajay kondapalli
Beginner

HOW TO CHANGE MANAGEMENT VLAN

Hi,

Management VLAN is vlan1 by default. we assign switch IP address to interface vlan 1 generally.

what should we do if we want to change management vlan from vlan 1 to vlan 10 or someother.

for ex : I need to use ip address 192.168.1.1 for my switch to login remotely by telnet.

That subnet is from vlan 10.

can i configure like this :  

             interface vlan 1

              no ip address

            shut

                    interface vlan 10

                     ip address 192.168.1.1 255.255.255.0

                  no shut

Need info.

Thanks,

Ajay

5 REPLIES 5
cadet alain
Advisor

Hi,

If it is a L2 switch then

interface vlan 10

ip address 192.168.1.1 255.255.255.0

is enough and don't forget ip default-gateway if you manage from a distant subnet.

Your interface vlan will be up/up if

1)the vlan is configured on the switch

2) the vlan is active on one at least one port

3) it is in the stp forwarding state on this port

Regards.

Alain.

Don't forget to rate helpful posts.
dwillie
Beginner

Hi Ajay:

Are you wanting to change the "Native" VLAN or just use a differnet VLAN for your management data?  VLAN 1 is by default the native vlan...

Regards,

Darren

Ajay,

What you are suggesting yourself, should work.

rocko2006
Beginner

Hi,

This is an old post but nevertheless i think what you missed (an mostly already found ^^) is that you have to create the vlan and not only de SVI. For example:


vlan 10

name administration

So the vlan is added in L2 and can travel trough the trunk link. And the SVI will be the L3 domain that can give you management access throug the L2 trunk link.

There are other ways to add a management vlan using a IGP for example and L3 interfaces but i think you are looking for this road.

Cheers,

nathan demers
Beginner

OK I have got to point out a couple things.

1. Do you really need to use telnet?  (outside of the scope of your Q but its very insecure)

2. If you are telneting in via the management IP and you make that change in that order you are going to have a bad day.  By removing the management vlan that exists you effectively remove the ability to remote into the machine.  I suggest the reverse.  Create interface vlan 10 and IP it.  Test it then remove the Ip from vlan 1.  You also do not need the no shut on an SVI.  By default they are not shut.

CONFIG

interface vlan 10

ip add 192.168.1.1 255.255.255.0

vlan 10

name management

!-----TEST CONNECTIVITY

default interface vlan 1

int vlan 1

shut

end

wr

Content for Community-Ad
This widget could not be displayed.