cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5181
Views
0
Helpful
7
Replies

Question about clearing configuration under IOS XR

Yuyang Jin
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

Mahesh Gohil
Level 7
Level 7

Hello,

Have you tried "clear-classic-config " and don't forget to commit

Hope this helps

Regards

Mahesh

View solution in original post

Laurent Aubert
Cisco Employee
Cisco Employee

Hi,

The equivalent of wr erase is commit replace with an empty running configuration.

HTH

Laurent.

View solution in original post

7 Replies 7

Mahesh Gohil
Level 7
Level 7

Hello,

Have you tried "clear-classic-config " and don't forget to commit

Hope this helps

Regards

Mahesh

Hi, Mahesh

I have tried clear-classic but really forgot committing it last time. I will try it next time.

Thank you very much for the answer.

Cheers

Yuyang

Laurent Aubert
Cisco Employee
Cisco Employee

Hi,

The equivalent of wr erase is commit replace with an empty running configuration.

HTH

Laurent.

Hi, Laurent

Thanks very much. The problem solved. The command really work.

BTW, could you please send me some link for the basic commands under IOS XR?

Cheers

Yuyang

 

T

Sent

Regards

Mahesh