cc/td/doc/product/software/ios121/121sup/121csum1
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuration File Commands

Configuration File Commands

This chapter explains the function and syntax of the configuration file commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Configuration Fundamentals Command Reference, Release 12.1.

Flash Memory File System Types

Cisco platforms use one of three different Flash memory file system types. Some commands are supported on only one or two file system types. This chapter notes commands that are not supported on all file system types. See Table 3 to determine which Flash memory file system type your platform uses.


Table 3: Flash Memory File System Types
Type Platforms

Class A

Cisco 7000 family, C12000, LightStream1010

Class B

Cisco 1003, Cisco 1004, Cisco 1005, Cisco 2500 series, Cisco 3600 series, Cisco 4000 series, Cisco AS5200

Class C

Cisco MC3810, disk0 of SC3640

Replaced Commands

Some commands in this chapter have been replaced by new commands. Older commands continue to provide the same functionality in the current release, but are no longer documented. Support for these commands will cease in a future release. Table 4 maps the old commands to their replacements.


Table 4: Mapping Old Commands to New Commands
Old Command New Command

configure network

copy ftp:[[[//[username[:password]@]location]/directory]
/filename] system:running-config

configure overwrite-network

copy ftp:[[[//[username[:password]@]location]/directory]
/filename] nvram:startup-config

copy rcp running-config

copy rcp:[[[//[username@]location]/directory]/filename] system:running-config

copy running-config rcp

copy system:running-config rcp:[[[//[username@]location]/directory]/filename]

copy running-config startup-config

copy system:running-config nvram:startup-config

copy running-config tftp

copy system:running-config tftp:[[[//location]/directory]/filename]

copy tftp running-config

copy tftp:[[[//location]/directory]/filename] system:running-config

copy tftp startup-config

copy tftp:[[[//location]/directory]/filename] nvram:startup-config

erase startup-config

erase nvram:

show configuration

more nvram:startup-config

show file

more

show running-config

more system:running-config

write erase

erase nvram:

write memory

copy system:running-config nvram:startup-config

write network

copy system:running-config ftp:[[[//[username
[:password]@]location]/directory]/filename]

write terminal

more system:running-config

boot buffersize

To modify the buffer size used to load configuration files, use the boot buffersize global configuration command. Use the no form of this command to return to the default setting.

boot buffersize bytes

no boot buffersize

Syntax Description

bytes

Specifies the size of the buffer to be used. There is no minimum or maximum size that can be specified.

boot config

To specify the device and filename of the configuration file from which the router configures itself during initialization (startup), use the boot config global configuration command. This command is only available on Class A file system platforms. Use the no form of this command to remove the specification.

boot config file-url

no boot config

Syntax Description

file-url

URL of the configuration file. The configuration file must be an ASCII file located in either NVRAM or a Flash file system.

boot host

To change the default name of the host configuration filename from which to load configuration commands, use the boot host global configuration command. Use the no form of this command to restore the host configuration filename to the default.

boot host remote-url

no boot host remote-url

Syntax Description

remote-url

Configures the router to boot the configuration file specified by the FTP, rcp, or TFTP URL:

  • ftp:[[[//[username[:password]@]location]/directory]/filename]

  • rcp:[[[//[username@]location]/directory]/filename]

  • tftp:[[[//location]/directory]/filename]

boot network

To change the default name of the network configuration file from which to load configuration commands, use the boot network global configuration command. Use the no form of this command to restore the network configuration filename to the default.

boot network remote-url

no boot network remote-url

Syntax Description

remote-url

Configures the router to boot the configuration file specified by the FTP, rcp, or TFTP URL:

  • ftp:[[[//[username[:password]@]location]/directory]/filename]

  • rcp:[[[//[username@]location]/directory]/filename]

  • tftp:[[[//location]/directory]/filename]

configure

To enter global configuration mode, use the configure privileged EXEC command. You must be in global configuration mode to enter global configuration commands.

configure {terminal | memory}

Syntax Description

terminal

Executes configuration commands from the terminal.

memory

For all platforms except Class A Flash file system platforms, executes the commands stored in NVRAM.

For the Class A Flash file system platforms, executes the configuration specified by the CONFIG_FILE environment variable.

configure overwrite-network

The copy {ftp-url | rcp-url | tftp-url} nvram:startup-config command replaces the configure overwrite-network command. See the copy command in the "Router Memory Commands" chapter for more information.

service compress-config

To compress startup configuration files, use the service compress-config global configuration command. To disable compression, use the no form of this command.

service compress-config

no service compress-config


Syntax Description

This command has no arguments or keywords.

service config

To enable autoloading of configuration files from a network server, use the service config global configuration command. Use the no form of this command to restore the default.

service config

no service co
nfig

Syntax Description

This command has no arguments or keywords.

show file

The more command replaces the show file command. See the description of the more command for more information.

show running-config

The more system:running-config command replaces the show running-config command. See the description of the more command for more information.

show startup-config

The more nvram:startup-config command replaces the show startup-config command. See the description of the more command for more information.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Jul 26 15:42:19 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.