Switch config question

danb83danb83 Member Posts: 22 ■□□□□□□□□□
I came across this situation at work during a site visit the other day and am hoping someone can point out how they would approach this.


On several switches I had to:
a) add a new management IP address
b) add a secondary management IP address (LAN address)
c) and also change the default gateway

However several of the switches were physically inaccessible without a cherry picker.

So for example, I console onto Switch1 (comms room), and from there telnet to Switch2 (roof space)

The current config on Switch2 is:

interface Vlan999
description management
ip address 10.142.1.41 255.255.255.0

ip default-gateway 10.142.1.1



And I want to change it to:

interface Vlan999
description management
ip address 172.29.120.242 255.255.255.240
ip address 10.142.1.41 255.255.255.0 secondary

ip default-gateway 172.29.120.241



When I made these config changes I immediately lost connectivity to Switch2, and could not telnet to it via 172.29.120.242, or 10.142.1.41

Is there a best practice/safe way of doing this so that connectivity to the remote switch is not lost?

thanks

Comments

  • networker050184networker050184 Mod Posts: 11,962 Mod
    Console connectivity is your best bet. If you don't have that then depending on the switch you can have two SVIs up and maintain connectivity. You might be able to do a macro config or EEM script to pop off the change even if you lose connectivity. That will keep you from disrupting user traffic. Either that or reboot it to come up on a new config but thats obviously going to cause some down time.
    An expert is a man who has made all the mistakes which can be made.
Sign In or Register to comment.