2-256
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set config mode
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