beautypg.com

Example file transfers using scp, Copying a file to the running config, Copying a file to the startup config – Brocade FastIron Ethernet Switch Security Configuration Guide User Manual

Page 94: Copying a software image file to flash memory

background image

Example file transfers using SCP

The following are examples of using SCP to transfer files to and from a Brocade device.

Copying a file to the running config

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

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

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

Copying a file to the startup config

To copy the configuration file to the startup configuration file, enter the following command.

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

Copying the running config file to an SCP-enabled client

To copy the running configuration file on the Brocade device to a file called c:\cfg\fdryrun.cfg on the
SCP-enabled client, enter the following command.

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

Copying the startup config file to an SCP-enabled client

To copy the startup configuration file on the Brocade device to a file called c:\cfg\brcdestart.cfg on the
SCP-enabled client, enter the following command.

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

To overwrite the running configuration file

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

Copying a software image file to flash memory

The scp command syntax differs between device series. Use the command syntax in the appropriate
section.

Brocade FCX Series, ICX 6610, and FastIron X Series Devices

To copy a software image file from an SCP-enabled client to the primary flash on these devices, enter
one of the following commands.

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

or

C:\>scp FCXR08000.bin [email protected]:flash:pri:FCXR08000.bin

Example file transfers using SCP

94

FastIron Ethernet Switch Security Configuration Guide

53-1003088-03