beautypg.com

Brocade BigIron RX Series Hardware Reference Manual User Manual

Page 159

background image

Brocade BigIron RX Series Hardware Installation Guide

147

53-1002483-03

Loading and saving configuration files

6

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 BigIron RX Series, 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 BigIron RX Series 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 BigIron RX Series 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 switch.

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 BigIron RX Series.

Making local copies of the startup configuration file

You can copy the startup-config file in code flash to another location in code flash or to a PCMCIA
flash card inserted in the management module’s slot 1 or 2.

For example, to make a backup copy of the startup-config file and save the backup file in code
flash, enter a command such as the following at the Privileged EXEC level in the CLI:

BigIron RX# cp startup-config startup-config.bak

Syntax: cp <source-file-name> <dest-file-name>

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:

BigIron RX# cp startup-config /slot2/backups/startup-config.bak

Syntax: cp [/<source-dir-path>]/<source-file-name> [/<dest-dir-path>]/<dest-file-name>

NOTE

These example assume that code flash has the current management focus.

Specify the parameter if the source file is in a file system that does not have
current management focus. The <source-file-name> specifies the name of the file you want to
copy.

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.