Using the Flash File System
To set the default Flash device, perform this task:
Task
Step 1
Set the default Flash device for the system.
Step 2
Verify the default Flash device for the system.
This example shows how to change the default Flash device to bootflash: and verify the default device:
Console> (enable) cd bootflash:
Console> (enable) pwd
bootflash
Console> (enable)
Setting the Text File Configuration Mode
When you configure the switch to use text file configuration mode, the switch stores its configuration as
a text file in non-volatile storage, either in NVRAM or FLASH memory. This text file consists of
commands entered by you to configure various features. For example, if you disable a port, the command
to disable that port will be in the text configuration file.
Since the text file contains only commands you have used to configure your switch, it typically uses less
NVRAM or FLASH memory space than binary configuration mode. Because the text configuration file
in most cases requires less space, NVRAM is a good place to store the file. If the text file exceeds
NVRAM space, it can also be stored to FLASH memory.
When the switch is operating in text file configuration mode, most user settings are not immediately
saved to NVRAM. Configuration changes are written only to DRAM. You will need to enter the write
memory command to store the configuration in non-volatile storage.
Note
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:
Task
Step 1
Set the file configuration mode for the system to
text.
Step 2
Verify the file configuration mode for the system. show config mode
Step 3
Save the text file configuration.
Step 4
Display the current runtime configuration.
Step 5
Display the startup configuration that will be used
after the next reset.
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 runtime configuration:
Console> (enable) set config mode text nvram
Binary system configuration has been deleted from NVRAM. Configuration
mode set to text. Use the write memory command to save configuration changes.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
30-2
Chapter 30
Command
cd [[m/][bootflash:]]
pwd [mod_num]
Command
set config mode {binary | text} [nvram |
device:file-id]
write memory
show running-config all
show config
Using the Flash File System
78-12647-02