copy scp flash
Syntax for copying an image between two DUTs:
copy scp flash
{
ipv4-address
|
ipv4-hostname
|
ipv6
{
ipv6-address
|
ipv6-hostname
}
remote-filename
{
{
flash:primary
|
flash:secondary
}
}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
}
remote-filename
{
primary
|
secondary
}
}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.
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 the image from an SCP server to the secondary partition of the flash drive of an ICX device.
device# copy scp flash 10.198.137.141 /buildsjc/09000/fi/20210621_v09000/stage/Images/TNR09000_b398ufi.bin secondary Login:tjones Password: Parameter Validation Successful Image Download started ..................................................Image Download Done Image Validation Started ............Image sync complete Image Write Done Image Download Complete
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