|
|
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.
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.
| 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 |
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.
| Old Command | New Command |
|---|---|
configure network | copy ftp:[[[//[username[:password]@]location]/directory] |
configure overwrite-network | copy ftp:[[[//[username[:password]@]location]/directory] |
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 |
write terminal | more system:running-config |
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
Syntax Description
bytes Specifies the size of the buffer to be used. There is no minimum or maximum size that can be specified.
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
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.
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
Syntax Description
remote-url Configures the router to boot the configuration file specified by the FTP, rcp, or TFTP URL:
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
Syntax Description
remote-url Configures the router to boot the configuration file specified by the FTP, rcp, or TFTP URL:
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.
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.
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-configSyntax Description
This command has no arguments or keywords.
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 configSyntax Description
This command has no arguments or keywords.
The more command replaces the show file command. See the description of the more command for more information.
The more system:running-config command replaces the show running-config command. See the description of the more command for more information.
The more nvram:startup-config command replaces the show startup-config command. See the description of the more command for more information.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 15:42:19 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.