Copying files using the cp command – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 110
![background image](/manuals/361635/110/background.png)
80
Multi-Service IronWare Switching Configuration Guide
53-1003036-02
Verifying available flash space on the management module before an image is copied
3
To copy the running configuration for the device into a file on a flash card, enter a command similar
to the following.
Brocade# copy running-config slot1 runip.1
Syntax: copy running-config slot1 | slot2 [/to-dir-path/]to-name
To copy the running configuration for the device into a file on a TFTP server, enter a command such
as the following.
Brocade# copy running-config tftp 10.10.10.1 runip.1
Loading a running-config from a flash card or a TFTP server
Use the following method to load configuration commands into the active configuration for the
Brocade device.
NOTE
A configuration file that you create must follow the same syntax rules as the startup-config the
device creates. Refer to “Dynamic Configuration Loading” in the appropriate hardware installation
guide.
To copy a running-config from a flash card, enter a command such as the following.
Brocade# copy slot2 running-config runacl.2
Syntax: copy slot1 | slot2 running-config [/from-dir-path/]from-name
The command in this example changes the active configuration for the device based on the
information in the file.
To copy a running-config from a TFTP server, enter a command similar to the following.
Brocade# copy tftp running-config 10.10.10.1 run.cfg overwrite
Syntax: copy tftp running-config ip-addr [/from-dir-path/]from-name [overwrite]
This command copies a running-config from a TFTP server and overwrites the active configuration
for the device.
NOTE
You cannot use the overwrite option from non-console sessions, as it will disconnect the session.
When a configuration file is loaded using the
copy tftp running-config
command, the following
commands within the configuration file are supported.
•
isis metric command
•
set-overload-bit command
•
admin-group
•
cspf-group
•
bypass-lsp
Copying files using the cp command
Use the cp command to do the following:
•
Copy files from flash memory to flash memory