2013年7月3日星期三

Router loading bootstrap from USB key


Question:

Not sure if this Cisco 3560V2  is the right forum to ask this.

I'm experiencing some trouble trying to get a router to boot off a bootstrap configuration on a usb key.

I have configured a bootstrap configuration (verified to be valid by manually pasting it in via CLI), saved it as a .cfg file on a USB key.

USB key (3rd party) formatted as FAT16, router can see contents (the cfg file) of key via show commands.

I pasted the below command in the router via console CLI, saved the config and rebooted.

Router(config)#  boot config usbflash0:CONFIG1.CFG

However, the router just booted normally without loading the bootstrap.

Anyone see if I'm missing something obvious?

Thanks in advance for any assistance.

Answer:

Now it clears things.

"bootstrap", in the eyes of Cisco is an executable file as part of the IOS of a router.  What you have is a "configuration" file.

Rename the file to end in "txt".  Then once you've done this, just issue the command "copy bootstrap.txt run" and the router will load the configuration you wanted into the running-config.

Then if you are happy with the changes, save the config.

NOTE:  I don't recommend you copy the configuration file into the startup-config because if you make a mistake,Cisco 3560X Price you can't roll-back.

没有评论:

发表评论