To specify the location of the boot image that ROM uses for booting, use the boot bootldr global configuration command. Use the no form of this command to remove this boot image specification.
boot bootldr file-url
no boot bootldr
file-url  URL of the boot image on a Flash file system.
Refer to your platform documentation for the location of the default boot image.
Global configuration
Release | Modification | 11.0 | The command was introduced. |
---|
The boot bootldr command sets the BOOTLDR environment variable in the current running configuration. You must specify both the Flash file system and the filename.
When you use this global configuration command, you affect only the running configuration. You must save the environment variable setting to your startup configuration to place the information under ROM monitor control and to have the environment variable function as expected. Use the copy system:running-confignvram:startup-config command to save the environment variable from your running configuration to your startup configuration.
The no form of the command sets the BOOTLDR environment variable to a null string. On the Cisco 7000 family , a null string causes the first image file in bootflash to be used as the boot image that ROM uses for booting.
Use the show boot command to display the current value for the BOOTLDR environment variable.
In the following example, the internal Flash memory contains the boot image:
boot bootldr bootflash:boot-image
The following example specifies that the Flash memory card inserted in slot 0 contains the boot image:
boot bootldr slot0:boot-image
Command | Description |
---|---|
copy system:running-config nvram:startup-config | Copies any file from a source to a destination, use the copy EXEC command. |
show bootvar | Displays the contents of the BOOT environment variable, the name of the configuration file pointed to by the CONFIG_FILE environment variable, the contents of the BOOTLDR environment variable, and the configuration register setting. |
show (Flash file system) | Displays the layout and contents of a Flash memory file system. |
Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003
All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.