25-8
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 CONFIG_FILE Overwrite
This command allows you 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.
Overwriting means that the NVRAM configuration will be cleared before executing the auto-config file;
appending means that the auto-config file will be executed without first clearing NVRAM. The default
is
overwrite
.
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 is 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 is 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
The
set boot config-register auto-config sync
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
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
}