10-15-2007 01:12 AM
How do I erase the running config of a context ? wr erase only gets rid of the the start up. I can go through it with no commands but was hoping there is a better way.
Solved! Go to Solution.
10-15-2007 02:49 AM
If you could reload per context erasing the startup config would work. Unfortunately you can only reload the whole ace blade.
Fastest way to get rid of a config within a context is to delete the context in the admin context and then re-create it.
changeto Admin
conf t
no context
context
If you had checkpoints already created those are gone as well once you issue the "no context
To make it easier in the future i would suggest you create an empty checkpoint at the very beginning or at the point of your configuration where you want to start to experiment with the settings.
conf t
checkpoint create
or
checkpoint create
To get the settings back u issue.
conf t
checkpoint rollback
The checkpoints are per context btw.
Hope that helps.
Roble
10-15-2007 02:49 AM
If you could reload per context erasing the startup config would work. Unfortunately you can only reload the whole ace blade.
Fastest way to get rid of a config within a context is to delete the context in the admin context and then re-create it.
changeto Admin
conf t
no context
context
If you had checkpoints already created those are gone as well once you issue the "no context
To make it easier in the future i would suggest you create an empty checkpoint at the very beginning or at the point of your configuration where you want to start to experiment with the settings.
conf t
checkpoint create
or
checkpoint create
To get the settings back u issue.
conf t
checkpoint rollback
The checkpoints are per context btw.
Hope that helps.
Roble
10-16-2007 03:19 AM
Just in case anyone is stuck...
ace-1/Con1(config)# checkpoint?
% invalid command
ace-1/Con1# checkpoint create test
Generating configuration....
Created configuration checkpoint 'test'
ace-1/Con1#
Thanks Roble
10-16-2007 08:18 AM
Ooops...
I am so used to "configuration" mode that i actually didn't verify that it's a privilege mode command.
Happy to hear it helped.
Roble
09-17-2009 05:06 AM
Hi,
To revert the ACE back to factory default settings, is it then enough to erase the admin context config, or do I have to delete each context individually and then delete the Admin context config?
Thanks alot.
Dario
09-17-2009 06:23 AM
Hi Dario,
I believe a write erase in the admin context & reload should do it.
Could you let me know how it goes? I don't have a test platform.
Cheers,
Claire
09-18-2009 03:25 AM
Hi,
Yes, wr erase in the admin context does the trick!
thanks alot,
Dario
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