26-3
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 26 Working With the Flash File System
Working with the Flash File System on the Switch
When operating in text file configuration mode, most user settings are not immediately saved to
NVRAM; the configuration changes are only written to DRAM. You will need to enter the
write
memory
command to store the configuration in nonvolatile storage.
Note
The VLAN commands are not saved as part of the configuration file when the switch is operating in text
mode with the VTP mode set to server.
To set the text file configuration mode, perform this task:
This example shows how to configure the system to save its configuration as a text file in NVRAM,
verify the configuration mode, and display the current run-time configuration:
Console> (enable)
set config mode text nvram
Console> (enable)
show config mode
Console> (enable)
show running-config all
Console> (enable)
show config
Console> (enable)
Setting the Text File Configuration Mode to Auto-Save
Use the
set config mode text auto-save
command to save the text configuration in NVRAM
automatically. Use the
interval
keyword to set the time interval between the occurrences of saving the
text configuration in NVRAM. You can specify the time interval between the occurrences of saving the
text configuration in NVRAM even 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.
Note
In software release 8.4(1) and earlier releases, valid values for the
mins
argument are from 30 minutes
to 35000 minutes. In release 8.4(2) and subsequent releases, valid values for the
mins
argument are from
1 minute to 35000 minutes.
The text configuration is not saved automatically in NVRAM unless auto-save is enabled. To enable
auto-save, 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 binary mode, you cannot enable
auto-save.
Task
Command
Step 1
Set the file configuration mode for the system to
text.
set config mode text
{
nvram
|
device:file-id
}
Step 2
Verify the file configuration mode for the system.
show config mode
Step 3
Save the text file configuration.
write memory
Step 4
Display the current run-time configuration.
show running-config all
Step 5
Display the startup configuration that will be used
after the next reset.
show config