Cisco Systems 10008 quick start Managing Configuration Files Larger than Nvram

Page 42

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-configglobal 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-configcommand.

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-sizebytes].

Relocating the Configuration to a Flash Disk

To run the startup configuration off a Flash disk, use the following commands beginning in privileged EXEC mode:

Step 1 Copy the current startup configuration to a new location. In the following example, the configuration file is copied from a TFTP server to a Flash disk in slot 0:

Router# copy tftp://172.16.2.15/example-config disk0:router-config

Step 2 Enter global configuration mode.

Router# configure terminal

Router(config)#

Step 3 The buffer that holds the configuration file is usually the size of NVRAM (512 KB). Larger configurations need larger buffers. Change the size of the buffer that holds the configuration commands.

Router(config)# boot buffersize 1024000

Step 4 Specify that the startup configuration file is located in Flash memory by setting the CONFIG_FILE variable. In the following example, the system is told that the boot configuration file is in slot 0 and the filename is router-config:

Router(config)# boot config disk0:router-config

42

Image 42
Contents Cisco 10008 Router Documentation Survey Related Documentation Documentation and ResourcesDocument Version History Obtaining DocumentationDocumentation Feedback Product Documentation DVDOrdering Documentation Reporting Security Problems in Cisco Products Cisco Product Security OverviewObtaining Technical Assistance Submitting a Service Request Definitions of Service Request SeverityCisco Technical Support & Documentation Website Obtaining Additional Publications and Information Recommended Tools and Supplies Preparing for InstallationSite Preparation Quantity Description CommentsInstalling the Router Lifting the Chassis Lifting the ChassisPower Fault Miswire Rack-Mounting the Router in a 19-Inch 4-Post Rack30012 Step Attaches the chassis to the rackRack-Mounting the Router in a 23-Inch 2-Post Rack Aution30014 30015 Attaching the Cable-Management Bracket Attaching the Cable-Management BracketAttaching Grounding Wire to Grounding Lug Attaching the Grounding LugInstalling Line Cards Suitable grounding is available. StatementConnecting Power Connecting DC Power to the Cisco 10008 RouterOr weld the metal object to the terminals. Statement Set the DC PEM switches to the Off position Removing the Safety Cover DC Power Connections Connecting AC Power to the Cisco 10008 Router Securing DC Power Cables to the ChassisSetting AC PEM Switches to the Off Position AC Power Cord Connectors in Strain-Relief Devices Connecting Cables Connecting Alarm IndicatorsRemoving the Safety Cover Alarm Indicator Terminal Block Connections Connecting a Video Terminal to the PRE Console Port Alarm Indicator Wires Exiting the Safety CoverConsole Port Connection on the PRE Connecting Network Management and Signal System Cables Ethernet Network Management Cable ConnectionsConnecting to a 100BASE-T Ethernet Network Correctly connected to the 100BASE-T Ethernet LAN Installing Network Cables to the Line Cards Auxiliary Modem ConnectionPowering On the System Power Fault MiswireConfiguring the Cisco 10008 Router at Startup Basic Configuration Using the Setup FacilityStartup Display Using the System Configuration Dialog Basic System Configuration ProcedureSpecify the IP address Basic Configuration in Global Configuration Mode Routerconfig # interface FastEthernet0/0/0Formatting Flash Disks and Flash Cards Router# format disk0Managing the File Systems File SystemsCLI Name Description Managing Configuration Files Larger than Nvram Compressing the Configuration FileRelocating the Configuration to a Flash Disk Exit global configuration mode Troubleshooting Installation Problems General Troubleshooting TipsSymptom Steps to Take Troubleshooting Ethernet Connections Switch configure terminalTroubleshooting the Console Port Serial Connection Page USA