beautypg.com

Brocade Multi-Service IronWare Security Configuration Guide (Supporting R05.6.00) User Manual

Page 277

background image

Multi-Service IronWare Security Configuration Guide

259

53-1003035-02

Using Secure Copy

5

To copy and append a configuration file (c:\cfg\brocadehp.cfg) to the running configuration file on
a device at 192.168.1.50 and log in as user terry, enter the following command on the
SCP-enabled client.

C:\> scp c:\cfg\brocadehp.cfg [email protected]:runConfig

If you are copying the configuration file from the device to a PC or another machine (outbound), the
command saves the running configuration file to the PC. If you are copying a configuration file from
a PC to the device, (inbound) the command appends the source file to the running configuration
file on the device.

If password authentication is enabled for SSH server, the user is prompted for user terry’s
password before the file transfer takes place.

To copy and overwrite the current running configuration file, enter the following command.

C:\> scp c:\cfg\brocadehp.cfg [email protected]:runConfig-overwrite

When a configuration file is loaded using the Secure Copy feature, the following commands within
the configuration file are supported.

isis metric command

set-overload-bit command

admin-group

cspf-group

bypass-lsp

If you are copying a configuration file from a PC to the device, (inbound) the command replaces the
source file on the device.

To copy the configuration file to the startup configuration file.

C:\> scp c:\cfg\brocadehp.cfg [email protected]:startConfig

To copy the configuration file to a file called config1.cfg on the Auxiliary flash card in slot 1 on a
management module.

C:\> scp c:\cfg\brocade.cfg [email protected]:slot1:/config1.cfg

To copy the configuration file to a file called config1.cfg on the Auxiliary flash card in slot 2 on a
management module.

C:\> scp c:\cfg\brocade.cfg [email protected]:slot2:/config1.cfg

To copy the running configuration file on an device to a file called c:\cfg\fdryhprun.cfg on the
SCP-enabled client.

C:\> scp [email protected]:runConfig c:\cfg\fdryhprun.cfg

To copy the startup configuration file on a device to a file called c:\cfg\fdryhpstart.cfg on the
SCP-enabled client.

C:\> scp [email protected]:startConfig c:\cfg\fdryhpstart.cfg

To copy the software image (for example, xmr03300b228.bin) to the primary flash.

C:\> scp c:\xmr03300b228.bin [email protected]:flash:primary

To copy the software image (for example, xmr03300b228.bin) to the secondary flash.

C:\> scp c:\xmr03300b228.bin [email protected]:flash:secondary