06-28-2017 10:19 AM - edited 03-03-2019 08:35 AM
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.
06-28-2017 10:55 AM
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
06-28-2017 02:17 PM
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.
06-29-2017 11:09 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide