background image
Managing IOS Images 51
Figure 2-12
Binary Version of Configuration Register, Value Hex 2102
The boot field is the name of the low-order 4 bits of the configuration register. This field can
be considered a 4-bit value, represented as a single hexadecimal digit. Cisco represents
hexadecimal values by preceding the hex digit(s) with 0x--for example, 0xA would mean a
single hex digit A.
The router chooses the IOS image to load based on the boot field and the boot system commands
in the configuration. Table 2-6 summarizes the use of the configuration register and the boot
system
command at initialization time. (If the files referred to in the boot system commands are
not found, then the router will never complete the boot process. The password recovery process
must be used to change the config register to 0x2161 so that the NVRAM configuration is
ignored and the boot commands can be repaired to point to a valid IOS file name. Refer to the
section "Password Recovery," later in this chapter, for more details.)
Table 2-6
boot system Command
Value of
Boot Field
Boot System Commands
Result
0x0
Ignored if present
ROM monitor mode, a low-level problem
determination mode, is entered.
0x1
Ignored if present
IOS from ROM is loaded.
0x2-0xF
No boot command
The first IOS file in flash is loaded; if that
fails, the router broadcasts looking for an IOS
on a TFTP server. If that fails, IOS from ROM
is loaded.
0x2-0xF
boot system ROM
IOS from ROM is loaded.
0x2-0xF
boot system flash
The first file from Flash memory is loaded.
0x2-0xF
boot system flash filename
IOS with name filename is loaded from Flash
memory.
0x2-0xF
boot system tftp 10.1.1.1 filename
IOS with name filename is loaded from TFTP
server.
0x2-0xF
Multiple boot system commands,
any variety
An attempt occurs to load IOS based on the
first boot command in configuration. If that
fails, the second boot command is used, and
so on, until one is successful.
15 14 13 12
0
0
1
0
11 10 9
8
0
0
0
1
7
6
5
4
0
0
0
0
3
2
1
0
0
0
1
0
ch02.fm Page 51 Monday, March 20, 2000 4:57 PM