This article describes the steps for how to upgrade the FortiSwitch CPLD version.
Scope
FortiSwitch-1024D and FortiSwitch-1048D.
Solution
While troubleshooting, the TAC might ask to upgrade the FortiSwitch switch CPLD version. This needs to be done only if advised by the TAC. It is possible to verify the FortiSwitch CPLD version using the command ‘get hardware status’ shown below:
FS1D24xxxxxxxxx # get hardware status Model name: FortiSwitch-1024D CPU: e500v2 RAM: 2023 MB MTD Flash: 128 MB /dev/mtd Hard disk: not available Network Card chipset: PPC Network Interface Adapter (rev.) Switch CPLD Version: 4 <----- Currently, it is 4. CPU CPLD Version: 5
The latest CPLD version image from TAC will appear. Use the following command to upgrade the CPLD version of the FortiSwitch.
Note: It will require a TFTP server to transfer the CPLD image to the FortiSwitch.
Command:
execute restore cpld tftp <cpld-image> <tftp server ip>
Below is the example showing the above command run on FortiSwitch-1024D with the CPLD image and TFTP server IP (192.168.99.111).
FS1D24xxxxxxxxx # execute restore cpld tftp 1024_SWPLDV05.jbc 192.168.99.111 Please wait... Connect to tftp server 192.168.99.111 ... Get image from tftp server OK. Checking CPLD firmware image integrity... OK This operation will replace the current CPLD firmware Do you want to continue? (y/n)y <----- Type y. Device 0000002 Silicon ID is ALTERA10(05) erasing MAXII device(s)... erasing MAXII UFM block... erasing MAXII CFM block... programming CFM block... programming UFM block... verifying CFM block... verifying UFM block... DONE CPLD firmware upgrade done.
Verify it on the FortiSwitch CPLD version:
FS1D24xxxxxxxxx # get hardware status Model name: FortiSwitch-1024D CPU: e500v2 RAM: 2023 MB MTD Flash: 128 MB /dev/mtd Hard disk: not available Network Card chipset: PPC Network Interface Adapter (rev.) Switch CPLD Version: 5 <----- After upgrading, the CPLD version image will change. CPU CPLD Version: 5
Note: After the upgrade, remember to power cycle the device.