cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
659
Views
1
Helpful
5
Replies

Cisco 9300 Can only boot from USB

kcartier
Level 1
Level 1

Switch was reset/wiped inadvertently. Boots to switch and does not appear to have any other images on it. Can successfully boot it from an image on a usb, but does not hold after a power cycle. See outputs below: 

switch:
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: dir flash:

Size Attributes Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4096 drw- .installer
4096 drw- .rollback_timer
4096 drw- core
4096 drw- .USWAP
4096 drw- .CRFT
111 -rw- bootloader_evt_handle.log
4096 drw- .prst_sync
4096 drw- gs_script
5242880 -rw- ssd
4096 drw- ss_disc
4096 drw- tech_support
4096 drw- dc_profile_dir
395 -rw- boothelper.log
4096 drw- sys_report
4096 drw- fp_cc_crash
134899 -rw- memleak.tcl
2049 -rw- svl_ipc.tcl
4096 drw- Tbot
0 -rw- NVRAM
1338 -rw- DigiCertGlobalRootCA.ca
1606 -rw- StarfieldServicesRootCA.ca
1261 -rw- Baltimore.ca
4096 drw- .rommon_sync
4096 drw- .dbpersist
4096 drw- onep
4096 drw- pnp-info
4096 drw- guest-share
17000 -rw- rdope_out.txt
89 -rw- rdope.log
0 -rw- dope_hist
2097152 -rw- nvram_config
2097152 -rw- nvram_config_bkup
4096 drw- pnp-tech
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
switch: dir bootflash:

Size Attributes Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4096 drw- .installer
4096 drw- .rollback_timer
4096 drw- core
4096 drw- .USWAP
4096 drw- .CRFT
111 -rw- bootloader_evt_handle.log
4096 drw- .prst_sync
4096 drw- gs_script
5242880 -rw- ssd
4096 drw- ss_disc
4096 drw- tech_support
4096 drw- dc_profile_dir
395 -rw- boothelper.log
4096 drw- sys_report
4096 drw- fp_cc_crash
134899 -rw- memleak.tcl
2049 -rw- svl_ipc.tcl
4096 drw- Tbot
0 -rw- NVRAM
1338 -rw- DigiCertGlobalRootCA.ca
1606 -rw- StarfieldServicesRootCA.ca
1261 -rw- Baltimore.ca
4096 drw- .rommon_sync
4096 drw- .dbpersist
4096 drw- onep
4096 drw- pnp-info
4096 drw- guest-share
17000 -rw- rdope_out.txt
89 -rw- rdope.log
0 -rw- dope_hist
2097152 -rw- nvram_config
2097152 -rw- nvram_config_bkup
4096 drw- pnp-tech
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

switch: dir usbflash0:

Size Attributes Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1027574083 -rw- cat9k_iosxe.17.06.05.SPA.bin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
switch: set
BOARDID=28760
BSI=0
DEFAULT_GATEWAY=192.168.1.1
IP_ADDRESS=192.168.1.2
IP_SUBNET_MASK=255.255.255.0
MAC_ADDR=XX:XX:XX:XX:XX:XX
MODEL_NUM=C9300-24T
MODEL_REVISION_NUM=F0
MOTHERBOARD_ASSEMBLY_NUM=73-19911-04
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=FJZ261504LJ
PS1=switch:
RANDOM_NUM=1801101046
RET_2_RCALTS=
ROMMON_AUTOBOOT_ATTEMPT=0
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=FJC26161JM1
TEMPLATE=access
USB_DISABLE=0
VERSION_ID=V05

switch: boot usbflash0:cat9k_iosxe.17.06.05.SPA.bin

1 Accepted Solution

Accepted Solutions

The copy command would not work, and neither would making a new directory to copy from the usb. 

Here is what ended up working (after running boot usbflash0:cat9k_iosxe.17.06.05.SPA.bin)

install add file usbflash0:cat9k_iosxe.17.06.05.SPA.bin activate commit

View solution in original post

5 Replies 5

M02@rt37
VIP
VIP

Hello @kcartier,

After booting via USB stick, do you copy the file bin into the flash? Do you check the confg-reg ?

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

The copy command would not work, and neither would making a new directory to copy from the usb. 

Here is what ended up working (after running boot usbflash0:cat9k_iosxe.17.06.05.SPA.bin)

install add file usbflash0:cat9k_iosxe.17.06.05.SPA.bin activate commit

Thanks for your feedback @kcartier 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

balaji.bandi
Hall of Fame
Hall of Fame

the copy usbflash0:<> flash:  step would not execute due to a permissions issue... 

 

Review Cisco Networking for a $25 gift card