09-19-2022 11:57 AM
Hello all,
I am having several issues with a two stack C9200 switch. The first issue is when it is given a power cycle it will fail to boot to cat9k_lite_iosxe_npe.17.03.05.SPA.bin three times before successfully loading. Now i think that might also hinder me getting in to ROMmon mode because it automatically power cycles and it cannot be stopped. Secondly, I have followed this article System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches) - Troubleshooting the Software Configuration [Support] - Cisco with no success on both switches, i have tried these steps on each with and without the stacking cable plugged in. I will paste bellow copies of my issues along with the last config i was able to pull before i was locked out. The other issue is i set the password and i know what it is but i never set the username (i was gathering information for it) and the terminal session restart prompting for a username that was never set with my password
Initializing Hardware...
System Bootstrap, Version 17.5.1r [FC4], RELEASE SOFTWARE (P)
Compiled Wed 01/06/2021 18:21:57 by rel
Current ROMMON image : Primary
C9200-48P platform with 4194304 Kbytes of main memory
RAM test aborted by console.
boot: attempting to boot from [flash:]
boot: reading file
user is not a regular file
boot: failed to load flash:/user
ERROR: failed to boot from flash: (Not Found)
Please wait while the system restarts.
Initializing Hardware...
System Bootstrap, Version 17.5.1r [FC4], RELEASE SOFTWARE (P)
Compiled Wed 01/06/2021 18:21:57 by rel
Current ROMMON image : Primary
C9200-48P platform with 4194304 Kbytes of main memory
boot: attempting to boot from [flash:]
boot: reading file
user is not a regular file
boot: failed to load flash:/user
ERROR: failed to boot from flash: (Not Found)
Please wait while the system restarts.
Initializing Hardware...
System Bootstrap, Version 17.5.1r [FC4], RELEASE SOFTWARE (P)
Compiled Wed 01/06/2021 18:21:57 by rel
Current ROMMON image : Primary
C9200-48P platform with 4194304 Kbytes of main memory
boot: attempting to boot from [flash:]
boot: reading file
user is not a regular file
boot: failed to load flash:/user
ERROR: failed to boot from flash: (Not Found)
Please wait while the system restarts.
Initializing Hardware...
System Bootstrap, Version 17.5.1r [FC4], RELEASE SOFTWARE (P)
Compiled Wed 01/06/2021 18:21:57 by rel
Current ROMMON image : Primary
C9200-48P platform with 4194304 Kbytes of main memory
boot: attempting to boot from [flash:cat9k_lite_iosxe_npe.17.03.05.SPA.bin]
boot: reading file cat9k_lite_iosxe_npe.17.03.05.SPA.bin
boot: failed to load flash:/user/cat9k_lite_iosxe_npe.17.03.05.SPA.bin (Aborted)
ERROR: failed to boot from flash:cat9k_lite_iosxe_npe.17.03.05.SPA.bin (Aborted)
switch:
switch:
switch: dir flash:
Attributes Size Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-rw-r--r-- 2149 boothelper.log
-rw------- 0 dope_hist
drwxr-xr-x 4096 .installer
drwxr-xr-x 4096 .rollback_timer
-rw-r--r-- 592 bootloader_evt_handle.log
drwxr-xr-x 4096 core
drwxrwxrwx 4096 .prst_sync
drwxrwxrwx 4096 gs_script
-rw-r--r-- 5242880 ssd
drwxr-xr-x 4096 ss_disc
drwxr-xr-x 4096 tech_support
drwxr-xr-x 4096 dc_profile_dir
-rw-r--r-- 916 vlan.dat
drwxr-xr-x 4096 sys_report
drwxr-xr-x 4096 .USWAP
drwxr-xr-x 4096 .CRFT
-rw-r--r-- 134458 memleak.tcl
drwxr-xr-x 4096 Tbot
lrwxrwxrwx 13 NVRAM -> /flash1/NVRAM
drwxr-xr-x 4096 .dbpersist
-rw-r--r-- 15500 rdope_out.txt
-rw-r--r-- 89 rdope.log
drwxr-xr-x 4096 onep
drwxr-xr-x 4096 pnp-info
drwxr-xr-x 4096 license_evlog
drwxr-xr-x 4096 .rommon_sync
drwxr-xr-x 4096 guest-share
-rw-r--r-- 2097152 nvram_config
-rw-r--r-- 2097152 nvram_config_bkup
drwxr-xr-x 4096 pnp-tech
-rw-r--r-- 476847429 cat9k_lite_iosxe_npe.17.03.05.SPA.bin
-rw-r--r-- 2149 boothelper.log.old
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
switch: nvram_config ?
Error: command 'nvram_config' not found. Use 'help' to list commands.
switch: ?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
arp Dump or Clear ARP Table
boot Load and boot an executable image
cat Display text content from a file
copy Copy a file
dir List filesystems or a directory on a filesystem path
help List command information
history Show command history
idprom Show idprom data
ping Ping use ICMP protocol to get an ICMP ECHO_RESPONSE from host
ping6 Ping use ICMP protocol to get an ICMP ECHO_RESPONSE from host
reset Reset entire system
set Set an environment variable value
unset Unsets an environment variable
version Show sboot version and runtime info
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
And to make matters more fun my Win10 device blue screened and restarted itself and removed my config file for the switch before I could save it. but I do know the password and I did spell check it before hand. **Note: I have tried base usernames like "cisco" and "admin" with no avail obviously or I would not have posted this lol. Anyways any guidance would be greatly appreciated. I have tested also through Console and SSH
Thank you for any help you can provide, sorry for the lengthy post.
Solved! Go to Solution.
09-20-2022 04:52 AM
So do the following:
conf t
no system ignore startupconfig switch all
end
wr
09-19-2022 12:13 PM
here is also a copy of the "switch: version" if that would help anything
switch: version
System Bootstrap, Version 17.5.1r [FC4], RELEASE SOFTWARE (P)
Compiled Wed 01/06/2021 18:21:57 by rel
Current ROMMON image : Primary
C9200-48P platform with 4194304 Kbytes of main memory
09-19-2022 03:39 PM
Post the complete output to the command "set".
09-20-2022 04:36 AM
switch: set
ABNORMAL_RESET_COUNT=0
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BOOT=flash:;flash:cat9k_lite_iosxe_npe.17.03.05.SPA.bin;
BSI=0
MAC_ADDR=68:87:C6:77:C1:80
MANUAL_BOOT=no
MODEL_NUM=C9200-48P
MOTHERBOARD_SERIAL_NUM=JAE25440SPA
RANDOM_NUM=1643166669
ROMMON_BOARDID=0x2320
ReloadReason=Image Install RET_2_RCALTS=1635717946
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=JAE25440SPA
TEMPLATE=advanced
switch:
09-20-2022 04:40 AM
here is the output with hidden variables as well
switch: set -a
ABNORMAL_RESET_COUNT=0
AUTOBOOT_COUNT=0
AUTOBOOT_STATE=0
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BOOT=flash:;flash:cat9k_lite_iosxe_npe.17.03.05.SPA.bin;
BSI=0
CLEI_CODE_NUMBER=INM9200ERB
MAC_ADDR=68:87:C6:77:C1:80
MANUAL_BOOT=no
MODEL_NUM=C9200-48P
MODEL_REVISION_NUM=C0
MOTHERBOARD_ASSEMBLY_NUM=73-20259-03
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=JAE25440SPA
POE_DB_INFO=73-102420-02A0JAE25440ASQ
RANDOM_NUM=1643166669
ROMMON_AUTOBOOT_ATTEMPT=3
ROMMON_BOARDID=0x2320
ROMMON_BOARDREV=0x3
ReloadReason=Image Install RET_2_RCALTS=1635717946
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=JAE25440SPA
TAN_NUM=68-103044-01
TEMPLATE=advanced
USB_DB_INFO=73-18785-04A0JAE25430X2D
VERSION_ID=V03
manual_boot=yes
**note: i typed int "switch: set manual_boot=yes" but unsure if it will override the "MANUAL_BOOT=no"
09-20-2022 04:52 AM
So do the following:
conf t
no system ignore startupconfig switch all
end
wr
09-20-2022 05:16 AM
Entered in command, switch loaded back into Running configuration with the username prompt. I am going to try again, My work computer also restarted with a blue screen (got to love windows i should make it into a Linux PC but that is a different issue) im going to load these commands again and ill update further.
09-20-2022 05:26 AM
confirmed command in both switches on the stack
also confirmed in both "dir flash:" the IOS is intact
switch:
switch: set
ABNORMAL_RESET_COUNT=0
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BOOT=flash:;flash:cat9k_lite_iosxe_npe.17.03.05.SPA.bin;
BSI=0
MAC_ADDR=68:87:C6:77:C1:80
MANUAL_BOOT=no
MODEL_NUM=C9200-48P
MOTHERBOARD_SERIAL_NUM=JAE25440SPA
RANDOM_NUM=119938735
ROMMON_BOARDID=0x2320
ReloadReason=Image Install RET_2_RCALTS=1635717946
SWITCH_IGNORE_STARTUPCFG=1
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=JAE25440SPA
TEMPLATE=advanced
manual_boot=yes
switch:
switch:
switch: set
ABNORMAL_RESET_COUNT=0
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BOOT=flash:;flash:cat9k_lite_iosxe_npe.17.03.05.SPA.bin;
BSI=0
MAC_ADDR=68:87:C6:EB:F0:80
MANUAL_BOOT=no
MODEL_NUM=C9200-48P
MOTHERBOARD_SERIAL_NUM=JAE25440QRR
RANDOM_NUM=1032080692
ROMMON_BOARDID=0x2320
ReloadReason=Image Install RET_2_RCALTS=1635719526
SWITCH_DISABLE_PASSWORD_RECOVERY=0
SWITCH_IGNORE_STARTUPCFG=1
SWITCH_NUMBER=2
SYSTEM_SERIAL_NUM=JAE25440QRR
TEMPLATE=advanced
nvram_config=0
switch:
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