cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
567
Views
5
Helpful
3
Replies

Change outside IP of remote router?

the-lebowski
Level 4
Level 4

Remote site that is moving and I need to change the outside IP of the router before it moves.  New IP address space is not active in the current space. 

 

Can someone confirm this for me?

  1. TFTP'd off current config and made changes to outside IP and default route
  2. TFTP'd back to flash as flash:/NEW.txt
  3. Save current config  as flash:/OLD.txt

Now I don't want to  boot the new configuration until they shut it down and bring it back up in the new space.  To do that do I just do this?

 

r42911frprsr(config)#boot config flash NEW.txt
r42911frprsr(config)#wr mem

And at that point its safe to say once this router is powered off and brought up in the new space it would load the new configuration?

3 Replies 3

Hello,

 

this should work, although I am not sure about the syntax you are using (I think it should be 'boot config flash:NEW.txt, with the colon separating the file system and the file name).

 

Either way, to test this, do the following first: 

 

1. Create a loopback interface with an IP address (or something else that changes the running configuration without impacting your system

 

2. Save that running configuration to flash: copy running-config flash0:NEW.txt

 

3. Delete the Loopback or whatever change you made to the running configuration

 

4. Copy the NEW.txt file from flash to the running configuration: copy flash0:NEW.txt running-config

 

5. Check if the changes are in the running configuration

 

johnd2310
Level 8
Level 8

Hi,

 

Why not copy the new config to the startup-config? That way you don't have to worry about command syntax.

 

Thanks

John 

**Please rate posts you find helpful**

That’s what I did. Thanks all