Upgrading switches using the vsx update-software command

Prerequisites
  1. Ensure that you have a scheduled maintenance window. There will be a disruption of service until the upgrade is complete and VSX is configured on the switches. It is advisable to have a support engineer from HPE available during this procedure.

  2. If you have enabled loop protect, enter the show loop-protect command for verifying that the action on loop detection has a value of TX disable on the VSX interface. If the setting has a different value, reset the value to TX disable by entering the loop-protect action tx-disable command:
    switch# configure terminal
    switch(config)# interface lag 2 multi-chassis
    switch(config-if)# loop-protect action tx-disable
  3. Back up the current software to the secondary image bank. Run the show version command. If the Active Image is primary, copy the primary image to the secondary image bank:
    switch# copy primary secondary

    If the current image bank is secondary, the current image, such as for 10.01, is already in the secondary bank.

  4. Save a copy of the running configuration on both switches. One way to save a copy of the running configuration is to enter the following command:

    switch# copy running-config sftp://<username>@<IP>/filename vrf mgmt
  5. Check the status of the show vsx brief command and validate the ISL is in-sync and the keepalive is established.

  6. Check the output of the show lacp interfaces multi-chassis command and note which LACP interfaces are in a forwarding state of up.

Procedure
  1. Ensure that you are in a maintenance window as both switches will no longer be forwarding network traffic.
  2. Enter the vsx update-software command.
    switch# vsx update-software tftp://10.0.0.10/XL_10_02_0001.swi vrf mgmt
    This command will download new software to the %s image of both the VSX primary and secondary systems, 
    then reboot them in sequence. The VSX secondary will reboot first, followed by the primary.
    Continue (y/n)? y
    VSX Primary Software Update Status     : <VSX primary software update status>
    VSX Secondary Software Update Status   : <VSX secondary software update status>
    VSX ISL Status                         : <VSX ISL status>
    Progress [..........................................................................................]
    Secondary VSX system updated completely. Rebooting primary.

    The command displays the status of the VSX primary and secondary switches during the upgrade. The command also refreshes the progress bar as the image update progresses. You cannot interrupt the VSX primary CLI session until the software updates completes.

  3. Validate on both switches that the ISL is In-Sync by running the show vsx brief command on both switches. Verify in the output of the command that the keepalive state is Keepalive-Established.
  4. Validate on both switches that the downstream LACP links are all forwarding correctly by entering the show lacp interfaces command.
  5. Save the running configuration to the startup configuration:
    switch# write memory
    Success