2-227
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set boot config-register auto-config
If you use the set boot auto-config bootflash:switch.cfg with the overwrite option, you must use the
copy config bootflash:switch.cfg command to save the switch configuration to the auto-config file.
If you use the set boot auto-config bootflash:switchapp.cfg with the append opti on, y ou ca n use th e
copy acl config bootflash:switchapp.cfg command to save the switch configuration to the auto-config
file.
If the ACL configuration location is set to Flash memory , the f ollo win g message is display ed afte r e v ery
commit operation for either security or QoS. Use the copy command to save your ACL configuration to
Flash memory. If you reset the system and you made one or more commits but did not copy commands
to one of the files specified in the CONFIG_FILE variable, the following message displays:
Warning: System ACL configuration has been modified but not saved to Flash.
The files used with the recurring and non-recurring options are those specified by the CONFIG_FILE
environment variable.
Examples This example shows how to specify the ACL configuration Flash file at system startup:
Console> (enable) set boot auto-config bootflash:switchapp.cfg
Console> (enable) set boot config-register auto-config recurring
Console> (enable)
This example shows how to ignore the configuration information stored in NVR AM the next time the
switch is restarted:
Console> (enable) set boot config-register auto-config non-recurring
Configuration register is 0x2102
ignore-config: disabled
auto-config: non-recurring, overwrite, auto-sync disabled
console baud: 9600
boot: image specified by the boot system commands
Console> (enable)
This example shows how to append the auto-config file to the file currently in the NVRAM
configuration:
Console> (enable) set boot config-register auto-config append
Configuration register is 0x2102
ignore-config: disabled
auto-config: non-recurring, append, auto-sync disabled
console baud: 9600
boot: image specified by the boot system commands
Console> (enable)
This example shows how to use the auto-config overwrite option to save the ACL configuration to a
bootflash file:
Console> (enable) copy config bootflash: switch.cfg
Console> (enable) set boot auto-config bootflash:switch.cfg
Console> (enable) set boot config-register auto-config overwrite
Console> (enable)
Caution The following two examples assume that you have saved the ACL configuration to the
bootflash:switchapp.cfg file.