Upgrading Using the CLI

Note

Note

The first step to upgrade the software is to backup the image of the existing software release. For more information, see Backing Up and Restoring the Image.

To upgrade the wireless software locally:

  1. Use the copy upgrade server | user | dir | file [dest] [scp scp password] command to download the software upgrade bundle from the remote FTP or SCP server.
    • If you want to download the file on the controller flash device, type flash for dest option in the copy upgrade server | user | dir | file [dest] syntax.
    • If you want to download the file on the controller local drive, leave out the [dest] option in the copy upgrade server | user | dir | file [dest] syntax.
    • If you want to download the file from the SCP server, provide the corresponding SCP server, user, dir and file appended with scp scp password.
    • If you want to download the file from the FTP server do not specify scp scp password at the end, where server, user, dir and file will specify FTP server parameters.

      Example 1 – In the following example, the CLI command states that the upgrade file will be downloaded from the FTP server to the flash card.

      EWC.extremenetworks.com# copy upgrade 192.168.4.10 test system/images/ AC-MV-08.00.01.0003-1.pfe flash

      Example 2 – In the following example, the CLI command states that the upgrade file will be downloaded from the FTP server to the controller local drive.

      EWC.extremenetworks.com# copy upgrade 192.168.4.10 test system/images/ AC-MV-08.00.00.0123-1.pfe

      Example 3 – In the following example, the CLI command states that the upgrade file will be downloaded from the SCP server to the flash card.

      EWC.extremenetworks.com# copy upgrade 192.168.4.10 test system/images AC-MV-08.31.01.0200-1.rue flash scp TestPassword

      Example 4 – In the following example, the CLI command states that the upgrade file will be downloaded from the SCP server to the controller local drive.

      EWC.extremenetworks.com# copy upgrade 192.168.4.10 test system/images AC-MV-08.31.01.0200-1.rue scp TestPassword
  2. Use the show upgrade command to confirm the upgrade file was downloaded successfully.
    EWC.extremenetworks.com# show upgrade
    1: AC-MV-08.00.00.0123-1.pfe
  3. Upgrade the software by running upgrade ac file name command. Type Yes to the Do you wish to continue? prompt.
    EWC.extremenetworks.com# upgrade ac AC-MV-08.00.00.0123-1.pfe bckto local

    This command makes a local backup image of the running system and installs the selected upgrade image.

    To avoid typing the image name, you can specify the image using the index returned by the show upgrade command.

    For example, the command below will install the image with index 1 which, in this case, is AC-MV-08.00.00.0123-1.pfe: upgrade ac 1 bckto local

    To upgrade the wireless software remotely:

  4. Set up the FTP server from which you are downloading the file.
    upgrade_image_src 192.168.4.10 test abc123 system/images AC-MV-08.00.00.0123-1.pfe
  5. Start the upgrade with upgrade ac ftp bckto local command.
    This command first makes a local backup image of the running system, downloads the upgrade image in temporary directory, and installs the image. No local copy of the image exists after the upgrade.