12-02-2020 11:21 AM
Hi CiscoTeam,
I was trying to factory reset 9200 switches and they are in Rommon mode now, I did try to reboot them but they are looking for their stack switch and packages.conf file is not able to reboot the switch. Can you please help me recover the switches to normal mode?
How can I completely clean and reboot the switch as new ?
Here is the dir: output
switch: dir flash:
Attributes Size Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-rw-rw-rw- 446343149 cat9k_lite_iosxe.16.12.04.SPA.bin
drwxr-xr-x 4096 .installer
-rw-r--r-- 2516 bootloader_evt_handle.log
drwxr-xr-x 4096 core
drwxrwxrwx 4096 .prst_sync
drwxr-xr-x 4096 .rollback_timer
drwxr-xr-x 4096 tech_support
drwxr-xr-x 4096 dc_profile_dir
-rw-r--r-- 2130 boothelper.log
-rw-r--r-- 132108 memleak.tcl
lrwxrwxrwx 13 NVRAM -> /flash1/NVRAM
drwxr-xr-x 4096 .dbpersist
drwxr-xr-x 4096 onep
-rw-r--r-- 2097152 nvram_config
-rw-r--r-- 2097152 nvram_config_bkup
-rw-r--r-- 35 pnp-tech-time
-rw-r--r-- 68326 pnp-tech-discovery-summary
-rw-r--r-- 2130 boothelper.log.old
-rw-r--r-- 4883 packages.conf
-rw-r--r-- 1036 vlan.dat
-rw-rw-rw- 299176972 cat9k_lite-rpbase.16.09.03.SPA.pkg
-rw-rw-rw- 34935297 cat9k_lite-rpboot.16.09.03.SPA.pkg
-rw-rw-rw- 3101708 cat9k_lite-srdriver.16.09.03.SPA.pkg
-rw-rw-rw- 7586824 cat9k_lite-webui.16.09.03.SPA.pkg
-rw-r--r-- 796 stby-vlan.dat
-rw-r--r-- 862 rdope_out.txt
-rw-r--r-- 89 rdope.log
-rw-rw-rw- 391255060 cat9k_lite-rpbase.16.12.04.SPA.pkg
-rw-rw-rw- 40633301 cat9k_lite-rpboot.16.12.04.SPA.pkg
-rw-rw-rw- 4576276 cat9k_lite-srdriver.16.12.04.SPA.pkg
-rw-rw-rw- 10171408 cat9k_lite-webui.16.12.04.SPA.pkg
-rw-rw-rw- 4883 cat9k_lite_iosxe.16.12.04.SPA.conf
-rw------- 0 dope_hist
Pratik Patel
Solved! Go to Solution.
12-04-2020 12:46 PM
Thank you Leo and Balaji,
I checked set output and removed stack config using command "unset STACK_1_1" because this switch was part of stack when I performed factory reset.
After that I was able to boot using "boot flash:packages.conf"
Pratik Patel
12-02-2020 11:27 AM - edited 12-02-2020 11:27 AM
Try this option :
switch:boot flash:packages.conf
have you tried to upgrade ?
Once it boot and you have switch prompt.
post - show version
we guide to clean up later.
12-02-2020 02:35 PM
Post the complete output to the following ROMMON command:
set
What happens when trying this command:
boot flash:packages.conf
12-04-2020 12:46 PM
Thank you Leo and Balaji,
I checked set output and removed stack config using command "unset STACK_1_1" because this switch was part of stack when I performed factory reset.
After that I was able to boot using "boot flash:packages.conf"
Pratik Patel
05-02-2024 03:43 AM
Thanks Brother,
Its works, GBU 🫰
08-11-2023 07:02 AM
Try to boot from the package.conf
however this command shows the following result.
switch: boot flash:packages.conf
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf
boot: failed to load flash:/user/packages.conf
ERROR: failed to boot from flash:packages.conf (Not Found)
switch:
I have check the dir flash:
switch: dir flash:
Attributes Size Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
switch:
there is nothing in the flash
anybody suggest what next ?
08-11-2023 07:18 AM
emergency-install usbflash0:filename.bin
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