cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
613
Views
0
Helpful
3
Replies

New Image on a 3560

Todd Kelly
Level 1
Level 1

I loaded a new image on my 3560. What is the correct boot system flash: statement need to be? Here is what I have now.

Directory of flash:/

    3  -rwx         736   May 9 1994 01:42:01 +00:00  vlan.dat
    4  -rwx    11773249  Jun 14 2017 18:33:16 +00:00  c3560-ipbasek9-mz.122-55.SE11.bin (new image)
    5  -rwx           5  Jun 14 2017 18:41:53 +00:00  private-config.text
    6  -rwx        4158  Jun 14 2017 18:41:53 +00:00  config.text
    7  drwx         192   Mar 1 1993 00:10:53 +00:00  c3560-ipbase-mz.122-35.SE5

sh boot system
flash:/c3560-ipbasek9-mz.122-55.SE11.bin/c3560-ipbasek9-mz.122-55.SE11.bin

sh boot
BOOT path-list      : flash:/c3560-ipbasek9-mz.122-55.SE11.bin/c3560-ipbasek9-mz.122-55.SE11.bin (is this correct?)
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : no
Manual Boot         : no
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :

Thanks for your assistance.

3 Replies 3

Joseph W. Doherty
Hall of Fame
Hall of Fame

boot system flash:c3560-ipbasek9-mz.122-55.SE11.bin

no boot system flash:/c3560-ipbasek9-mz.122-55.SE11.bin/c3560-ipbasek9-mz.122-55.SE11.bin

Leo Laohoo
Hall of Fame
Hall of Fame

What is the correct boot system flash: statement need to be?

Remove the boot variable statement. 

When the switch boots up, the system will search for the 1st available IOS from the directory (from top to bottom) and the search will "hit" the 12.2(55)SE11 BIN file and read that.  If that file is corrupt, the system will then continue down the list until it hits the old IOS and read that.

What Leo describes, concerning how the device will search without a bootvar (assuming config reg correctly set) is correct, but do keep in mind it depends on the sequence of the files on the flash, i.e. accidentally changing the sequence may load an IOS version you didn't intend.

Also note, in this particular case, the one IOS bin is in a subdirectory and I don't recall the auto load feature searching subdirectories.