2-247
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set config mode
In release 7.6(10) and later releases, the maximum value that you can set for the mins value is 35000
minutes (25 days). Any commands with an interval configuration that is greater than 35000 minutes in
the configuration file when loaded on the switch is set to the maximum value of 35000 minutes
internally.
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)
Related Commands show config mode
write