Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Community Member

Qestion about clear configuration under IOS XR

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

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Qestion about clear configuration under IOS XR

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

2 REPLIES

Re: Qestion about clear configuration under IOS XR

Cisco Employee

Re: Qestion about clear configuration under IOS XR

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

11625
Views
14
Helpful
2
Replies
CreatePlease to create content