Command: download

Home | Command modes | Alphabetical listing

download

Downloads and runs a new image. If you use the download command without the optional parameters, the switch prompts you to provide the necessary information. The switch maintains a memory and can reuse the last information entered for the download command. To reuse information, press Enter when the switch prompts you to provide details rather than typing the information.

Syntax

Default

None

Command mode

Privileged EXEC

Command parameters

ParameterDescription

{address | sftp address | tftp address} <A.B.C.D | WORD>

Specifies the IPv4 or IPv6 address of the TFTP or SFTP server to be used. The address parameter is optional and if omitted the switch defaults to the TFTP server specified by the tftpserver command unless software download is to take place using a USB mass storage device. The sftp address parameter appears only if the switch runs a secure image.

diag <WORD>

Specifies the name of the diagnostic image to be downloaded from the TFTP server.

image <WORD>

Specifies the name of the software image to be downloaded from the TFTP server.

image-if-newer <WORD>

Specifies the name of the software image to be downloaded from the TFTP server if newer than the currently running image.

no-reset

Stops the switch from resetting after the software download is complete.

primary | secondary

Specifies the image to download: primary or secondary.

unit <1-8>

Downloads the image from the USB of another unit in a stack.

usb

Downloads the image from the USB.