Upgrading Software Images and Configuration Files
December 2008
© 2008 Foundry Networks, Inc.
7-33
Copying a Configuration File To or From a TFTP Server
To copy the startup-config or running-config file to or from a TFTP server, use one of the following methods.
NOTE:
You can name the configuration file when you copy it to a TFTP server. However, when you copy a
configuration file from the server to a NetIron MLX Series router, the file is always copied as “startup-config” or
“running-config”, depending on which type of file you saved to the server.
To initiate transfers of configuration files to or from a TFTP server, enter one of the following commands at the
Privileged EXEC level of the CLI:
•
copy startup-config tftp
<tftp-ip-addr> <filename> – Use this command to upload a copy of startup-config
from the NetIron MLX Series router to a TFTP server.
•
copy running-config tftp
<tftp-ip-addr> <filename> – Use this command to upload a copy of the running
configuration from the NetIron MLX Series router to a TFTP server.
•
copy tftp startup-config
<tftp-ip-addr> <filename> – Use this command to download a copy of the startup-
config from a TFTP server to a router.
•
copy tftp running-config
<tftp-ip-addr> <filename> [
overwrite
] – Use this command to download the
running configuration from the system’s runtime memory to a TFTP server. The running configuration is then
appended to the current configuration of a NetIron MLX Series router.
Making Local Copies of the Startup Configuration File
You can copy the startup-config file in code flash to a TFTP server or to a PCMCIA flash card inserted in a
management module’s slot 1 or 2.
For example, to make a backup copy of the startup-config file and save the backup file to a TFTP server, enter a
command such as the following at the Privileged EXEC level in the CLI:
NetIron# copy startup-config tftp 10.28.40.21 startup-config.bak
Syntax:
copy startup-config tftp <ip-address> <dest-file-name>
The <ip-address> variable specifies the IP address of the TFTP server that you want to save the startup
configuration to.
The <dest-file-name> specifies the name of the file you copied to a new destination.
For example, to make a backup copy of the startup-config file and save the backup file on a flash card in slot 2,
enter a command such as the following at the Privileged EXEC level in the CLI:
NetIron# copy startup-config slot2 /backups/startup-config.bak
Syntax:
copy startup-config [slot1 | slot2] [/<dest-dir-path>]/<dest-file-name>
Specify the <dest-dir-path> parameter if you want to copy the source file to a file system that does not have
current management focus.
The <dest-file-name> specifies the name of the file you copied to a new destination.
Dynamic Configuration Loading
You can load dynamic configuration commands (commands that do not require a reload to take effect) from a file
on a TFTP server into the router’s running-config. You can make configuration changes off-line, then load the
changes directly into the device’s running-config, without reloading the software.
Usage Considerations
•
Use this feature only to load configuration information that does not require a software reload to take effect.
For example, you cannot use this feature to change statically configured memory (
system-max
command).
•
Do not load port configuration information for secondary ports in a trunk group. Since all ports in a trunk group
use the port configuration settings of the primary port in the group, the software cannot implement the