Cisco WS-C4003-RF Hardware Maintenance Manual - Page 119

Configuring the Boot Field, See Table B-2.

Page 119 highlights

Virtual Configuration Register Settings Configuring the Boot Field The lowest four bits of the processor configuration register (bits 3, 2, 1, and 0) form the boot field. (See Table B-2.) Table B-2 Explanation of Boot Field (Configuration Register Bits 00-03) Boot Field Meaning 00 Stays at the system bootstrap prompt (ROM monitor) on a reload or power cycle 01 Boots the boot helper image as a system image 02-F Specifies a default netboot filename Enables default booting from system Flash memory Enables boot system commands that override default netboot filename1 1. Values of the boot field are 2-15 in the form cisco-processor_name, where 2 < n < 15. The boot field specifies a number in binary. If you set the boot field value to 0, you must have console port access to boot the operating system manually. Boot the operating system by entering the b command at the bootstrap prompt as follows: > b [tftp] flash filename Definitions of the various command options follow: b-Boots the default system software from ROM b flash-Boots the first file in Flash memory b filename [host]-Boots over the network using TFTP b flash [filename]-Boots the file (filename) from Flash memory For more information about the b [tftp] flash filename command, see the appropriate software publications. If you set the boot field value to a value of 2 through F, and there is a valid system boot command stored in the configuration file, the router boots the system software as directed by that value. (See Table B-3.) If you set the boot field to any other bit pattern, the router uses the resulting number to form a default boot filename for netbooting. If there are no boot commands in the configuration file, the router attempts to boot the first file in system Flash memory. If no file is found in system Flash memory, the router attempts to netboot a default file whose name is derived from the value of the boot field (for example: cisco2-4500). If the netboot attempt fails, the boot helper image in boot Flash will boot up. If boot commands are in the configuration file, the router software processes each boot command in sequence until the process is successful or the end of the list is reached. If the end of the list is reached without a file being successfully booted, the router will retry the netboot commands up to six times unless the boot default ROM software if netboot fails bit (bit 13 of the virtual configuration register) is set. If bit 13 is set, the system boots the boot helper image found in boot Flash memory without any retries. In the following example, the virtual configuration register is set to boot the router automatically from Flash memory and to ignore Break at the next reboot of the router: Cisco 4000 Series Virtual Configuration Register B-3

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143

Cisco 4000 Series Virtual Configuration Register
B-3
Virtual Configuration Register Settings
Configuring the Boot Field
The lowest four bits of the processor configuration register (bits 3, 2, 1, and 0) form the
boot field.
(See Table B-2.)
Table B-2
Explanation of Boot Field (Configuration Register Bits 00–03)
The boot field specifies a number in binary. If you set the boot field value to 0, you must have console
port access to boot the operating system manually. Boot the operating system by entering the
b
command at the bootstrap prompt as follows:
> b [tftp] flash filename
Definitions of the various command options follow:
b—
Boots the default system software from ROM
b flash
—Boots the first file in Flash memory
b
filename [host]—
Boots over the network using TFTP
b flash
[filename]—
Boots the file (
filename
) from Flash memory
For more information about the
b
[
tftp
]
flash
filename
command, see the appropriate software
publications.
If you set the boot field value to a value of
2
through
F
, and there is a valid system boot command
stored in the configuration file, the router boots the system software as directed by that value.
(See Table B-3.) If you set the boot field to any other bit pattern, the router uses the resulting number
to form a default boot filename for netbooting.
If there are no boot commands in the configuration file, the router attempts to boot the first file in
system Flash memory. If no file is found in system Flash memory, the router attempts to netboot a
default file whose name is derived from the value of the boot field (for example: cisco2-4500). If the
netboot attempt fails, the boot helper image in boot Flash will boot up.
If boot commands are in the configuration file, the router software processes each boot command in
sequence until the process is successful or the end of the list is reached. If the end of the list is
reached without a file being successfully booted, the router will retry the netboot commands up to
six times unless the boot default ROM software if netboot fails bit (bit 13 of the virtual configuration
register) is set. If bit 13 is set, the system boots the boot helper image found in boot Flash memory
without any retries.
In the following example, the virtual configuration register is set to boot the router automatically
from Flash memory and to ignore Break at the next reboot of the router:
Boot Field
Meaning
00
Stays at the system bootstrap prompt (ROM monitor) on a reload or
power cycle
01
Boots the boot helper image as a system image
02-F
Specifies a default netboot filename
Enables default booting from system Flash memory
Enables boot system commands that override default netboot filename
1
1. Values of the boot field are 2–15 in the form cisco
<n>-processor_name
, where 2 <
n <
15.