Link to home
Start Free TrialLog in
Avatar of amigan_99
amigan_99Flag for United States of America

asked on

Remotely changing Cisco 2960 management IP

I have a number of branches with a Cisco Catalyst 2960 switch and a Cisco ISR for DMVPN. The ISRs are getting swapped out for Meraki MX's. The trick is that I want to change
the LAN IPs for the branches during the remote change as they were not originally scaled properly. 

So on the switch the current relevant config would be..

interface GigabitEthernet2/0/1
switchport trunk native vlan 10
switchport mode trunk
 
interface Vlan10
ip address 10.52.10.2 255.255.255.0

ip default-gateway 10.52.10.1

The vlan 10 gateway on the MX would change to say 10.1.100.1/24. I only have SSH
for connecting to the switch. One way to keep the switch manageable would be change the VLAN 10 IP to be IP adress DHCP and it could grab an address (perhaps static mapped) from the Meraki MX DHCP. But if I changed the address on SVI 10 to DHCP the default-gateway would still be 10.52.10.1 possibly interfering with the default gateway handed out by DHCP. If I negate the default-gateway first then I'd lose connectivity and not be able to change the ip addressing of SVI VLAN 10. Cold there be some method of being able to change those two lines at once - the ip address of VLAN 10 and the defaul-gateway? Or some other method of getting to my desired state in spite of connecting over ssh?


SOLUTION
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of amigan_99

ASKER

Hi Don - how do you get the new config into NVRAM without also writing into running config?
Is there a way to get config to startup config but not running?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial