cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6007
Views
10
Helpful
8
Replies

Cisco 3650 after upgrading firmware switch show switch: prompt

nishadbabu.m
Level 1
Level 1

Hi,

   Recently i upgrade cisco firmware from 03.06.04.E. to cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin after upgraded i couldn't

get into the switch its prompt  "SWITCH : "

this is the error i am getting

octeon_loadlinux: bad ELF image
Error loading kernel image

The system is unable to boot automatically. The
BOOT environment variable needs to be set to a
bootable image.

switch:

and i run following command verify the firmware which i upgrade.

switch: dir flash:
Directory of flash:/

31041 drwx 4096 .
2 drwx 4096 ..
31042 -rw- 82665136 cat3k_caa-base.SPA.03.06.04.E.pkg
31043 -rw- 4913852 cat3k_caa-drivers.SPA.03.06.04.E.pkg
31044 -rw- 33784816 cat3k_caa-infra.SPA.03.06.04.E.pkg
31045 -rw- 43021636 cat3k_caa-iosd-universalk9.SPA.152-2.E4.pkg
31046 -rw- 27417488 cat3k_caa-platform.SPA.03.06.04.E.pkg
31047 -rw- 111180608 cat3k_caa-wcm.SPA.10.2.140.0.pkg
31048 -rw- 1244 packages.conf
46561 drwx 4096 dc_profile_dir
31049 -rw- 2097152 nvram_config
31050 -rw- 616 vlan.dat
31051 -rw- 303772864 cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin

1011961856 bytes available (638124032 bytes used)

       i can see the firmware which i uploaded. 

i run the following command

switch: boot flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin

 after running this command switch behaving normal i.e. switch> is prompting

but after every reload its again showing "switch :"

Kindly help on this.

Thanks

8 Replies 8

Hello,

check the boot statement on your switch:

Switch#show boot

The boot statement should be the same as when you manually boot the system. You have a valid image in flash.

If there is nothing or the wrong boot statement, enter the correct one like this:

Switch#configure terminal
Switch(config)#boot system flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin

Hi gpauwen,

    Thanks for your reply.i have tried this command.

Switch(config)#boot system flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin

Issue not resolved.

Thanks

did you verify the md5 of the ios just in case it got corrupted

verify /md5 flash:cat3k...................................

what does ..show bootvar.... output provide

Hi Mark, 

    i cant run these command in "Switch : (Romman mode)" 

i can login into the switch by "switch: boot flash:packages.conf"

please find the output

sw1#verify /md5 flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin

..........................................................................................................................................................................................................................Done!
verify /md5 (flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin) = 7c2abd4f5856b80afbcc283f6f12797a

sw1#show bootvar
                         ^
% Invalid input detected at '^' marker.

sw1#sh
sw1#show boot
sw1#show boot var
                          ^
% Invalid input detected at '^' marker.

command i run to boot new firmware

sw1(config)#boot system flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin

Running Config boot  :

boot-start-marker
boot system switch all flash:
boot system switch all flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin
boot-end-marker

Kindly help on this. we need to deploy this switch today

Regards,

Nishad

then check the md5 code where you downloaded the is version 7c2abd4f5856b80afbcc283f6f12797a

I checked it, it matches so its not corrupted , highlight over the ios image it will show you the original checksum

https://software.cisco.com/download/release.html?mdfid=284850737&softwareid=282046477&release=3.6.6E&relind=AVAILABLE&rellifecycle=MD&reltype=latest

I just checked one of my 3650s its show boot only not show bootvar that's was from my asr, did nothing show up after you saved it  ?

hi, the following command helped me and resolved the issue.

Switch : boot flash:packages.conf

after this command it will load to normal switch mode i.e. "switch>" 

there i enabled following commands,

switch>en

switch#conf t

switch(conft)#no boot system

switch(conft)#boot sys flash:packages.conf

Switch#software install file flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin

Switch#software clean

Do you want to proceed with reload? [yes/no]: no

Do you want to proceed with the deletion? [yes/no]: yes

after these commands its working fine.

I just had the same issue this morning. I found this cmd worked from the "Switch :" prompt ...

switch: boot flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6.bin flash

For some reason adding the "flash" at the end allowed it to boot with limited functionality. I was then able to apply your same steps to resolve my issue thanks! 

Thank you!! It worked for me.!!

 

Review Cisco Networking for a $25 gift card