06-30-2016 03:17 PM - edited 03-08-2019 06:27 AM
Hi
Im asking about the boot statement in cisco switchs: do we have to write boot system flash:/new-image/new-image.bin or boot system flash:new-image.bin (i've found the both statements in cisco switchs).
Thanks
rhamdaoui
06-30-2016 03:59 PM
It depends on whether you have the bin file inside a folder or not.
Switch#sh boot
BOOT path-list : flash:c3750-ipbasek9-mz.122-55.SE7/c3750-ipbasek9-mz.122-55.SE7.bin
Here I have the bin file inside the folder c3750-ipbasek9-mz.122-55.SE7
Switch#sh flash | i dr
2 drwx 192 Feb 28 1993 16:08:31 -08:00 c3750-ipbasek9-mz.122-55.SE7
You can cd into the directory and list int contents
Switch#cd c3750-ipbasek9-mz.122-55.SE7
Switch#dir
Directory of flash:/c3750-ipbasek9-mz.122-55.SE7/
3 -rwx 681 Feb 28 1993 16:07:26 -08:00 info
4 drwx 4800 Feb 28 1993 16:08:31 -08:00 html
508 -rwx 12098366 Feb 28 1993 16:12:05 -08:00 c3750-ipbasek9-mz.122-55.SE7.bin ---> This is the actual IOS file
32514048 bytes total (16805888 bytes free)
Switch#
06-30-2016 04:18 PM
Thank you very much, its clear now
rhamdaoui
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