03-12-2023 02:24 PM - edited 03-12-2023 02:35 PM
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.
Solved! Go to Solution.
03-19-2023 02:20 AM
is solved
I used :-
unset IOX_CONFIG_FILE
03-12-2023 03:05 PM
check this thread may help you :
03-12-2023 06:25 PM
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
03-13-2023 12:40 AM
Hi,
to to enter to romain mode
also how to remove a no-config
03-13-2023 12:50 AM
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.
03-13-2023 02:52 AM
03-13-2023 10:08 AM
03-19-2023 02:20 AM
is solved
I used :-
unset IOX_CONFIG_FILE
03-19-2023 07:13 AM
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.
Anyway glad you were able to fix the issue.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide