copy {primary | secondary} <REMOTE-URL>

Syntax

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

Description

Uploads a firmware image to a TFTP or SFTP server.

Command context

Manager (#)

Parameters

{primary | secondary}

Selects the primary or secondary image profile to upload. Required

<REMOTE-URL>

Specifies the URL to receive the uploaded firmware using SFTP or TFTP. Required. For information on how to format the remote URL, see URL formatting for copy commands.

vrf <VRF-NAME>
Specifies the VRF instance to use for the download. Provide default, mgmt, or a configured VRF instance. The maximum length is 32 characters. If no VRF is provided, the VRF called default is used. Optional.

Authority

Administrators

Examples

TFTP upload:

switch# copy primary tftp://192.0.2.0/XL_10_00_0002.swi
######################################################################### 100.0%
Verifying and writing system firmware...

SFTP upload:

switch# copy primary sftp://swuser@192.0.2.0/XL_10_00_0002.swi
swuser@192.0.2.0's password:
Connected to 192.0.2.0.
sftp> put primary.swi XL_10_00_0002.swi
Uploading primary.swi to /users/swuser/XL_10_00_0002.swi
primary.swi                           100%  179MB  35.8MB/s   00:05