Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Blue

Setting Boot System Commands

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

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Bronze

Re: Setting Boot System Commands

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

7 REPLIES
Silver

Re: Setting Boot System Commands

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:

http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.2ZY/command/reference/chap2a.html#wp1076934

Purple

Re: Setting Boot System Commands

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 .

Blue

Re: Setting Boot System Commands

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

Hall of Fame Super Bronze

Re: Setting Boot System Commands

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

Blue

Re: Setting Boot System Commands

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

Hall of Fame Super Bronze

Re: Setting Boot System Commands

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.

Blue

Re: Setting Boot System Commands

Outstanding.

Thanks again!

20201
Views
0
Helpful
7
Replies
CreatePlease login to create content