Procedure 5-7.5: Download File

Step

Use this command to download a file to the switch.

 
1

From the Navigation menu, select System → System Utilities → Download File.

Equivalent CLI command: copy <source> <destination>.

Result:

The Download File to Switch window opens.


2

Enter the parameters as follows:

  • File Transfer Protocol — Select TFTP or SFTP as the file transfer protocol.

  • Username and Password — No entry for TFTP. For SFTP, the Username parameter is the username for logging into the remote server via SSH. When this command is executed, the remote Password is prompted. Both Username and Password are up to 64 characters long.

  • File Type

    Select one:
    • CLI Banner - Specify CLI Banner when you want a banner to be displayed before the login prompt.

    • Code - Specify Code when you want to upgrade the operational flash.

    • Configuration - Specify configuration when you want to update the switch's stored configuration. If the file has errors the update will be stopped.

    • Script - Downloads a configuration script file to the system.

    • SSH-1 RSA Key File - SSH-1 Rivest-Shamir-Adleman (RSA) Key File.

    • SSH-2 RSA Key PEM File - SSH-2 Rivest-Shamir-Adleman (RSA) Key File (PEM Encoded).

    • SSH-2 DSA Key PEM File - SSH-2 Digital Signature Algorithm (DSA) Key File (PEM Encoded).

    • SSL Trusted Root Certificate PEM File - SSL Trusted Root Certificate File (PEM Encoded).

    • SSL Server Certificate PEM File - SSL Server Certificate File (PEM Encoded).

    • SSL DH Weak Encryption Parameter PEM File - SSL Diffie-Hellman Weak Encryption Parameter File (PEM Encoded).

    • SSL DH Strong Encryption Parameter PEM File - SSL Diffie-Hellman Strong Encryption Parameter File (PEM Encoded).

  • Image Name — Specify the code image you want to download, either image1 or image2. This field is only visible when Code is selected as the File Type. The factory default is image1.

  • Remote Server Address Type — Specify either IPv4 or IPv6 to indicate the format of the TFTP Server Address field. The factory default is IPv4.

  • Remote Server Address — Enter the IP address of the TFTP server in accordance with the format indicated by the TFTP Server Address Type. The factory default is the IPv4 address 0.0.0.0.

  • Remote File Path — Enter the path on the TFTP server where the selected file is located. You may enter up to 32 characters. The factory default is blank.

  • Remote File Name — Enter the name of the file you want to download from the TFTP server. You may enter up to 32 characters. The factory default is blank.


3

To initiate the download, check the Start File Transfer box, then click the Submit button.

Result:

The progress of the download is displayed on the screen.

A newly downloaded Code file is saved as either image1 or image2 based on the form selection. The image needs to be activated to be used in subsequent re-boots. This is done using the Procedure 5-7.7: Dual Image Configuration procedure and clicking on the Boot System Image button after selecting the appropriate image. After activating an image, you must perform a Procedure 5-7.2: System Reset of the switch in order to run the new code.


End of steps

Copyright © 2011 Alcatel-Lucent. All rights reserved.