- I lose connectivity as soon as I add the bond to the bridge while all the cables are connected between the cisco and the 2004.
So the next step to try is to disable the interfaces before making them member ports of the second bond (if physically disconnecting the cables is complicated) and see what happens.
- Would you please tell me how to configure the bond as edge port.
When adding an
/interface bridge port row, you specify an
edge value, which may be one of
auto no no-discover yes yes-discover. The default is
auto; the thing is that you do
not want the bond to be an edge port, because in edge mode, the bridge doesn't expect another bridge to be connected through that port, so the port doesn't wait for STP BPDUs before starting to forward traffic.
auto should be safe in terms that it waits for BPDUs after the link goes up.
- The RouterOS is 7.6.
I've done a test in the meantime - I've set up two pairs of EoIP tunnels between two CHRs running 7.6 in my portable lab; on each CHR, I've made each pair of EoIPs the member links of a bond in LACP mode, and made both bonds member ports of a bridge. It works as expected - in the STP topology, one of the bridges became a root one with two designated ports, and the other one a non-root one with one root port and one alternate port. No loss of connectivity. So unless that's a bug spedific for the arm64 architecture, something must be wrong in your configuration.
Until now I was assuming it worked for you with a single link between the 2004 and each Cisco switch, but maybe the assumption was wrong and you started from port channels/bonds at once? The thing is that Mikrotik uses RSTP by default, whereas Cisco switches use PVST+ by default. These two flavors of STP are mutually incomprehensible, so the Cisco switches may isolate the 2004 as from the point of view of PVST+, the 2004 looks like a cable connecting the Cisco switches together, so the Ciscos may choose not to use that link.
If you don't need separate spanning trees for different groups of VLANs, you can keep using RSTP on Mikrotik and only switch the Cisco switches from PVST+ to MSTP, because MSTP is backwards compatible with RSTP. If you need multiple spanning trees, the 2004 must use MSTP as well.