cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5714
Views
5
Helpful
32
Replies

IE3300 8T2S Switch - failed to load the IOS after update

Reinhard Karl
Level 1
Level 1

Dear community members,

 

I´m Reinhard and new in the Cisco community and hope, someone can help me by the issue below:

 

I have two cisco IE3300 8T2S switches.

For testing I have update the switches with the IOS XE 17.07.01

At the first switch the update works goes well.

But on the second switch I have some issues.

The ssecond Switch was running with 16.11.01a und the boot loader 6.1.7

I have copied the 17.07.01 on the sdflash and plugged into the switch again and modified the boot option to load by the next reboot the new IOS.

 

++++++

Switch_2(config)#boot system sdflash:/ie3x00-universalk9.17.07.01.SPA.bin
Switch_2(config)#end
Switch_2#
Switch_2#
Switch_2#sh boot
Current Boot Variables:
BOOT variable = sdflash:/ie3x00-universalk9.17.07.01.SPA.bin;

Boot Variables on next reload:
BOOT variable does not exist
Config file = sdflash:/nvram_config
ENABLE_FLASH_PRIMARY_BOOT = no
MANUAL_BOOT variable = no
ENABLE_BREAK variable = yes
Switch_2#wr me
Building configuration...
[OK]
Switch_2#reload

++++++

 

At the reboot the boot loader was updated from 6.1.7 to 7.1.8. This was successfully.

 

++++++

reboot: Restarting system

Initializing disk drivers...
Initializing file systems...

************************************************************
* Rom Monitor for IE3x00 *
* Copyright (c) 2017-2020 by Cisco Systems, Inc. *
* All rights reserved. *
************************************************************

* Version: 6.1.7
* Compiled: Tue 28-Jan-20 22:52 [RELEASE SOFTWARE]
* Boot Partition: qspi-upgrade-bootloader
* Reset Reason: Soft Reset

WARNING: DEV key installed

Loading "sdflash:/ie3x00-universalk9.17.07.01.SPA.bin" to memory...
Verifying image "sdflash:/ie3x00-universalk9.17.07.01.SPA.bin"...
Image passed digital signature verification
Checking for Bootloader upgrade...
New version = 7.1.8, Current version = 6.1.7
Erasing 4063232 bytes ..............................................................
Writing 703040 bytes ...........
Verifying 703040 bytes ...........
Erasing 4063232 bytes ..............................................................
Writing 727616 bytes ............
Verifying 727616 bytes ............
Bootloader upgrade successful
Resetting...

++++++

 

After the reboot the switch try to load the new IOS, but an error occurs, the new IOS ist not a valid boot file.

 

++++++

Initializing disk drivers...
Initializing file systems...

************************************************************
* Rom Monitor for IE3x00 *
* Copyright (c) 2017-2021 by Cisco Systems, Inc. *
* All rights reserved. *
************************************************************

* Version: 7.1.8
* Compiled: Mon 13-Sep-21 11:43 [RELEASE SOFTWARE]
* Boot Partition: qspi-upgrade-bootloader
* Reset Reason: Soft Reset

WARNING: DEV key installed

Error: sdflash:/ie3x00-universalk9.17.07.01.SPA.bin is not a valid boot file
Error: Unsupported SW release

++++++

 

Ok. So I wanted go back to the previous one. I get the same error.

All IOSen if I tried (16.11.01a, 17.02.01,17.03.05), the switch has the some error: XXXX.bin is not a valid boot file

It doesn't matter whether the attempt is made to load the IOS from flash or sdflash. It comes always the some error.

 

The switch startet into the Rom Monitor state.

 

Have some body the same issues in the past or can someone to help me?

 

The only different if I found between the two switches, is the Warning on the second switch "WARNING: DEV key installed" is displayed by the boot sequenz.

 

 

Thanks a lot.

 

Best regards,

Reinhard

 

 

 

32 Replies 32

marce1000
VIP
VIP

 

 - Does the sdflash (or booting from  that particular sdflash) work on the 1st switch ?

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

Good morning marce1000,

 

yes, the SD card from the second switch works fine in the first switch.

The switch boots the IOS und config from the SD card.

 

Thanks.

Best regards,

Reinhard

 

 

Leo Laohoo
Hall of Fame
Hall of Fame

In ROMMON, post the complete output to the command "set".

Good morning Leo,

 

here the output from the set command:

 

++++++

switch: set

Environment variables in var:
BOOT=flash:packages.conf;
BSI=0
ConfigReg=0x102
DISABLE_SD_FLASH=
DISABLE_USB_FLASH_0=no
DISABLE_USB_FLASH_1=no
ENABLE_FLASH_PRIMARY_BOOT=no
EULA_ACCEPTED=FALSE
LICENSE_BOOT_LEVEL=
MANUAL_BOOT=yes
MCP_STARTUP_TRACEFLAGS=00000000:00000000
PN_SNMP_SYS_CONTACT=Switch
PN_SNMP_SYS_LOCATION=
PROFINET_CONN_PREV=0
PROFINET_DEVICE_NAME=switch-profinet
PROFINET_DEV_IM_DATE=
PROFINET_DEV_IM_DISC=
PROFINET_DEV_IM_FUNC=
PROFINET_DEV_IM_LOC=
RANDOM_NUM=2136335093
RET_2_RCALTS=
RET_2_RTS=
SDM_TEMPLATE_ID=0

Environment variables in sdflash:
BOOT=sdflash:/ie3x00-universalk9.17.07.01.SPA.bin;
BSI=0
ConfigReg=0x102
MCP_STARTUP_TRACEFLAGS=00000000:00000000
PN_SNMP_SYS_CONTACT=Switch
PN_SNMP_SYS_LOCATION=
PROFINET_CONN_PREV=0
PROFINET_DEVICE_NAME=
PROFINET_DEV_IM_DATE=
PROFINET_DEV_IM_DISC=
PROFINET_DEV_IM_FUNC=
PROFINET_DEV_IM_LOC=
RANDOM_NUM=334077478
RET_2_RCALTS=
RET_2_RTS=
SDM_TEMPLATE_ID=0

Environment variables in qspiflash:

Environment variables in usbflash0:

Environment variables in usbflash1:

switch:

++++++

 

Thanks.

 

Best regards,

Reinhard

 

 

 


@Reinhard Karl wrote:

MANUAL_BOOT=yes


This means the switch must always boot into ROMMON. 

Can I see the complete output to the ROMMON command "dir flash:". 

NOTE:  If "dir flash:" is not accepted, substitute it with "dir bootflash:".

Good Morning Leo,

thanks for the fast reply.

 

Here the wished output of "dir flash:"

 

switch: dir flash:

 Date       Time    Attribute   Size         Name
 ========== =====   ==========  ==========   ================
 2000/01/20 21:46   drwxr-xr-x        4096   .installer
 2018/06/04 00:43   drwxr-xr-x        4096   .ssh
 2018/12/20 14:31   drwxr-xr-x        4096   core
 2019/04/18 15:34   drwxrwxrwx        4096   .prst_sync
 2019/04/18 15:32   drwxr-xr-x        4096   .rollback_timer
 2000/01/20 21:46   drwxr-xr-x        4096   dc_profile_dir
 2000/01/07 21:30   -rw-r--r--    33554432   nvram_config
 2000/01/07 06:04   -rw-r--r--         736   vlan.dat
 2000/01/07 05:50   drwxr-xr-x        4096   EDScisco
 2000/01/07 21:28   -rw-r--r--          34   pnp-tech-time
 2000/01/07 21:28   -rw-r--r--      129775   pnp-tech-discovery-summary
 2019/07/25 09:51   drwxr-xr-x        4096   LOGS
 2019/08/28 15:05   -rw-r--r--         807   Debug
 2000/01/01 03:47   drwxr-xr-x        4096   .USWAP
 2018/09/27 03:52   -rw-rw-rw-   222289274   ie3x00-universalk9.BLD_V1610_THROTTLE_LATEST_20180904_141742.SSA.bin
 2019/04/18 13:23   -rw-r--r--       43034   EDSCollection.gz
 2019/04/18 15:20   -rw-rw-rw-   255872740   ie3x00-universalk9.16.11.01a.SPA.bin
 2000/01/01 03:47   drwxr-xr-x        4096   tech_support
 2019/04/18 15:27   -rw-rw-rw-     7609112   ie3x00-rp_iot.16.11.01a.SPA.pkg
 2019/04/18 15:25   -rw-rw-rw-   192750868   ie3x00-rpbase.16.11.01a.SPA.pkg
 2019/04/18 15:28   -rw-rw-rw-    48758444   ie3x00-rpboot.16.11.01a.SPA.pkg
 2019/04/18 15:25   -rw-rw-rw-     9057556   ie3x00-webui.16.11.01a.SPA.pkg
 2019/04/18 15:28   -rw-rw-rw-        4606   packages.conf
 2019/04/18 15:42   drwxr-xr-x        4096   onep
 2000/01/01 03:47   drwxr-xr-x        4096   .dbpersist
 2000/01/07 05:51   -rw-r--r--    33554432   nvram_config_bkup
 2019/08/28 15:05   -rw-r--r--         111   Debug_clock
 2000/01/01 03:47   drwxr-xr-x        4096   .CRFT
 2000/01/07 05:47   -rw-rw-rw-   324770311   ie3x00-universalk9.17.02.01.SPA.bin
 2000/01/07 05:51   -rw-r--r--       46604   pnap.dat
 2000/01/07 05:51   drwxr-xr-x        4096   ProfinetGSD

   Total space = 1684480 KB
   Available   = 420600 KB

switch:

Optinal the sdflash:

switch: dir sdflash:

 Date       Time    Attribute   Size         Name
 ========== =====   =========   ==========   ================
 2000/01/04 20:56     D----              0   dc_profile_dir
 2000/01/04 20:56     ----A      255872740   ie3x00-universalk9.16.11.01a.SPA.bin
 2000/01/21 21:08     ----A       33554432   nvram_config
 2000/01/21 21:25     ----A            736   vlan.dat
 2014/06/17 23:49     D----              0   moncfg
 2000/01/20 23:23     D----              0   EDScisco
 2000/01/21 21:09     ----A       33554432   nvram_config_bkup
 2000/01/01 04:01     D----              0   iox
 2000/01/01 04:01     D----              0   iox_data_share
 2000/01/21 21:08     ----A          46604   pnap.dat
 2000/01/07 05:42     ----A      324770311   ie3x00-universalk9.17.02.01.SPA.bin
 2000/01/20 23:14     ----A      420695128   ie3x00-universalk9.17.07.01.SPA.bin
 2000/01/21 21:08     D----              0   ProfinetGSD

   Total space =   3878912 KB
   Available   =   2828032 KB

switch:

If I use the command "boot" in remmon the switch will tries 17.07.01 and after the error he tries 16.11.01a with the error "is not a valid package image"

switch: boot
Error: sdflash:/ie3x00-universalk9.17.07.01.SPA.bin is not a valid boot file
Error: Unsupported SW release
Loading "flash:packages.conf" to memory...
Loading "flash:/ie3x00-rp_iot.16.11.01a.SPA.pkg" to memory...
Error: flash:/ie3x00-rp_iot.16.11.01a.SPA.pkg is not a valid package image
Error: Unsupported SW release

switch:

 

Thanks.

Best regards,

Reinhard

 

In ROMMON enter the following command: 

set MANUAL_BOOT=no

NOTE:  Case sensitive. 

Verify that with the command "set" again. 

After confirming the settings is "in", run this other command:  

boot flash:packages.conf

Hello Leo,

 

I have do that, but unfortunately without success.

I modified the set command  with "var" because at yours command I have received an error.

switch: set MANUAL_BOOT=no
usage: set [ var|sdflash|qspiflash|usbflash0|usbflash1 ]
       set <var|sdflash|qspiflash|usbflash0|usbflash1> variable=value
       set <var|sdflash|qspiflash|usbflash0|usbflash1> variable="value1 value2"

switch: set var MANUAL_BOOT=no
switch:
switch: set

Environment variables in var:
 BOOT=flash:packages.conf;
 BSI=0
 ConfigReg=0x102
 DISABLE_SD_FLASH=
 DISABLE_USB_FLASH_0=no
 DISABLE_USB_FLASH_1=no
 ENABLE_FLASH_PRIMARY_BOOT=no
 EULA_ACCEPTED=FALSE
 LICENSE_BOOT_LEVEL=
 MANUAL_BOOT=no
 MCP_STARTUP_TRACEFLAGS=00000000:00000000
 PN_SNMP_SYS_CONTACT=Switch
 PN_SNMP_SYS_LOCATION=
 PROFINET_CONN_PREV=0
 PROFINET_DEVICE_NAME=switch-profinet
 PROFINET_DEV_IM_DATE=
 PROFINET_DEV_IM_DISC=
 PROFINET_DEV_IM_FUNC=
 PROFINET_DEV_IM_LOC=
 RANDOM_NUM=2136335093
 RET_2_RCALTS=
 RET_2_RTS=
 SDM_TEMPLATE_ID=0

Environment variables in sdflash:
 BOOT=sdflash:/ie3x00-universalk9.17.07.01.SPA.bin;
 BSI=0
 ConfigReg=0x102
 PN_SNMP_SYS_CONTACT=Switch
 PN_SNMP_SYS_LOCATION=
 PROFINET_CONN_PREV=0
 PROFINET_DEVICE_NAME=
 PROFINET_DEV_IM_DATE=
 PROFINET_DEV_IM_DISC=
 PROFINET_DEV_IM_FUNC=
 PROFINET_DEV_IM_LOC=
 RANDOM_NUM=75871179
 RET_2_RCALTS=
 RET_2_RTS=

Environment variables in qspiflash:

Environment variables in usbflash0:

Environment variables in usbflash1:

switch: boot flash:packages.conf
Loading "flash:packages.conf" to memory...
Loading "flash:/ie3x00-rp_iot.16.11.01a.SPA.pkg" to memory...
Error: flash:/ie3x00-rp_iot.16.11.01a.SPA.pkg is not a valid package image
Error: Unsupported SW release

switch:

I have searched for hidden comands in remmon or something else to ingnore the valitation of the IOS, but to now, i haven`t found anything about that....

 

Thanks for your support.
Best Regards,

Reinhard

 

 

set MANUAL_BOOT no

Mea culpa.  I think I have provided the wrong syntax.  Try the one above.

Hello Leo,

 

the command isn`t available.

switch: set MANUAL_BOOT no
usage: set [ var|sdflash|qspiflash|usbflash0|usbflash1 ]
       set <var|sdflash|qspiflash|usbflash0|usbflash1> variable=value
       set <var|sdflash|qspiflash|usbflash0|usbflash1> variable="value1 value2"

switch:

In the meantime, I have checked the HASH of the IOS file. The hash value is the same as writen one on the download page from cisco. So the bin file is original and not modified...

 

Further I have tried to unset the var variable`s but with no success...

I have set back all variables to the state before the unset command.

 

Thanks.

Regards,

Reinhard

 

 - Difficult to tell what is going on , could you  try to format the sdflash (again) on the device it is  going to be used,

or on the 1st IE3300 , then put the cisco image again on it and try again.

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

Hello Marce1000,

 

I have tried with a brand new sdcard (sdflash) but with no success.

I think, it is something wrong with the internal flash, because I can`t modified anything on it. E.g. create a folder/file or delete a folder/file.

 

I would contact the TAC center.

 

Thanks for sour time and help.

 

Regards,

Reinhard

 

  >...I have tried with a brand new sdcard (sdflash) but with no success.

            - That's not exactly what I wanted you to do....

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

Hello Marce1000,

 

sorry, but I have  thought, that new sd card is better than formatted SD card.

Now I have formatted the sd card from the second switch (into) and put the IOS on it.

Unfortunately the same resson. 

Error: sdflash:ie3x00-universalk9.17.07.01.SPA.bin is not a valid boot file
Error: Unsupported SW release

Thanks.

Best regards,

Reinhard

 

Review Cisco Networking products for a $25 gift card