Command:

boot


Mode:

> rommon # > The # is the line number and increases incrementally at each prompt.


Syntax:

boot
boot file-url
boot filename [tftp-ip-address]
boot flash [flash-fs:][partition-number:][filename]

Cisco 7000 Series, 7200 Series, 7500 Series Routers
boot flash-fs:[filename]

Cisco 1600 and Cisco 3600 Series Routers
boot [flash-fs:][partition-number:][filename]

 

Syntax Description:

file-url URL of the image to boot (for example, boot tftp://172.16.15.112/routertest).
filename When used in conjunction with the ip-address argument, the filename argument is the name of the system image file to boot from a network server. The filename is case sensitive.

When used in conjunction with the flash keyword, the filename argument is the name of the system image file to boot from Flash memory.

On all platforms except the Cisco 1600 series, Cisco 3600 series, and Cisco 7000 family routers, the system obtains the image file from internal Flash memory.

On the Cisco 1600 series, Cisco 3600 series and Cisco 7000 family routers, the flash-fs: argument specifies the Flash memory device from which to obtain the system image. (See the flash-fs: argument later in this table for valid device values.) The filename is case sensitive. Without the filename argument, the first valid file in Flash memory is loaded.

tftp-ip-address (optional) IP address of the TFTP server on which the system image resides. If omitted, this value defaults to the IP broadcast address of 255.255.255.255.
flash Boots the router from Flash memory. Note that this keyword is required in some boot images.
flash-fs: (Optional) Specifying the Flash file system is optional for all platforms except the Cisco 7500 series routers. Possible file systems are:

flash: Internal Flash memory on the Cisco 1600 series routers and Cisco 3600 series routers. This is the only valid Flash file system for the Cisco 1600 series routers.
bootflash: Internal Flash memory on the Cisco 7000 family.
slot0: Flash memory card in the first PCMCIA slot on the Cisco 7000 family and Cisco 3600 series routers.
slot1: Flash memory card in the second PCMCIA slot on the Cisco 7000 family and Cisco 3600 series routers.

partition-number: (Optional) Specifies the partition number of the file system the file should be loaded from. This argument is not available on all platforms.

 

Command Description:

To boot the router manually, use the boot ROM monitor command. The syntax of this command varies according to the platform and ROM monitor version.

To determine which form of this command to use, refer to the documentation for your platform or use the CLI help (?) feature.

Use this command only when your router cannot find the boot configuration information needed in NVRAM. To enter ROM monitor mode, use one of the following methods:

Enter the reload EXEC command, then press the Break key during the first 60 seconds of startup.

Set the configuration register bits 0 to 3 to zero (for example, set the configuration register to 0x0) and enter the reload command.

The ROM Monitor prompt is either ">" or, for newer platforms, "rommon x>". Enter only lowercase commands.

These commands work only if there is a valid image to boot. Also, from the ROM monitor prompt, issuing a prior reset command is necessary for the boot to be consistently successful.

Refer to your hardware documentation for information on correct jumper settings for your platform.

Defaults:

For most platforms, if you enter the boot command and press Return, the router boots from ROM by default. However, for some platforms, such as the Cisco 3600 series routers, if you enter the boot command and press Return, the router boots the first image in Flash memory. Refer to the documentation for your platform for information about the default image.

If the partition-number is not specified, the first partition is used.

If the filename is not specified, the first file in the partition or file system is used.

For other defaults, see the "Syntax Description" section.


Example:

In the following example, a router is manually booted from ROM:

> boot
F3:
(ROM Monitor copyrights)

In the following example, a router boots the file named routertest from a network server with the IP address 172.16.15.112 using the file-url syntax:

> boot tftp://172.16.15.112/routertest
F3
(ROM Monitor copyrights)

The following example shows the boot flash command without the filename argument. The first valid file in Flash memory is loaded.

> boot flash
F3: 1858656+45204+166896 at 0x1000
Booting gs7-k from flash memory RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR [OK - 1903912/13765276 bytes]
F3: 1858676+45204+166896 at 0x1000
(ROM Monitor copyrights)

The following example boots from Flash memory using the file named gs7-k:

> boot flash gs7-k
F3: 1858656+45204+166896 at 0x1000
Booting gs7-k from flash memory RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRR [OK - 1903912/13765276 bytes]
F3: 1858676+45204+166896 at 0x1000
(ROM Monitor copyrights)

In the following example, the boot flash flash: command boots the relocatable image file named igs-bpx-l from partition 2 in Flash memory:

> boot flash flash:2:igs-bpx-l
F3: 3562264+98228+303632 at 0x30000B4
(ROM Monitor copyrights)

In the following command, the Cisco 7000 family router accepts the flash keyword for compatibility but ignores it, and boots from slot 0:

> boot flash slot0:gs7-k-mz.103-9
F3: 8468+3980384+165008 at 0x1000

In the following example, the command did not function because it must be entered in lowercase:

rommon 10 > BOOT
command "BOOT" not found

The following example boots the first file in the first partition of internal Flash memory of a Cisco 3600 series router:

> boot flash:

The following example boots the first image file in the first partition of the Flash memory card in slot 0 of a Cisco 3600 series router:

> boot slot0:

The following example shows the ROM monitor booting the first file in the first Flash memory partition on a Cisco 1600 series router:

> boot flash:


Misconceptions:

For some platforms the flash keyword is now required. If your attempts to use the boot command are failing using the older boot flash:x:[filename] syntax, try using the boot flash flash:x:[filename] syntax.


Related Commands:

None

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)