Press "Enter" to skip to content

How to erase running-configuration in Cisco IOS-XE?

Last updated on December 25, 2018

        I am using ASR 9k series Routers, which runs <code>IOS-XE</code> <code>advancedmetroipaccess</code> License
I tried erasing NVRAM: and then tried to run copy start run But it gives me error :
hostname#erase /all nvram:
hostname#copy startup-config running-config
Destination filename [running-config]? 
%% Non-volatile configuration memory invalid or not present
Is there a way to erase running-configuration in IOS-XE, Reason to erase: As I use huge number of VRF distinguishers, and when my network changes its Loopback0, I have to change the loopback0's in all the VRFs. For that, I have to first remove the each rd in every vrf which takes lot of time (more than 30 min). The current method I employ is: first set config-register to 0x2142 then reload the router and again configure the router with new configuration, and set config-register to 0x2102.

Be First to Comment

Leave a Reply

%d bloggers like this: