Highlighted
1 Copper

CPLD update issue

Dear all,

 

I have a stack with 2x N2048 + 2x N2048P. Yesterday, I have the firmware has been upgraded from 6.1.1.7 to 6.5.1.1 and the boot code has been updated from U-Boot 2012.10-00076-g49fadd9 (2014) to U-Boot 2012.10-00079-g20827d2 (2017).

And I tried to update CPLD from v13 to v20 on the Master, logs here : https://pastebin.com/Ctnp5RxJ

My master became Unit2, after a reload of the stack it came back to normal and the master went back to Unit1. And after the reload of the stack, the CPLD of my master (Unit1) is still in v13 :

CPLD Version...................... 13
Image File........................ N2000Stdv6.5.1.1

 

Question :

- Why did my master go from Unit1 to Unit2?

- Why my Master still in CPLD 13 when the upgrade operation seems to have gone well?

- How to correct this?

 

Thanks for your appreciated help.

0 Kudos
6 Replies
Highlighted
Anonymous
Not applicable

Re: CPLD update issue

During the CPLD update, switch 1 has to restart. When the restart occurs, switch 2 then becomes the master unit. As switch 1 comes back online it detects a master switch and becomes the backup switch.

 

What does the output from the following commands look like?

# show switch

# show version

Highlighted
1 Copper

Re: CPLD update issue

Thanks for your prompt reply.

 

>show switch

    Management Standby   Preconfig     Plugged-in    Switch        Code
SW  Status     Status    Model ID      Model ID      Status        Version
--- ---------- --------- ------------- ------------- ------------- -----------
1   Stack Mbr  Oper Stby N2048         N2048         OK            6.5.1.1
2   Mgmt Sw              N2048         N2048         OK            6.5.1.1
3   Stack Mbr            N2048P        N2048P        OK            6.5.1.1
4   Stack Mbr            N2048P        N2048P        OK            6.5.1.1

 

>show version

Machine Description............... Dell EMC Networking Switch
System Model ID................... N2048
Machine Type...................... Dell EMC Networking N2048
Serial Number..................... x
Manufacturer...................... 0xbc00
Burned In MAC Address............. F8B1.5650.xxxx
System Object ID.................. 1.3.6.1.4.1.674.10895.3054
SOC Version....................... BCM56340_A0
HW Version........................ 5
CPLD Version...................... 13
Image File........................ N2000Stdv6.5.1.1
Software Capability............... Stack Limit = 12, VLAN Limit = 4093

unit active      backup      current-active next-active
---- ----------- ----------- -------------- --------------
1    6.5.1.1     6.1.1.7     6.5.1.1        6.5.1.1
2    6.5.1.1     6.1.1.7     6.5.1.1        6.5.1.1
3    6.5.1.1     6.1.1.7     6.5.1.1        6.5.1.1
4    6.5.1.1     6.1.1.7     6.5.1.1        6.5.1.1

0 Kudos
Highlighted
Anonymous
Not applicable

Re: CPLD update issue

Thanks for posting that output. It looks like you just need to proceed with the CPLD update on each switch.

"IMPORTANT: New CPLD version 20 is available for both N3000 and N2000 Series switches as part of firmware version 6.5.1.1. After upgrading switches to version 6.5.1.1 and later, the CPLD can be updated manually via CLI command 'update cpld' on stack master and/or standalone switches. To update CPLD on stack members, execute 'devshell cpldUpdate' command from the serial console of each stack members in the stack individually. Please DO NOT power cycle the switch when CPLD update is in progress. Switch will reset on its own after CPLD update completes and new CPLD version will take effect after switch bootup. Verify new CPLD version with the command 'show version' from CLI after switch reboots. If switches are already running the latest CPLD version 20, please DO NOT attempt to update CPLD again. Updating CPLD v20 over v20 may result in an inoperable switch and require power cycle to recover the switch."

Highlighted
1 Copper

Re: CPLD update issue

Hello,


 yes I know. I have read this documentation.My problem is not whether I should update CPLD or not...

Please can you re-read my questions in my first post ?


Thanks

0 Kudos
Highlighted
Anonymous
Not applicable

Re: CPLD update issue

According to the show switch output, switch 1 is not the master unit, switch 2 is.

    Management Standby   Preconfig     Plugged-in    Switch        Code
SW  Status     Status    Model ID      Model ID      Status        Version
--- ---------- --------- ------------- ------------- ------------- -----------
1   Stack Mbr  Oper Stby N2048         N2048         OK            6.5.1.1
2   Mgmt Sw              N2048         N2048         OK            6.5.1.1
3   Stack Mbr            N2048P        N2048P        OK            6.5.1.1
4   Stack Mbr            N2048P        N2048P        OK            6.5.1.1

When you see CPLD 13 in the show output, this is for the current stack master, switch 2. Have you proceeded with updating all of the switches?

You can use the show version command to view the CPLD of each stack member. Doing this will provide some further insight.

# show version 1
# show version 3
# show version 4

Keep us postes

Highlighted
3 Argentum

Re: CPLD update issue

Hi Daniel

Thank you for the very useful information, it helped me to review what was happening with my switch stack, however I have one switch with cpld v20 and one with cpld 15 - how do I get the second switch in the stack to go to v20?  Hmm that was weird … I just checked again and switch 2 has now gone to CPLD v20 - thought transference perhaps.

 

Thanks

E.

 

0 Kudos