2-297
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set config mode
Usage Guidelines You can specify the time interval between occurrence s of sa ving the te x t conf igur ation in NVRAM e v en
if the system is in binary mode. If you do not specify the number of minutes after entering the interval
keyword, the interval is set to the default of 30 minutes.
The text configuration is not saved automatically in NVRAM unless the auto -sa v e featu re i s enabled . To
enable the auto-save feature, you must first set the system configuration mode to text and configure the
system to save the text configuration in NVRAM. If the system configuration mode is set to a binary
model, you cannot enable the auto-save feature.
Examples This example shows how to set the configuration mode to binary :
Console> (enable) set config mode binary
System configuration copied to NVRAM. Configuration mode set to binary.
Console> (enable)
This example shows how to set the configuration mode to text and designate the location and filename
for saving the text configuration file:
Console> (enable) set config mode text bootflash:switch.cfg
Binary system configuration has been deleted from NVRAM. Configuration mode set to text.
Use the write memory command to save configuration changes. System configuration file set
to: bootflash:switch.cfg
The file specified will be used for configuration during the next bootup.
Console> (enable)
This example shows how to enable the auto-save feature when the configuration is set to text mode and
the system is configured to save the text configuration in NVRAM:
Console> (enable) set config mode text auto-save enable
auto-save feature has been enabled
auto-save feature has started
Please do a write mem manually if you plan to reboot the switch or any card before first
expiry of the timer
Console> (enable)
This example shows the message that is displayed if you attempt to enab le th e aut o-save featur e whe n
the configuration is not set to text mode and the system is not configured to save the text configura tion
in NVRAM:
Console> (enable) set config mode text auto-save enable
auto-save cannot be enabled unless config mode is set to text and config file is stored in
nvram.
Use the 'set config mode text nvram' command to enable automatic saving of the system
configuration to nvram
Console> (enable)
This example shows how to set the interval between saves to 2880 minutes:
Console> (enable) set config mode text auto-save interval 2880
auto-save interval set to 2880 minutes
Console> (enable)
This example shows how to set the interval between saves to the default setting of 30 minutes:
Console> (enable) set config mode text auto-save interval
auto-save interval set to 30 minutes
Console> (enable)