Extreme Switch Firmware Upgrade
Cloud Execution Environment

Contents

1Introduction
1.1Concepts
1.2Prerequisites

2

Procedure
2.1Identify Switch and Switch Status
2.2Log on to the Selected Switch
2.3Set Switch to Maintenance Mode
2.4Select Download Partition
2.5Install EXOS Core Image
2.6Install Modular Software Package
2.7Use the Newly Installed Partition
2.8Reboot and Activate the New Packages
2.9Check the Status of the Upgraded Switch
2.10Recover Traffic Switch from vCIC
2.11Log Out of the Switch

Reference List

1   Introduction

This Operational Instruction describes how to upgrade the firmware for an Extreme switch.

Switches are upgraded in pairs, and this document describes procedures for one pair of switches. In case of 2 pairs of switches, repeat the procedures for the second pair.

The upgrade involves the following steps:

1.1   Concepts

Before starting the procedure, ensure that the terminology is understood:

Switch

Status

Selected switch

The switch selected for upgrade

Upgraded switch

The switch after its upgrade

Other switch

The switch within the pair that is not yet selected for upgrade

1.2   Prerequisites

This section provides information on the documents, tools, and conditions that apply to the procedure.

1.2.1   Documents

Before starting the upgrade procedure, ensure that the following documents are available, read and understood:

Note:  
The procedure depends on the role of the switch.

If there are two X460 switches, they are control switches.

If there are only two X670V switches, then both are mixed switches, with both traffic and storage switch functions.

If there are four X670V switches, or four X770 switches, then there are two traffic switches combined with two storage switches.

Traffic switches and mixed switches are operated using Neutron, but storage switches are not. As such, the steps for Neutron do not apply in case of pure storage switches.


Variables used in the commands are listed below:

Variable

Value

<user_name>

Example: admin

<switch_name>

<cee_region_name>_TRAFFIC_SWA_X770

<cee_region_name>_TRAFFIC_SWB_X770

<cee_region_name>_TRAFFIC_SWA_X670V

<cee_region_name>_TRAFFIC_SWB_X670V

<cee_region_name>_STORAGE_SWA_X770

<cee_region_name>_STORAGE_SWB_X770

<cee_region_name>_STORAGE_SWA_X670V

<cee_region_name>_STORAGE_SWB_X670V

<cee_region_name>_CONTROL_SWA_X460

<cee_region_name>_CONTROL_SWB_X460

<switch_ip>

<traffic_switch_a_static_ip>

<traffic_switch_b_static_ip>

<storage_switch_a_static_ip>

<storage_switch_b_static_ip>

<control_switch_a_static_ip>

<control_switch_b_static_ip>

Example: 192.168.2.2

1.2.2   Conditions

Before starting the upgrade procedure, ensure that the following conditions are met:

2   Procedure

This section describes the firmware upgrade procedure for one pair of switches.

In case of 2 or more pairs of switches, repeat the procedures for the second pair.

2.1   Identify Switch and Switch Status

If there are two X460 switches, then they are control switches, go to Section 2.2.

If the switch is a storage switch, go to Section 2.2.

Identify the switch status:

  1. Check that the switch status is ACTIVE. Perform this step for both switches.

    root@node-6: neutron device-show <switch_name>

Example 1   Switch Details

+-----------------------+--------------------------------------+
| Field                 | Value                                |
+-----------------------+--------------------------------------+
| admin_state_up        | True                                 |
| device_type           | TOR_SWITCH                           |
| firmware_version      | 15.4.1                               |
| id                    | 3757da15-7942-4db9-98d5-c05ecfefc5b8 |
| management_ip_address | 192.168.6.1                          |
| model                 | SummitXX70V                          |
| name                  | DC154_SWA_XX70V                      |
| password              | NetworkAdmin                         |
| status                | ACTIVE                               |
| user_name             | network_admin                        |
| vendor                | extreme                              |
| vr_total              | 63                                   |
+-----------------------+--------------------------------------+

For more information, refer to the Data Collection Guideline.

2.2   Log on to the Selected Switch

  1. Log on to the switch by either of the following ways:
    • Log on to the switch from a terminal server, vFuel, or a maintenance laptop through SSH. Use the following command with a valid username and the management IP address of the switch from VLAN cee_ctrl_sp:

      ssh <user_name>@<switch_ip>

    • Log on to the switch using a serial connection.
  2. Check for warnings, errors, and critical statements in the switch log.

    <switch_name>.1 # show log severity [critical | error | warning ] chronological
    <switch_name>.1 # show log severity ⇒
    [critical | error | warning ] chronological

    Note:  
    If the switch log shows errors or critical statements, contact the next level of maintenance support.

  3. Log out of the selected switch.

    <switch_name>.2 # logout

  4. If the switch is a storage switch, go to Section 2.4.
  5. If the switch is a control switch, continue with section Configuration of Switch of the Extreme X460 Configuration document.

2.3   Set Switch to Maintenance Mode

Perform the following steps for the selected switch:

  1. Switch the device status to maintenance in Neutron. Use the following command:
    neutron device-update <switch_name> --status=MAINTENANCE

Example 2   Switch Device Status to Maintenance

neutron device-update <cee_region_name>_TRAFFIC_SWB_X670V --status=MAINTENANCE
  1. Verify that the device status has changed to maintenance. Contact the next level of maintenance support if the device status does not change.
  2. Continue with Section 2.4.

2.4   Select Download Partition

  1. Use the management_ip_address on the VLAN cee_ctrl_sp to log on to the selected switch.

    ssh network_admin@<management_ip_address_of_the_selected_switch>
    ssh network_admin@⇒
    <management_ip_address_of_the_selected_switch>

Select the partition to use when downloading the image:

  1. Use the show switch command to determine the selected and booted images.
    Note:  
    The selected image partition indicates which image is to be used at the next reboot. The booted image partition indicates the image used at the last reboot.

  2. Check if the selected and booted images are in the primary or secondary partition.
  3. Select the partition for installing the new firmware image. Do not select the partition from where the current image is booted.

2.5   Install EXOS Core Image

To install the image, do the following steps:

  1. Download and validate the new image to the switch using SCP/SCP2:

    scp2 {vr vr_name} user [hostname | ipaddress]:remote_file local_file
    scp2 {vr vr_name} user ⇒
    [hostname | ipaddress]:remote_file local_file

Example 3   Validate Image Using SCP/SCP2

scp2 vr "VR-Default" root@<fuel_static_ip>:/var/lib/tftpboot⇒
/summitX-15.6.1.4.xos summitX-15.6.1.4.xos
  1. Install the image:

    install image local_file {partition}

Example 4   Install Image Command

install image summitX-15.6.1.4.xos secondary
Note:  
In the above example, the current image is booted from the primary partition, therefore, the secondary partition is selected.

2.6   Install Modular Software Package

To add the SSH module to the switch, perform the following steps:

  1. Download the new image to the switch using SCP/SCP2:

    scp2 {vr vr_name} user [hostname | ipaddress]:remote_file local_file
    scp2 {vr vr_name} user ⇒
    [hostname | ipaddress]:remote_file local_file

Example 5   Download Image Using SCP/SCP2

scp2 vr "VR-Default" root@<fuel_static_ip>:/var/lib/tftpboot⇒
/summitX-15.6.1.4-ssh.xmod summitX-15.6.1.4-ssh.xmod
  1. Install the software module:

    install image local_file {partition}

    Note:  
    The version of the SSH module must be the same as the version for the EXOS core image.

Example 6   Install Image Command

install image summitX-15.6.1.4-ssh.xmod secondary
Note:  
In the above example, the current image is booted from the primary partition, therefore, the secondary partition is selected.

2.7   Use the Newly Installed Partition

Select the newly installed partition to use after the reboot:

use image {partition} <partition>

Example 7   Use Image Command

use image partition secondary

2.8   Reboot and Activate the New Packages

Reboot and activate the new packages:

  1. Reboot the system:

    reboot

    Result:
    The following options are available:
    y Save and reboot
    n Reboot without save
    cr Cancel command
  2. Choose n from the available options.

2.9   Check the Status of the Upgraded Switch

Check the status of the upgraded switch:

  1. Log on to the upgraded Extreme switch, and issue the following command:

    show switch

    For an output example, see Example 8.

Example 8   Switch Status

        Current State:    OPERATIONAL
        Image Selected:   secondary
        Image Booted:     secondary
        Primary ver:      15.6.1.4
        Secondary ver:    15.4.1.3
        Config Selected:  ericsson_default.cfg
        Config Booted:    ericsson_default_backup.cfg
  1. Check that the switch state is OPERATIONAL, and the new EXOS image is installed. Ensure that the upgrade procedure was successful.
  2. Log out of the upgraded switch.

    <switch_name>.1 # logout

  3. If the selected switch is traffic or mixed and accessible through Neutron, continue with Section 2.10.
  4. If the selected switch is a control or storage switch, continue with the other switch. Continue with Section 2.2.
  5. If both control or storage switches are upgraded, continue with Section 2.11.

2.10   Recover Traffic Switch from vCIC

Perform the following steps on the upgraded traffic switch:

  1. Recover the switch from the vCIC:

    neutron device-recover <switch_name>

Note:  
Neutron does not save the active configuration to the switch, and uses SOAP to recover VLAN and additional information instead of using the saved backup configuration. When rebooting or exiting from the switch, never save the configuration: select No when prompted. The switch status changes are available in neutron-server.log as "Change device status".

Example 9   Recover Switch from vCIC

neutron device-recover <cee_region_name>_TRAFFIC_SWB_X770
Note:  
The switch reboots as part of the recovery process.

  1. Confirm that the upgraded switch operates properly when booted from the vCIC:

    neutron device-show <switch_name>

Example 10   Neutron Device Show

neutron device-show <cee_region_name>_TRAFFIC_SWA_X670V
Note:  
The status of the switch must be ACTIVE. It can take about five minutes to have the status displayed.

  1. If both traffic switches are upgraded, continue with Section 2.11.
  2. Otherwise, continue with the other switch. Go to Section 2.2.

2.11   Log Out of the Switch

  1. Log out of the switch.

    # logout

  2. The procedure is complete.

Reference List

[1] IP and VLAN plan, 2/102 62-CRA 119 1862/5 Uen