From: Dufour, Andre (Andre.Dufour@PAETEC.com)
Date: Wed Nov 05 2008 - 11:22:32 ARST
IOS archiving can also be used.....
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#archive
Router1(config-archive)#path slot0:/configs/$h (or whatever)
Router1(config-archive)#write-memory
Router1(config-archive)#time-period 1440
Router1(config-archive)#end
Router1#
You can also view the difference between versions, etc.
Router1#show archive config differences slot0:/configs/Router1-1
Contextual Config Diffs:
+ip routing
-no ip routing
And then restore the snapshot file...
Router1#archive config
Router1#configure replace slot0:/configs/Router1-1 (router1-1 is the file name)
Andre
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Pavel Bykov
Sent: Wednesday, November 05, 2008 7:08 AM
To: yungli2008@gmail.com
Cc: ccielab@groupstudy.com
Subject: Re: undo in IOS
IOS XR: commit operations (cancel before command put into effect)
IOS: "config replace" (replace running with startup for example)
TRICK: if you are doing remote command, you can do "reload in 20", which
will reboot your router in X minutes. Then if all works, you can do "reload
cancel"
On Wed, Nov 5, 2008 at 10:51 AM, <yungli2008@gmail.com> wrote:
> Is any UNDO method is there in IOS?
> I mean If I wrongly entered a command I want to undo it. is it possible?
> Thanks
> Li
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>
-- Pavel Bykov ------------------------------------------------- Stop the braindumps! http://www.stopbraindumps.com/Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Mon Dec 01 2008 - 08:18:29 ARST