What device is connected to the ports? How is STP priority configured?
This can occur due to several reasons:
Port flaps between 2 switches: This can happen if the cable is faulty.
Delay in sending or receiving BPDUs: This could be due to high CPU usage or packet loss.
Here are some suggestions to troubleshoot and resolve this issue:
Check your cables: Ensure that the cables connecting the switches are not faulty.
Check your network design: Make sure that the Meraki switches are not ‘between’ two Cisco Catalyst switches. You ideally want a loop-free design where the downstream switches only connect to the core switch.
Configure your Cisco network for MST: If you’re using rapid-pvst, include VLAN 1 in the trunk between the Catalyst upstream switch and MS. This will ensure that the STP formatted BPDU makes it to the RSTP process.
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.