Copying a File to the running-config

To copy a configuration file from an SCP-enabled client to the running configuration on a RUCKUS ICX, enter the scp command followed by the location of the source file, the name of the user logging in, the IP address of the RUCKUS ICX device, and the destination filename (runConfig) preceded by a colon and no space as shown in the following example.

C:\> scp c:\cfg\default.cfg terry@10.168.1.50:runConfig

The example copies the configuration file located at c:\cfg\default.cfg to the running configuration file (runConfig) on a RUCKUS ICX device with the IP address 10.168.1.50 and logs in as the user terry.

Note: If password authentication is enabled for SSH, the user is prompted for the password of the user (terry in the example) before the file transfer takes place.
The following example was removed from the end of the topic Copying the startup config file to an SCP-enabled client, where it did not appear to belong. Should it be used instead of the example above? What is the actual difference between the two? Won't the previous example overwrite the existing config file? This should all be explained if both examples are needed.

To overwrite the running configuration file

C:\> scp c:\cfg\default.cfg terry@10.168.1.50:runConfig-overwrite