incorrect syntax for boot command 4506

Unanswered Question
Oct 7th, 2008
User Badges:

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?



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
RicheeJJJ_2 Tue, 10/07/2008 - 06:06
User Badges:

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 Tue, 10/07/2008 - 06:15
User Badges:
  • Silver, 250 points or more


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

Actions

This Discussion