|
|
Some reasons for changing the software configuration register settings are as follows:
The lowest four bits of the configuration register (bits 3, 2, 1, and 0) form the boot field. The order in which the switch router looks for system bootstrap information depends on the boot field setting in the configuration register.
Bits 0 through 3 of the software configuration register form the boot field, specified as a binary number. The factory default configuration register setting for systems is 0x102; for switch processor spares the default is 0x101.
When the boot field is set to either 0 or 1 (0-0-0-0 or 0-0-0-1), the system ignores any boot instructions in the system configuration file and the following occurs:
You can enter the boot command only, or include additional boot instructions with the command, such as the name of a file stored in Flash memory or a file that you specify for booting from a network server. For details, see Table C-2, "Configuration Register Boot Field."
If you use the boot command without specifying a file or any other boot instructions, the system boots from the default Flash image (the first image in onboard Flash memory). Otherwise, you can instruct the system to boot from a specific Flash image (using the boot system flash filename command), or boot from a network server by sending broadcast TFTP requests (using the boot system filename command), or by sending a direct TFTP request to a specific server (using the boot system filename address command).
You can also use the boot command to boot images stored in the Personal Computer Memory Card International Association (PCMCIA) Flash memory cards in the route processor. If you set the boot field to any bit pattern other than 0 or 1, the system uses the resulting number to form a filename for booting over the network.
The system uses the filename to invoke the system image by booting over the net. However, if the configuration file contains any boot instructions, the system uses those boot instructions instead of the filename it computed from the configuration register settings.
You must set the boot field for the boot functions you require. For more detailed information on the software configuration register features, refer to the following sections.
You can change the default configuration register setting with the enabled config-mode command config-register. Use a hexadecimal number as the argument to this command (see Table C-1, "Software Configuration Register" for a list of values). For example, the command
Router(config)# config-register 0x10F
configures the switch router to examine the startup file in NVRAM for boot system options.
To change the boot field and leave all the other bits set to their default values, follow these guidelines:
Table C-1 lists the meaning of each of the software configuration memory bits, and Table C-2 defines the boot field.
To check the boot field setting and verify the results of the config-register command, use the show version command.
![]() | Caution To avoid confusion and possibly halting the switch router, remember that valid configuration register settings might be combinations of settings and not just the individual settings listed in Table C-1. For example, the factory default value of 0x0101 is a combination of settings: bit 8 = 0x0100 and bits 00 through 03 = 0x0001. |
| Bit Number | Hexadecimal | Meaning |
|---|---|---|
00 to 03 | 0x0000 to 0x000F | Boot field |
06 | 0x0040 | Causes system software to ignore NVRAM contents |
07 | 0x0080 | OEM bit enabled |
08 | 0x0100 | Break disabled |
09 | 0x0200 | Use secondary bootstrap |
10 | 0x0400 | IP broadcast with all zeros |
11 to 12 | 0x0800 to 0x1000 | Console line speed (default is 9600 baud) |
13 | 0x2000 | Boot default Flash software if network boot fails |
14 | 0x4000 | IP broadcasts do not have network numbers |
15 | 0x8000 | Enable diagnostic messages and ignore NVRAM contents |
| Boot Field | Meaning |
|---|---|
00 | Stays at the system bootstrap prompt |
01 | Boots the first system image in onboard Flash memory |
02 to 0F | Specifies a default netboot filename Enables boot system commands that override the default netboot filename |
The lowest four bits of the software configuration register (bits 3, 2, 1, and 0) form the boot field (see Table C-3). The boot field specifies a number in binary form. If you set the boot field value to 0, you must boot the operating system manually by entering the boot command at the bootstrap prompt ( > ), as follows:
> boot [tftp] flash filename
Table C-3 displays the boot command options and their functions:
| Command | Function |
|---|---|
boot | |
boot flash | Boots the first file in onboard Flash memory |
boot slot0:filename | Boots the file filename from the Flash memory card in PCMCIA slot 0 |
boot slot1:filename | Boots the file filename from the Flash memory card in PCMCIA slot 1 |
boot filename [host] | Boots from server host using TFTP |
boot flash:filename | Boots the file filename from onboard Flash memory |
For more information about the boot [tftp | flash] [filename] command, refer to the set of configuration fundamentals publications listed in the section "More Configuration Information" in the chapter "Configuring the Catalyst 8500 Software."
If you set the boot field value to 0x2 through 0xF and there is a valid boot system command stored in the configuration file, the switch router boots the system software as directed by that value. If there is no boot system command, the switch router forms a default boot filename for booting from a network server. (See Table C-3 for the format of these default filenames.)
In the following example, the software configuration register is set to boot the switch router from onboard Flash memory and to ignore Break at the next restart of the switch router:
8500# config terminal 8500(config)# config-register 0x102 8500(config)# boot system flash [filename] 8500(config)# Crtl+z
Table C-4 lists the default boot filenames or actions for the switch processor.
| Action/Filename | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|---|---|---|---|---|
Bootstrap mode | 0 | 0 | 0 | 0 |
Default software | 0 | 0 | 0 | 1 |
cisco2-RSP | 0 | 0 | 1 | 0 |
cisco3-RSP | 0 | 0 | 1 | 1 |
cisco4-RSP | 0 | 1 | 0 | 0 |
cisco5-RSP | 0 | 1 | 0 | 1 |
cisco6-RSP | 0 | 1 | 1 | 0 |
cisco7-RSP | 0 | 1 | 1 | 1 |
cisco10-RSP | 1 | 0 | 0 | 0 |
cisco11-RSP | 1 | 0 | 0 | 1 |
cisco12-RSP | 1 | 0 | 1 | 0 |
cisco13-RSP | 1 | 0 | 1 | 1 |
cisco14-RSP | 1 | 1 | 0 | 0 |
cisco15-RSP | 1 | 1 | 0 | 1 |
cisco16-RSP | 1 | 1 | 1 | 0 |
cisco17-RSP | 1 | 1 | 1 | 1 |
Bit 9 is unused.
Table C-5 shows the combined effect of bits 14 and 10.
| Bit 14 | Bit 10 | Address (<net><host>) |
|---|---|---|
Off | Off | <ones><ones> |
Off | On | <zeros><seros> |
On | On | <net><zeros> |
On | Off | <net><ones> |
Bit 11 and Bit 12 in the configuration register determine the data transmission rate of the console terminal. Table C-6 shows the bit settings for the four available rates. The factory-set default data transmission rate is 9600.
| Baud Rate | Bit 12 | Bit 11 |
|---|---|---|
9600 | 0 | 0 |
4800 | 0 | 1 |
1200 | 1 | 0 |
2400 | 1 | 1 |
To change the configuration register while running the system software, follow these steps:
Step 1 At the privileged EXEC prompt (8500#), enter the configure terminal command to enter global configuration mode.
8500# configure terminal 8500(config)#
Step 2 Set the contents of the configuration register by entering the config-register value configuration command, where value is a hexadecimal number preceded by 0x (see Table C-1, "Software Configuration Register"), as in the following example:
8500(config)# config-register 0x value
Step 3 Press Ctrl-Z to exit configuration mode.
Step 4 Display the current configuration register value, which will be used at the next system reload, by entering the show version command.
The value is displayed on the last line of the screen display, as in the following example:
Configuration register is 0x141 (will be 0x101 at next reload)
Step 5 Restart the Catalyst 8500 campus switch router.
Changes to the configuration register take effect only when the system reloads.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Aug 2 14:24:05 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.