Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
7/13/2011 3:02:50 PM EDT
can you save the running config to a file, make changes to running config, then easily perform a rollback by "copy FILENAME run" or do you have to "copy FILENAME start" followed by reload?
7/13/2011 4:09:05 PM EDT
[#1]
running-config and startup-config are different files.
You can save the current running config as:
R1#copy run flash:fileneme1
then restore by:
R1#copy flash:filename1 run
same for startup.
R1#copy start flash:filename2
if you do a
R1#copy run start
this will sync the two file





Edit: you can save to tftp, ftp, scp, usb, ect...





Do the following to see the options for your IOS





R1# copy run ?



A reload may not be necessary, but it's hard to say without knowing the IOS version.





 
7/13/2011 5:55:09 PM EDT
[#2]
If you do a "copy flash:\filename run" it will actually try to merge the files. I did that once I heard that doing the merge can cause "issues".



I've been meaning to try IOS Configuration Replace & Rollback in my lab environment. When I am making changes in my production enviroments, currently I keep a copy of what I am removing and the commands to remove what I am adding in a Notepad++ window.
7/24/2011 11:37:29 AM EDT
[#3]

Yup, its easy, just replace the Cisco with a Juniper.  

You could store the "base" file on a TFTP server and copy back and forth from there.
7/24/2011 4:07:10 PM EDT
[#4]





Quoted:



can you save the running config to a file, make changes to running config, then easily perform a rollback by "copy FILENAME run" or do you have to "copy FILENAME start" followed by reload?



You may need to reload depending on the configuration.  Some commands won't be "unconfigured" by loading another config "hot."
Quoted:




Yup, its easy, just replace the Cisco with a Juniper.  






 Hey!  We'll have none of that!