copy scp flash
Syntax for copying an image between two DUTs:
copy scp flash
{
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
{
{
flash:primary
|
secondary
}
|
{
fips-ufi-primary-sig
|
fips- ufi-secondary-sig
}
}
Syntax for downloading to a DUT from a Linux or a Windows server:
copy scp flash
{
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
{
{
primary
|
secondary
}
|
{
fips-ufi-primary-sig
|
fips- ufi-secondary-sig
}
}
- 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 file name.
- secondary
- Specifies that the file being copied is a secondary image file or a secondary UFI image file.
- fips-ufi-primary-sig
- Specifies that the file being copied is a FIPS primary unified file image (UFI) signature file.
Privileged EXEC mode
When you configure this command, you are prompted for the username and password.
When transferring files between devices under test (DUTs), you should configure the flash:primary keyword instead of the primary keyword because the SCP server does not support remote-filename aliases.
The syntax for copying an image between two devices under test (DUTs) is different from the syntax for downloading from a DUT to a Linux or a Windows server.
If using the fips-ufi-primary-sig or fips-ufi-secondary-sig keyword, the file name must be in ASCII text and must contain the .sig extension. The unified file image (UFI) consists of the application image, the boot code image, and the FI signature in one unified file.
The .sig file must be used when FIPS is enabled to validate the unified image with the corresponding signature file.
UFI image download is supported using TFTP, USB, and SCP only.
The following example copies an image from an SCP server to an ICX device.
device# copy scp flash 10.20.1.1 SPR08030.bin primary device# copy scp flash 10.20.1.1 SPR08030.bin secondary
The following example copies a FIPS UFI signature file from the SCP server to the primary flash memory.
device# copy scp flash 10.37.2.40 signature_ufi.sig fips-ufi-primary-sig
The following example copies a FIPS UFI signature file from the SCP server to the secondary flash memory.
device# copy scp flash 10.37.2.40 signature_ufi.sig fips-ufi-secondary-sig
The following example copies a UFI file from the SCP server to the primary flash memory.
device# copy scp flash 10.2.3.4 SPR08080b1ufi.bin primary