25-6
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 25 Modifying the Switch Boot Configuration
Setting the Configuration Register
Setting the Boot Field in the Configuration Register
You can determine the boot method that the switch will use at the next startup by setting the boot field
in the configuration register. This command affects only the configuration register bits that control the
boot field and leaves the remaining bits unaltered. The following boot methods are supported:
•
ROM monitor—Enter the
rommon
keyword to force the switch to remain in ROM-monitor mode at
startup.
•
Bootflash—Enter the
bootflash
keyword to cause the switch to boot from the first image that is
stored in the onboard flash memory.
•
System—Enter the
system
keyword to boot from the image that is specified in the BOOT
environment variable (the default).
Note
We recommend that you use only the
rommon
and
system
keywords with the
set boot config-register
boot
command.
To set the configuration register boot field, perform this task in privileged mode:
This example shows how to set the boot field in the configuration register:
Console> (enable)
set boot config-register boot rommon
Configuration register is 0x0
ignore-config: disabled
auto-config: non-recurring
console baud: 9600
boot: the ROM monitor
Console> (enable)
Setting the ROM-Monitor Console-Port Baud Rate
You can set the console-port baud rate that is used by the ROM monitor. The new baud rate is used the
next time that the switch is restarted. This command affects only the configuration register bits that
control the baud rate and leaves the remaining bits unaltered.
Note
The baud rate that is specified in the configuration register is used by the ROM monitor only and is
different from the baud rate that is specified by the
set system baud
command.
To set the ROM-monitor console-port baud rate in the configuration register, perform this task in
privileged mode:
Task
Command
Set the boot field in the configuration register.
set boot config-register boot
{
rommon
|
bootflash
|
system
} [
mod
]
Task
Command
Set the ROM-monitor console-port baud rate in
the configuration register.
set boot config-register baud
{
1200
|
2400
|
4800
|
9600
} [
mod
]