copy <REMOTE-URL>

Syntax

copy <REMOTE-URL> {primary | secondary} [vrf <VRF-NAME>]

Description

Downloads and installs a firmware image from a TFTP or SFTP server.

Command context

Manager (#)

Parameters

<REMOTE-URL>

Specifies the URL from which to download the firmware using SFTP or TFTP. For information on how to format the remote URL, see URL formatting for copy commands.

{primary | secondary}

Selects the primary or secondary image profile for receiving the downloaded firmware. Required.

vrf <VRF-NAME>
Specifies the name of a VRF. Default: default.

Authority

Administrators or local user group members with execution rights for this command.

Examples

TFTP download:

switch#  copy tftp://192.10.12.0/ss.10.00.0002.swi primary
The primary image will be deleted.

Continue (y/n)? y
######################################################################### 100.0%
Verifying and writing system firmware...

SFTP download:

switch# copy sftp://swuser@192.10.12.0/ss.10.00.0002.swi primary
The primary image will be deleted.

Continue (y/n)? y
The authenticity of host '192.10.12.0 (192.10.12.0)' can't be established.
ECDSA key fingerprint is SHA256:L64khLwlyLgXlARKRMiwcAAK8oRaQ8C0oWP+PkGBXHY.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.10.12.0' (ECDSA) to the list of known hosts.
swuser@192.10.12.0's password:
Connected to 192.10.12.0.
Fetching /users/swuser/ss.10.00.0002.swi to ss.10.00.0002.swi.dnld
/users/swuser/ss.10.00.0002.swi                  100%  179MB  25.6MB/s   00:07
Verifying and writing system firmware...