cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
608
Views
0
Helpful
7
Replies

Upgrading ios in C9300

Leftz
Level 4
Level 4

Hi After enter below commands for upgrading, the switch 9300 reboot for 3 times automatically and then stop there (swtich:)

What it going on? Thanks

9300#show flash:
9300#copy tftp: flash: (.....Omitted ....)
9300(config)#no boot system
9300(config)#do write
9300(config)#boot system bootflash:cat9k_lite_iosxe.17.06.04.SPA.bin
9300(config)#do write
9300#show boot
9300#reload

switch:
switch:

 

 

 

 

 

1 Accepted Solution

Accepted Solutions

Leo Laohoo
Hall of Fame
Hall of Fame

If the switch is still in ROMMON, please post the complete output to the following commands: 

  1. dir flash:
  2. set

Also, take the time to read the attached document.

View solution in original post

7 Replies 7

Leo Laohoo
Hall of Fame
Hall of Fame

If the switch is still in ROMMON, please post the complete output to the following commands: 

  1. dir flash:
  2. set

Also, take the time to read the attached document.

Leftz
Level 4
Level 4

Thanks for your reply! Please see below. I did not delete any ios, 

 

switch: dir
usage:
dir <path-to-directory>
supported filesystem(s):
flash: ro flash
bootflash: ro system partition
usbflash0: rw front-panel USB
usbflash1: rw back-panel USB
switch:
switch:
switch: set
ABNORMAL_RESET_COUNT=0
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BOARDID=28759
BOOT=flash:cat9k_lite_iosxe.17.06.04.SPA.bin;
BSI=0
MAC_ADDR=Cxxxxxxx
MANUAL_BOOT=no
MODEL_NUM=C9300-24P
MODEL_REVISION_NUM=M0
MOTHERBOARD_ASSEMBLY_NUM=73-19912-04
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=FJZ26xxx
PS1=switch:
RANDOM_NUM=2279
RET_2_RCALTS=1675287
RET_2_RTS=
ROMMON_AUTOBOOT_ATTEMPT=3
ReloadReason=Image Install RET_2_RCALTS=1675286356
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=F
TEMPLATE=access
USB_DISABLE=0
VERSION_ID=V05
switch:


@Leftz wrote:
9300(config)#boot system bootflash:cat9k_lite_iosxe.17.06.04.SPA.bin

Wait.  What is the exact model of this switch, is this a 9300L or a 9300/9300X?

Leftz
Level 4
Level 4

From show version

Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 41 C9300-24P 17.06.04 CAT9K_IOSXE INSTALL

the switch already in 17.6.4 in INSTALL Mode ? what is the issue ?

if this install mode

you need to change boot vaiable to packages.conf

BB

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

How to Ask The Cisco Community for Help

Leftz
Level 4
Level 4

issue is resolved. Please see below

SW1#sh boot
---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable = flash:packages.conf;

Boot Variables on next reload:
BOOT variable = flash:packages.conf;
Manual Boot = no
Enable Break = no
Boot Mode = DEVICE
iPXE Timeout = 0

If the switch is a 9300 then why is someone trying to force the 9300 to boot a firmware that was meant for a 9300L?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco