Update the Complex Programmable Logic Device (CPLD) Image

Note

Note

This procedure only applies to 5520 Series and VSP 4900 Series.

During the device bootup, if an older version of a CPLD module is detected, the system displays a log message to upgrade the CPLD module image.

The following is an example of the log message:

1 2020-01-17T13:08:16.630Z VSP-4900-12MXU-12XE CP1 - 0x0026050d - 00000000 GlobalRouter SW INFO cpu CPLD/FPGA module is running older version. Recommeded to upgrade using command cpld-install.

You can also use show sys-info cpld command to check the current version of the CPLD module on the device.

Before you begin

Upgrade the software on the switch to the latest build.

About this task

The cpld-install command compares the image version of the modules with the current version on the device:

  • If the versions are the same, the command exits.

  • If the current version is an earlier version, you must update the image version of the specific module.

The device automatically restarts after sucessful installation of the specific module.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Update one of the following CPLDs:
    • APP:

      cpld-install app [WORD<1-99>]

    • BOOT:

      cpld-install boot [WORD<1-99>]

    • CPU:

      cpld-install cpu [WORD<1-99>]

    • Field-Programmable Gate Array (FPGA):

      cpld-install fgpa [WORD<1-99>]

    • Main CPLD module:

      cpld-install main [WORD<1-99>]

    • Port:

      cpld-install port [WORD<1-99>]

    • VIM (Versatile Interface Module):

      cpld-install vim [WORD<1-99>]

  3. When prompted, type y to continue with the CPLD update.

Example

Update CPLD for port module.

Switch:1>cpld-install port /intflash/1.1.8_sd_portpld.tgz
image file md5 checksum passed
Current port CPLD version is 0x1108, 1.1.08

Do you want to continue with cpld update? (y/n) ? y

 WARNING: Upgrading FPGA requires writing to a device

 WARNING: It will take about a minute or so to complete.

 WARNING: DO NOT TURN POWER OFF OR MAKE ANY HARDWARE CHANGES ONCE YOU START THIS OPERATION.

FPGA upgrade completed successfully

System is going for powercycle now...
1 2019-12-13T14:55:55.577+05:30 VSP-4900-24S CP1 - 0x0026050c - 00000000 GlobalRouter SW INFO port CPLD update completed successfully.
CP1  [12/13/19 14:55:56.000] LifeCycle: INFO: Stopping all  processes
Switch:1>CP1  [12/13/19 14:56:01.000] LifeCycle: INFO: Process slamon.sh (pid:20748) stopping with signal 9
1 2019-12-13T14:56:01.225+05:30 VSP-4900-24S CP1 - 0x0000c5f9 - 00000000 GlobalRouter HW INFO Link Down(1/14). Port is disabled
1 2019-12-13T14:56:01.226+05:30 VSP-4900-24S CP1 - 0x00004726 - 00000000 GlobalRouter SNMP INFO SPBM detected adj DOWN on Port1/14, 
neighbor 489b.d59d.6884 (VSP-4900-12MXU-12XE)
1 2019-12-13T14:56:01.226+05:30 VSP-4900-24S CP1 - 0x00000033 - 00000000 GlobalRouter SW ERROR dpmSendMulti: LtrSend Failed: Status=9
1 2019-12-13T14:56:01.226+05:30 VSP-4900-24S CP1 - 0x000e05dc - 00000000 GlobalRouter HAL ERROR dpmCosqProfileApply: request ltrSend FAILED
1 2019-12-13T14:56:01.229+05:30 VSP-4900-24S CP1 - 0x0000c5f9 - 00000000 GlobalRouter HW INFO Link Down(1/24). Port is disabled
1 2019-12-13T14:56:01.233+05:30 VSP-4900-24S CP1 - 0x00010756 - 0040000b.3 PERSISTENT SET GlobalRouter HW WARNING Module VSP4900-24S in slot 1 
is non-operational
1 2019-12-13T14:56:01.267+05:30 VSP-4900-24S CP1 - 0x00000033 - 00000000 GlobalRouter SW ERROR dpmSendMulti: LtrSend Failed: Status=9
1 2019-12-13T14:56:01.267+05:30 VSP-4900-24S CP1 - 0x000e05dc - 00000000 GlobalRouter HAL ERROR dpmSendMacAddrDelMsg: request ltrSend FAILED
1 2019-12-13T14:56:01.267+05:30 VSP-4900-24S CP1 - 0x00100665 - 00000000 GlobalRouter SW WARNING dpmDeleteMacAddress: failed for 
Mac = 02:78:84:ff:ff:ff, Mgid = 4052
1 2019-12-13T14:56:01.271+05:30 VSP-4900-24S CP1 - 0x000646fa - 00000000 GlobalRouter MLT INFO IST DOWN, status vector: 0x60000000001800
1 2019-12-13T14:56:01.271+05:30 VSP-4900-24S CP1 - 0x000646da - 01900004 DYNAMIC SET GlobalRouter MLT WARNING SMLT IST Link is DOWN /IST Slave
CP1 [12/13/19 14:56:04.000] LifeCycle: INFO: Stopped all processes
CP1 [12/13/19 14:56:04.000] LifeCycle: INFO: All processes have stopped
CP1 [12/13/19 14:56:04.000] LifeCycle: INFO: Setting shutdown countdown to 300 seconds
CP1 [12/13/19 14:56:04.000] LifeCycle: INFO: Flushing buffers ... OK
CP1 [12/13/19 14:56:04.000] LifeCycle: INFO: Restarting module
CP1 [12/13/19 14:56:05.000] LifeCycle: INFO: Powercycling the system!
Using device type 1 (FPGA)
RECONFIGURE command enabled
Lock file name is /tmp/FPGA_lock
FPGA RECONFIGURE operation started.
FPGA RECONFIGURE operation SUCCEEDED.

Variable Definitions

The following table defines parameters for the cpld-install command .

The following table applies to 5520 Series.

Variable

Value

app

Updates the APP module.

boot

Updates the BOOT module.

main

Updates the main CPLD module.

port

Updates the Port module.

WORD<1-99>

Specifies the image filename.

Note: This parameter is optional. If you do not specify the filename, the command checks the .tgz file for the image from the running VOSS filesystem.

The following table applies to VSP 4900 Series.

Variable

Value

cpu

Updates the CPU module.

fpga

Updates the FPGA module.

port

Updates the Port module.

vim

Updates the VIM module.

WORD<1-99>

Specifies the image filename.

Note: This parameter is optional. If you do not specify the filename, the command checks the .tgz file for the image from the running VOSS filesystem.