Setting Boot System Commands

Answered Question
Nov 18th, 2008

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

I have this problem too.
0 votes
Correct Answer by Edison Ortiz about 8 years 2 weeks ago

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....

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
glen.grant Tue, 11/18/2008 - 16:38

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 .

lamav Tue, 11/18/2008 - 17:02

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

Correct Answer
Edison Ortiz Tue, 11/18/2008 - 17:08

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....

lamav Tue, 11/18/2008 - 17:17

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

Edison Ortiz Tue, 11/18/2008 - 17:27

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.

Actions

This Discussion