copy scp running-config

Downloads a copy of the running configuration file from an SCP server to a FastIron device.
Syntax
copy scp running-config { ipv4-address | ipv4-hostname | ipv6 { ipv6-address | ipv6-hostname } [ outgoing-interface { ethernet stackid/slot/port | ve ve-number } ] } [ public-key { dsa | rsa } ] [ remote-port ] remote-filename overwrite
Parameters
ipv4-address
Specifies the IPV4 address of the SCP server.
ipv4-hostname
Specifies the IP hostname of the SCP server.
ipv6
Specifies the IPV6 address method for SCP file transfer.
ipv6-address-prefix
Specifies the IPV6 address of the SCP server. You must specify this address in hexadecimal using 16-bit values between colons, as documented in RFC 2373.
ipv6-hostname
Specifies the IPv6 hostname of the SCP server.
outgoing-interface
Specifies the interface to be used to reach the remote host.
ethernet stackid/slot/port
Configures an Ethernet interface as the outgoing interface.
ve ve-number
Configures a virtual interface (VE) as the outgoing interface.
public-key
Specifies the type of public key authentication to use for the connection, either digital signature algorithm (DSA) or Rivest, Shamir, and Adelman (RSA) . If you do not configure this parameter, the default authentication type is password.
dsa
Specifies DSA as the public key authentication.
rsa
Specifies RSA as the public key authentication.
remote-port
Specifies the remote port number for the TCP connection.
remote-filename
Specifies the name of the file in the SCP server that is be transferred. You can specify up to 127 characters for the filename.
overwrite
Specifies that the FastIron device should overwrite the current configuration file with the copied file. If you do not specify the overwrite keyword, the device copies the downloaded file into the current running or startup configuration but does not overwrite the current configuration.
Modes

Privileged EXEC mode

Usage Guidelines

You are prompted for username and password when you configure this command.

Examples

The following example downloads a copy of the running configuration file from an SCP server to a FastIron device:

device# copy scp running-config 172.26.51.180 abc.cfg 

The following example downloads a copy of the running configuration file from an SCP server to a FastIron device and overwrite the current configuration file with the copied file:

device# copy scp running-config 172.26.51.180 abc.cfg overwrite
History
Release version Command history
08.0.20 This command was introduced.