cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1270
Views
0
Helpful
2
Replies

incorrect syntax for boot command 4506

steigja
Level 3
Level 3

If i have the command

"boot system flash:cat4000-i9s-mz.122-18.EW3.bin" which is the wrong syntax. When this fails out, will the switch attempt to locate the next file in bootflash: , or will the switch fail to bootup?

2 Replies 2

RicheeJJJ_2
Level 1
Level 1

Here is what it says on Cisco's website:

The boot system commands are in the right order in the configuration.

The router stores and executes the boot system commands in the order in which you enter them in the configuration file.

router>enable

Password

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#

Router(config)#boot system flash c800-nsy6-mw.bin

Router(config)#boot system flash

Display the config:

router#show running-config

Building configuration...

Current configuration : 952 bytes

!

version 12.2

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname r806

!

boot system flash c800-nsy6-mw.bin

boot system flash

!

If a boot system command entry in the list specifies an invalid device or filename, the router skips that entry. In the boot system commands (required if you have more than one Cisco IOS software image stored in Flash memory - by default the router uses the first one), use the following syntax:

Router(config)#boot system flash filename

satish_zanjurne
Level 4
Level 4

hi,

1.verify whether 122-18.EW3.bin is present in flash using

" dir bootflash: "

2.If both this file & one more file is present then add following commands

boot system flash bootflash:cat4000-i9s-mz.122-18.EW3.bin

boot system flash bootflash:

3.Use "show run" to verify that those commands have got added to configuration.Also use "show bootvar" to see it is correctly set

4.then reload after saving.

It should boot properly.

HTH..rate if helpful..

Review Cisco Networking products for a $25 gift card