cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
966
Views
3
Helpful
2
Replies

clearing current configuration of NCS-5501-SE

from88
Level 4
Level 4

Hello, have couple of NCS-5501-SE (version 7.5.2) routers. I would like to reset the current configuration.

What would be the most recommended way ? Do commit replace is still relevant for resetting the configuration ?
I've read that some people are doing ztp clean before commit replace. Is this mandatory ?

Thank you

2 Replies 2

tkarnani
Cisco Employee
Cisco Employee

Hi,

conf t

commit replace

 

these commands will wipe the configuration from xr; features such as bgp ospf etc configuration will be gone

it will not remove the admin config, which contains the local user/disaster recovery account, files on the disk etc

if you want to wipe the entire router; it would be best to do a usb boot;

https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5500/system-setup/75x/b-system-setup-cg-ncs5500-75x/perform-disaster-recovery.html

you would download the usb boot file from the software page; extract the contents to the root of the usb and boot the router from the usb.

anpetit
Cisco Employee
Cisco Employee

Hello @from88 , 

Reading out this topic, I'd just like to add the scenario on top of @tkarnani answer if you want to replace with another config file.

NCS5501SE#configure
NCS5501SE(config)#load <file url>
NCS5501SE(config)#show config >>>> verify the loaded file
NCS5501SE(config)#commit replace

Hope it helps. 
Have a nice day. 
Kind Regards,