cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
90938
Views
25
Helpful
8
Replies

Setting Boot System Commands

lamav
Level 8
Level 8

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

Edison Ortiz
Hall of Fame
Hall of Fame

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

View solution in original post

8 Replies 8

ropethic
Level 4
Level 4

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

glen.grant
VIP Alumni
VIP Alumni

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 .

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

Edison Ortiz
Hall of Fame
Hall of Fame

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

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

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.

Outstanding.

Thanks again!

DivakaranV
Level 1
Level 1

thanks it worked for me too.

Review Cisco Networking for a $25 gift card