11-25-2010 02:27 PM
Hi, All
I am currently having issue with clearing configuration under IOS XR. There is no command like write erase or delete start-up configuration.
I have read some documents for IOS XR, the CFS seems to be the place where the configuration store. So I tried to delete files under disk0:/configure/running and disk0:/configure/lr/running/absref1. But after reboot, the configuration still exists.
Could anybody help me by telling me the way to clear all the configuration under IOS XR? It is too painful to put no before all the sentences.
Thank you very much
Yuyang
Solved! Go to Solution.
12-09-2010 01:43 PM
Yuyang,
In the XR world if you wanted to do the equivalent "write erase" is to do a "commit replace" with a blank config.
For example, that would erase the config of the router.
RP/0/RP0/CPU0:crs-c#conf t
Thu Dec 9 16:41:11.349 EST
RP/0/RP0/CPU0:crs-c(config)#commit replace
Thanks,
Bryan
12-03-2010 12:49 AM
12-09-2010 01:43 PM
Yuyang,
In the XR world if you wanted to do the equivalent "write erase" is to do a "commit replace" with a blank config.
For example, that would erase the config of the router.
RP/0/RP0/CPU0:crs-c#conf t
Thu Dec 9 16:41:11.349 EST
RP/0/RP0/CPU0:crs-c(config)#commit replace
Thanks,
Bryan
11-02-2022 09:55 AM
Not a complete answer. "commit replace" only wipes out the current running configuration, you still have to wipe out the commit database so someone can't simply roll it back.
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