11-18-2008 03:57 PM - edited 03-06-2019 02:33 AM
TWO Quick stuipid questions:
(1) If a "dir flash:" gives the following output....
nhv-c14-sw1#dir flash:
Directory of flash:/
2 -rwx 676 Mar 01 1993 00:01:06 vlan.dat
3 -rwx 48 Nov 18 2008 23:10:24 private-config.text
5 drwx 192 Mar 01 1993 00:05:17 c3750-i9-mz.121-19.EA1c
85 -rwx 7755515 Nov 18 2008 16:42:33 c3750-ipbasek9-mz.122-35.SE5.bin
86 -rwx 17947 Nov 18 2008 23:10:24 config.text
15998976 bytes total (1775104 bytes free)
nhv-c14-sw1#
....and I want to configure a boot statement command to load the new IOS, do I need to add the "/"?
In other words, is it "boot system flash:c3750-ipbasek9-mz.122-35.SE5.bin
OR IS IT
"boot system flash:/c3750-ipbasek9-mz.122-35.SE5.bin
Do I need the forward slash after the word "flash:"?
(2) If I want to use the old IOS as a backup, I know I have to add it on the same boot system command line, but do I have to separate the 2 using a ";" and do I need the word "flash:" again or do I just start from "c3750"...?
In other words, is it "boot system flash:c3750-ipbasek9-mz.122-35.SE5.bin;flash:c3750-i9-mz.121-19.EA1c"
OR IS IT...
"boot system flash:c3750-ipbasek9-mz.122-35.SE5.bin;c3750-i9-mz.121-19.EA1c"
Im sorry to ask these seemingly inane questions but my problem is that I do NOT have a 3750 available in my lab to test with, and I will have to upgrade code during a window without onsite support. Theres no room for a mistake. I also cant seem to find the info on Ciscos website either.
Thanks
Solved! Go to Solution.
11-18-2008 05:08 PM
In other words, is it "boot system flash:c3750-ipbasek9-mz.122-35.SE5.bin;flash:c3750-i9-mz.121-19.EA1c"
Very close, make sure to include the directory for the 12.1(19)EA1c IOS.
boot system flash:c3750-ipbasek9-mz.122-35.SE5.bin;flash:/c3750-i9-mz.121-19.EA1c/c3750-i9-mz.121-19.EA1c
.bin
Tested and verified on my 3750 here....
11-18-2008 04:30 PM
The / is not needed. IOS will boot system images in the order the are written.
so
Line 1:
boot system flash: c3750-ipbasek9-mz.122-35.SE5.bin
line 2: boot system flash: c3750-i9-mz.121-19.EA1c
see:
11-18-2008 04:38 PM
To load a .bin file its just "boot system flash:c3750-ipbasek9-mz.122-35.SE5.bin . I believe you use the forward slash when you have to load the file out of a directory. It would be "boot system flash:c3750-i9-mz.121-19.EA1c/c3750-i9-mz.121-19.EA1c .bin .
11-18-2008 05:02 PM
ropethic:
The 3750 does not allow more than one boot statement. You have to include the backup IOS on the same boot ststement command - separated by a semi-colon.
Glen:
I think youre right about the forward slash, but what about my 2nd question? How do I add the backup IOS string? Scroll up at my question for details about what Im asking.
Thanks
11-18-2008 05:08 PM
In other words, is it "boot system flash:c3750-ipbasek9-mz.122-35.SE5.bin;flash:c3750-i9-mz.121-19.EA1c"
Very close, make sure to include the directory for the 12.1(19)EA1c IOS.
boot system flash:c3750-ipbasek9-mz.122-35.SE5.bin;flash:/c3750-i9-mz.121-19.EA1c/c3750-i9-mz.121-19.EA1c
.bin
Tested and verified on my 3750 here....
11-18-2008 05:17 PM
Edison.
First, thank you!
Second, are you sure about the back slash (in the backup IOS part of the statement)?
Shouldnt it be a forward slash instead, like it is below?
boot system flash:c3750-ipbasek9-mz.122-35.SE5.bin;flash:/c3750-i9-mz.121-19.EA1c/c3750-i9-mz.121-19.EA1c
.bin ?
Thanks again
11-18-2008 05:27 PM
Victor,
Good catch. I made the mistake while copying your entry from the post :)
I just checked the switch and indeed is forward slash.
__
Edison.
11-18-2008 06:07 PM
Outstanding.
Thanks again!
10-19-2023 02:16 PM
thanks it worked for me too.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: