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. For information on how to format the remote URL, see URL formatting for copy commands.

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

Authority

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

Examples

TFTP upload:

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

SFTP upload:

switch# copy primary sftp://swuser@192.0.2.0/00_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/00_10_00_0002.swi
primary.swi                           100%  179MB  35.8MB/s   00:05