Cisco Systems 10008 Network Router User Manual


 
4-8
Cisco 10008 Router Hardware Installation Guide
OL-0659-13
Chapter 4 Starting and Configuring the Router
Managing the File Systems
You can use the privileged EXEC commands dir, del, and copy to manage the contents of the file
systems. You can also use the commands mkdir and rmdir to create and remove directories on Flash
disks. You cannot use the commands squeeze and undelete on Flash disks. For more information, refer
to the Cisco IOS Configuration Fundamentals Configuration Guide.
Copying the Startup Configuration to the Running Configuration
Use the copy startup-config running-config command to copy the startup configuration file on
NVRAM to the running configuration. If your startup configuration file is approaching the NVRAM
limit of 512 KB, you must either compress it or relocate it as described in the following sections.
Tip If your configuration file is large, run the copy startup-config running-config command during
off-peak hours. This command might slow down traffic for several minutes while the system is merging
the starting and the running configurations.
Managing Configuration Files Larger than NVRAM
To maintain a configuration file that exceeds the size of NVRAM (512 KB), you must compress or
relocate the configuration file. This section provides an example of each approach. For more
information, refer to the Cisco IOS Configuration Fundamentals Configuration Guide.
Compressing the Configuration File
Use the service compress-config global configuration command to compress the configuration file for
storage in NVRAM. A compressed file can take several minutes longer to load than an uncompressed
file.
To compress configuration files, use the following commands, beginning in global configuration mode:
Step 1 Specify that the configuration file is to be compressed.
Router(config)# service compress-config
Step 2 Exit global configuration mode.
Router(config)# end
Step 3 Use one of the copy commands to copy the new configuration. For example:
Router# copy running-config startup-config
Building configuration...
Compressing configuration from 129648 bytes to 11077 bytes
[OK]
To cancel the compression feature, use the no service compress-config command.
Note If you try to load a configuration that is more than three times larger than the NVRAM size, the following
error message appears: [buffer overflow—file-size/buffer-size bytes].