copy flash scp
Syntax for copying an image between two DUTs:
copy flash scp
{
ipv4-address-
|
ipv4-hostname-
|
ipv6
{
ipv6-address-prefix/prefix-length
|
ipv6-hostname-
}
outgoing-interface
{
ethernet
stackid/slot/port
|
ve
ve-number
}
}
[
public-key
{
dsa
|
rsa
}
]
[
remote-port
]
remote-filename
{
flash:primary
|
secondary
}
Syntax for uploading from an ICX device to a Linux or a Windows server:
copy flash scp
{
ipv4-address-
|
ipv4-hostname-
|
ipv6
{
ipv6-address-prefix/prefix-length
|
ipv6-hostname-
}
outgoing-interface
{
ethernet
stackid/slot/port
|
ve
ve-number
}
}
[
public-key
{
dsa
|
rsa
}
]
[
remote-port
]
remote-filename
{
primary
|
secondary
}
- ipv6-address-prefix/prefix-length
- 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.
- 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.
- 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.
- flash:primary
- Specifies the binary image in primary flash memory. Configure the flash:primary keyword when transferring files between DUTs,. See the usage note regarding using this keyword when transferring files between DUTs.
Privileged EXEC mode
You are prompted for username and password when you configure this command.
The following example uploads a copy of an OS image file from the primary flash memory on an ICX device to the SCP server:
device# copy flash scp 10.20.1.1 SPS08040-scp.bin primary device# copy flash scp 10.20.1.1 SPS08040-scp.bin secondary
The following example uploads a copy of an OS image file from the primary flash memory on an ICX device to an SCP server with the IP address of 172.26.51.180 :
device# copy flash scp 172.26.51.180 filename primary
| Release version | Command history |
|---|---|
| 08.0.20 | This command was introduced. |