02-26-2019 05:43 AM
Hello All,
i am changing the Switch management IP on Multiple switches to a different subnet. the SVI interface for the switch management is configured on Cisco ASA firewall context and rules are allowed in the firewall to enable communication from all switches (source IP) to jump server (destination IP) for ssh port (tcp/22) from where i will remotely connect to all switches.. once the new mgmt interface is configured in all switches and new vlan is allowed on trunk ports, i have to configure the new default gateway IP address on all switches. but the challenge here is i am doing this change from a remote location from the jump server. once the gateway is configured i will remove old mgmt IP and old default gateway IP. all these switches are only L2.
can anyone suggest how to change the default gateway without losing remote access to the switches from the jump server? i have no onsite/console support to do this activity.
02-26-2019 05:54 AM
02-26-2019 05:58 AM
Hi there,
Do you have access to the ASA? If so you can SSH to the switches from there. This way the default gateway configuration being incorrect for a time will not matter as you are connecting from the local subnet.
cheers,
Seb.
02-26-2019 06:00 AM
i do have access to the Firewall. but ssh is not allowed from the firewall to the switches.
02-26-2019 06:23 AM
How long are the switches permitted to be offline on the management for?
You could create an EEM script containing the all of the required commands in sequence and schedule it with a countdown timer.
Once you have started the timer on all the switches, make the change on the ASA and then wait for the timer to elapse and *hopefully* all your switches will come back online.
cheers,
Seb.
02-26-2019 06:28 AM
04-10-2019 04:33 AM
here is how i completed this change.
1. configured a new switch in the new mgmt vlan and new mgmt ip
2. allowed the new vlan and configured the SVI on all other switches where i had to change the mgmt ip to new mgmt ip.
3. to change the gateway on all other switches i logged into new switch that i configured in the new mgmt vlan. took ssh to other switches through as we already have a layer vlan configured on all the switches.
4 i changed the gateway of each switch and i did not lose the connectivity to them while i had still access to those switches from the ssh session on new switch
04-10-2019 06:34 AM - edited 04-10-2019 06:41 AM
Hello
What switch models do you have?
Would you have access to the core switch?
Would you know local access credentials of the switches?
Depending on the above one neat way you maybe able change the switches addressing is via a L2 connection from the core or any switch directly connected interconnects (l2 trunks), no need to have ip connectivity or any reloads and you would be able to change the addressing at your will..
Example:
Core switch
config t
cluster enable L2
do sh cluster candidates
cluster member 10 mac-address <base mac-addrees of switch> password xxxx
end
rcommand 10
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide