cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2505
Views
10
Helpful
9
Replies

9300 24t E Rommon software corruption.

njairforce
Level 1
Level 1

I have tried to follow the instructions "Recovering from a Software Failure", but I cannot get the laptop to ping the switch.  I am able to console to the switch and set the IP address/Subnet Mask in Rommon, but I cannot get the laptop to connect through the front ports nor the Management port next to the Console port.  the tftp server is loaded on the laptop that is not connecting.  How do I reload the software on the switch.  It all started after I removed the switch from a stack I was configuring.  I even tried to put it back in the stack, but it is not being recognized by the active switch.

9 Replies 9

balaji.bandi
Hall of Fame
Hall of Fame

9300 have USB Port you can copy the image and start booting from USB and copy the same image once its booted

 

follow below guide :

 

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9300/software/release/16-6/configuration_guide/sys_mgmt/b_166_sys_mgmt_9300_cg/b_166_sys_mgmt_9300_cg_chapter_01100.html

 

BB

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

How to Ask The Cisco Community for Help

I tried to copy the configuration from the usb to switch flash, but it returns an error "Unsupported destination device/filesystem.  What specific file am I suppose to copy to the flash for it to start up?

Leo Laohoo
Hall of Fame
Hall of Fame
Did you upgrade the 9300 to 16.12.1 and then do a downgrade?

I did upgrade to the 16.12.1


@njairforce wrote:

I did upgrade to the 16.12.1


The 9300 is running 16.12.1 and you wanted to downgrade (but couldn't)?  

Please raise a TAC Case as this behaviour is a newly-discovered bug:  CSCvr86782

Currently, the only version that can be used is 16.6.7.   (Downgrade first from 16.12.1 to 16.6.7 and then upgrade/downgrade to the version chosen.)

I completed the downgrade and after it installed the original ios, it tried to boot and is still cycling through the boot process until it dumps back to "Switch:"

 

njairforce
Level 1
Level 1

THIS ENDED BEING THE ISSUE AND SOLUTION:

 

 

Problem

Catalyst 9000 Series switches boot into bootloader prompt when stack 1+1 bit is set which means the switch is configured for StackWise-Virtual. This can be identified by looking at error below when user tries to boot the switch from the bootloader prompt.

"Chassis 2 reloading, reason - Active/Standby selection failed in 1+1 Mode"


switch: boot
attempting to boot from [flash:packages.conf]

Located file packages.conf
#
##########################################################################################################################
Validate packages: SHA-1 hash:
calculated 550C9730:667B2788:DD6F6B06:D0FFA819:01A315DA
expected 550C9730:667B2788:DD6F6B06:D0FFA819:01A315DA

Both links down, not waiting for other switches
Switch number is 2

Chassis 2 reloading, reason - Active/standby selection failed in 1+1 Mode <<<<<<
Feb 19 20:06:55.572 FP0/0: %PMAN-5-EXITACTION: Process manager is exiting: reload fp action requested
Feb 19 20:06:57

Initializing Hardware...

System Bootstrap, Version 16.6.1r [FC1], RELEASE SOFTWARE (P)
Compiled Sat 07/15/2017 8:31:57.39 by rel

Current image running:
Primary Rommon Image

Last reset cause: SoftwareReload
C9300-48U platform with 8388608 Kbytes of main memory

attempting to boot from [flash:packages.conf]

Located file packages.conf
#
##########################################################################################################################

Validate packages: SHA-1 hash:
calculated 550C9730:667B2788:DD6F6B06:D0FFA819:01A315DA
expected 550C9730:667B2788:DD6F6B06:D0FFA819:01A315DA


Another way to identify this problem is by looking at STACK 1+1 bootloader variable by using "set" command in bootloader mode. To get the switch in bootloader mode, press mode button while switch starts to boot up.


switch: set
ABNORMAL_RESET_COUNT=0
AUTOREBOOT_RESTORE=1
BOARDID=20569
BOOT=flash:packages.conf
BSI=0
MAC_ADDR=00:ab:cd:ef:01
MANUAL_BOOT=yes
MODEL_NUM=C9300-48UXM
MODEL_REVISION_NUM=D0
MOTHERBOARD_ASSEMBLY_NUM=73-17959-06
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=XXXXXXXXXXX
RANDOM_NUM=1901228755
RET_2_RCALTS=
ROMMON_AUTOBOOT_ATTEMPT=3
STACK_1_1=2_0 <<<<<<<
SWITCH_IGNORE_STARTUP_CFG=1
SWITCH_NUMBER=2
SYSTEM_SERIAL_NUM=XXXXXXXXXXXX
TEMPLATE=access
VERSION_ID=V01

switch:

 


Solution

Unset the Stack 1+1 variable. After this switch will be able to boot normally.

switch:unset STACK_1_1

switch: set
ABNORMAL_RESET_COUNT=0
AUTOREBOOT_RESTORE=1
BOARDID=20569
BOOT=flash:packages.conf
BSI=0
MAC_ADDR=00:ab:cd:ef:01
MANUAL_BOOT=yes
MODEL_NUM=C9300-48UXM
MODEL_REVISION_NUM=D0
MOTHERBOARD_ASSEMBLY_NUM=73-17959-06
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=XXXXXXXXXXX
RANDOM_NUM=1901228755
RET_2_RCALTS=
ROMMON_AUTOBOOT_ATTEMPT=3
SWITCH_IGNORE_STARTUP_CFG=1
SWITCH_NUMBER=2
SYSTEM_SERIAL_NUM=XXXXXXXXXX
TEMPLATE=access
VERSION_ID=V01

switch:

Once Stack 1+1 bootloader variable is unset then issue the boot command so that switch can boot from the boot variable set on the switch.

switch: boot
attempting to boot from [flash:packages.conf]

Located file packages.conf
#
##########################################################################################################################
Validate packages: SHA-1 hash:
calculated 550C9730:667B2788:DD6F6B06:D0FFA819:01A315DA
expected 550C9730:667B2788:DD6F6B06:D0FFA819:01A315DA

Both links down, not waiting for other switches
Switch number is 2

Thanks for the update.

kapydan88
Level 4
Level 4

Im not sure, that my case is like yours, but "boot" command helped me.

 

switch: ?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
alias Set and display aliases command
boot Load and boot an executable image
cat Concatenate (type) file(s)
copy Copy a file
date Show or Set system date
delete delete file(s)
dir List files in directories
dns-lookup Send DNS standard query packets
emergency-install Initiate Disaster Recovery
help Present list of available commands
history Monitor command history
md5 Compute MD5 checksum of a file
mkdir create directory(ies)
meminfo Main memory information
net-show Display current network configuration
ping Send ICMP ECHO_REQUEST packets to a network host
rename Rename a file/directory
reset Reset the system
rmdir delete directory(ies)
set Set or display environment variables
unalias Unset an alias
unset Unset one or more environment variables
version Display boot loader version
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
switch: reset
Do you wish to reset? [y] : n
switch: ping
usage:
ping <IP-address> <count>[OPTIONAL] size[OPTIONAL]
switch: ping 10.2.20.4

ERROR: Invalid network configuration
switch: set ?
usage:
set <variable-name>[OPTIONAL] <value>[OPTIONAL]
switch: version

System Bootstrap, Version 16.12.2r, RELEASE SOFTWARE (P)
Compiled Fri 10/25/2019 11:48:55.48 by rel

Current ROMMON image : Primary
Last reset cause : PowerOn
C9300L-48P-4G platform with 8388608 Kbytes of main memory

switch: boot
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf
#
#########################################################################################################################################################################################################################################################################################################################################################################################################################

 

Both links down, not waiting for other switches
Switch number is 1

Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

Cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706

 

Cisco IOS Software [Gibraltar], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.12.02, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Tue 19-Nov-19 10:04 by mcpre


This software version supports only Smart Licensing as the software licensing mechanism.


PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR
LICENSE KEY PROVIDED FOR ANY CISCO SOFTWARE PRODUCT, PRODUCT FEATURE,
AND/OR SUBSEQUENTLY PROVIDED SOFTWARE FEATURES (COLLECTIVELY, THE
"SOFTWARE"), AND/OR USING SUCH SOFTWARE CONSTITUTES YOUR FULL
ACCEPTANCE OF THE FOLLOWING TERMS. YOU MUST NOT PROCEED FURTHER IF YOU
ARE NOT WILLING TO BE BOUND BY ALL THE TERMS SET FORTH HEREIN.

Your use of the Software is subject to the Cisco End User License Agreement
(EULA) and any relevant supplemental terms (SEULA) found at
http://www.cisco.com/c/en/us/about/legal/cloud-and-software/software-terms.html.

You hereby acknowledge and agree that certain Software and/or features are
licensed for a particular term, that the license to such Software and/or
features is valid only for the applicable term and that such Software and/or
features may be shut down or otherwise terminated by Cisco after expiration
of the applicable license term (e.g., 90-day trial period). Cisco reserves
the right to terminate any such Software feature electronically or by any
other means available. While Cisco may provide alerts, it is your sole
responsibility to monitor your usage of any such term Software feature to
ensure that your systems and networks are prepared for a shutdown of the
Software feature.

 

FIPS: Flash Key Check : Key Not Found, FIPS Mode Not Enabled

All TCP AO KDF Tests Pass
cisco C9300L-48P-4G (X86) processor with 1343980K/6147K bytes of memory.
Processor board ID 
2048K bytes of non-volatile configuration memory.
8388608K bytes of physical memory.
1638400K bytes of Crash Files at crashinfo:.
11264000K bytes of Flash at flash:.
0K bytes of WebUI ODM Files at webui:.

Base Ethernet MAC Address : 
Motherboard Assembly Number : 
Motherboard Serial Number : 
Model Revision Number : C0
Motherboard Revision Number : B0
Model Number : C9300L-48P-4G
System Serial Number : 


WARNING: Command has been added to the configuration using a type 7 password. However, type 7 passwords will soon be deprecated. Migrate to a supported password type
This CLI will be deprecated soon, Please use new CLI 'ip http access-class ipv4 <1-99> | <access-list-name>'
WARNING: Command has been added to the configuration using a type 7 password. However, type 7 passwords will soon be deprecated. Migrate to a supported password type


Press RETURN to get started!

 

User Access Verification

Username: 
Password: