23-8
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 23 Modifying the Switch Boot Configuration
Setting the Configuration Register
To specify if the auto-config file should be used to overwrite the NVRAM configuration or if the file
configuration should be appended to what is currently in NVRAM, perform this task in privileged mode:
This example shows how to specify that the auto-config file be used to overwrite the NVRAM
configuration:
Console> (enable)
set boot config-register auto-config overwrite
Configuration register is 0x12F
ignore-config: disabled
auto-config: recurring, overwrite, sync disabled
console baud: 9600
boot: image specified by the boot system commands
Console> (enable)
This example shows how to specify that the auto-config file be appended to what is currently in
NVRAM:
Console> (enable)
set boot config-register auto-config append
Configuration register is 0x12F
ignore-config: disabled
auto-config: recurring, append, sync disabled
console baud: 9600
boot: image specified by the boot system commands
Console> (enable)
Setting CONFIG_FILE Synchronization
This command allows you to enable synchronization to force the auto-config file(s) to synchronize
automatically to the standby supervisor engine. The file(s) are kept consistent with what is on the active
supervisor engine. The default is
disabled
. These events can trigger a synchronization check and a
synchronization (if necessary):
•
Changing the auto-config file(s) on either supervisor engine (if the file is deleted on the active
supervisor engine, it is also deleted on the standby supervisor engine)
•
Changing the boot string CONFIG_FILE variable setting
•
Inserting a new supervisor engine
•
System startup
The CONFIG_FILE variable from the active supervisor engine is made identical on the standby
supervisor engine. Each auto-config file on the active supervisor engine is compared against each
corresponding auto-config file on the standby supervisor engine. Two files are considered identical if
their lengths and CRC are the same. If a file on the standby supervisor engine is not identical to the file
on the active supervisor engine, a new file is generated on the standby supervisor engine with the name
of the file on the active supervisor engine. If a file with that name already exists on the standby
supervisor engine, it is overwritten.
Task
Command
Specify if the auto-config file should be used to
overwrite the NVRAM configuration or if the file
configuration should be appended to what is
currently in NVRAM.
set boot config-register auto-config
{
overwrite
|
append
}