cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1948
Views
0
Helpful
8
Replies

IOS XR lost his configuration after reload

hi ,
I have a router ADR9000 with ios xr .... 

when I make reload to the router, the router boots with not confirmation, so I back to the initial config 

 

 

RP/0/RSP0/CPU0:ios#sh ver
Sun Mar 12 14:21:54.096 UTC

Cisco IOS XR Software, Version 6.7.3[Default]
Copyright (c) 2020 by Cisco Systems, Inc.

ROM: System Bootstrap, Version 10.68(c) 1994-2019 by Cisco Systems,  Inc.

ios uptime is 4 hours, 54 minutes
System image file is "disk0:asr9k-os-mbi-6.7.3/0x100305/mbiasr9k-rsp3.vm"

cisco ASR9K Series (Intel 686 F6M14S4) processor with 33554432K bytes of memory.
Intel 686 F6M14S4 processor at 1899MHz, Revision 2.174
ASR 9010 8 Line Card Slot Chassis with V1 AC PEM

1 FastEthernet
2 Management Ethernet
24 TenGigE
24 DWDM controller(s)
24 WANPHY controller(s)
375k bytes of non-volatile configuration memory.
6215M bytes of hard disk.
25012208k bytes of disk0: (Sector size 512 bytes).
25012208k bytes of disk1: (Sector size 512 bytes).

 

and error on booting 

RP/0/RSP0/CPU0:Mar 12 09:29:42.116 UTC: cfgmgr-rp[166]: %MGBL-CONFIG-6-STARTUP_ALTERNATE : Configuration Manager can not find any configuration to apply from the alternate source '/harddisk:/no-config'
. Default configuration will be applied. 

 

 

 

 

1 Accepted Solution

Accepted Solutions

is solved 

I used :-
unset IOX_CONFIG_FILE

View solution in original post

8 Replies 8

balaji.bandi
Hall of Fame
Hall of Fame

smilstea
Cisco Employee
Cisco Employee

Did you previously do a password recovery pointing the config variable in rommon to “/harddisk:/no-config”? The router is trying to still load the config from harddisk:/no-config, we need to remove that rommon variable so that it will boot from the proper config file. Otherwise as you saw everytime you boot the router it will try a password recovery.

 

Sam

Hi,

to to enter to romain mode

also how to remove a no-config 

To enter ROMMON mode on the Cisco ASR9K Router, follow these steps:


Connect to the router's console port using a console cable and a terminal emulator program such as PuTTY.

Power on your router.

Interrupt the boot sequence by pressing the interrupt key (usually ctrl + interrupt) during the boot process.

You will see his ROMMON prompt like "rommon 1>".

To remove the "no-config" variable from ROMMON, you can do the following:


Enter the set command at the ROMMON prompt to display the current ROMMON variables. Look for the variable that sets the Alternate Configuration Source to "no-config". It will be as follows.
"BOOT_CONFIG=no configuration".

Enter the command "unset BOOT_CONFIG" to remove the "no-config" variable.

Enter the sync command to save your changes.

Enter the "boot" command to boot the router. Remove the "no-config" variable and the router should boot from the correct configuration file. 

smilstea
Cisco Employee
Cisco Employee
Did you previously do a password recovery pointing the config variable in rommon to "/harddisk:/no-config"? The router is trying to still load the config from harddisk:/no-config, we need to remove that rommon variable so that it will boot from the proper config file. Otherwise as you saw everytime you boot the router it will try a password recovery.

Sam

is solved 

I used :-
unset IOX_CONFIG_FILE

@anas.abdullkarim 

Hope that is the discussion here for resolve :

part of this discussion : https://community.cisco.com/t5/xr-os-and-platforms/asr9k-lost-configuration-after-reboot/td-p/4595325

you find the solution as mentioned.

https://community.cisco.com/t5/service-providers-knowledge-base/asr9000-xr-how-to-reset-a-lost-password-password-recovery-on-ios/ta-p/3109412

Anyway glad you were able to fix the issue.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help