I have two CRS510-8XS-2XQ that I want to use for MLAG. For testing purposes, I’m connecting from a RB5900.
Unfortunately, only one of the two links in the bonding interface on the RB5900 is shown as active. Maybe someone can help me see the issue.
All systems are on RouterOS 7.16.2-
Configuration on RB5900:
/interface bridge add name=bridge1
/interface bridge port add bridge=bridge1 interface=bonding2
/interface bonding
add lacp-rate=1sec mode=802.3ad name=bonding2 slaves=sfp-sfpplus1,ether1 \
transmit-hash-policy=layer-3-and-4
Configuration on Switch 1:
/interface bridge
add name=bridge vlan-filtering=yes
/interface bonding
add lacp-rate=1sec mlag-id=10 mode=802.3ad name=mlagbond1 slaves=sfp28-1 transmit-hash-policy=\
layer-3-and-4
/interface bridge mlag
set bridge=bridge peer-port=sfp28-4
/interface bridge port
add bridge=bridge comment=defconf interface=ether1
add bridge=bridge interface=sfp28-4 pvid=97
add bridge=bridge interface=mlagbond1
/interface bridge vlan
add bridge=bridge tagged=sfp28-4 vlan-ids=1
Configuration on Switch 2:
/interface bridge
add name=bridge vlan-filtering=yes
/interface bonding
add lacp-rate=1sec mlag-id=10 mode=802.3ad name=mlagbond1 slaves=sfp28-2 transmit-hash-policy=\
layer-3-and-4
/interface bridge mlag
set bridge=bridge peer-port=sfp28-4
/interface bridge port
add bridge=bridge comment=defconf interface=ether1
add bridge=bridge interface=sfp28-4 pvid=97
add bridge=bridge interface=mlagbond1
/interface bridge vlan
add bridge=bridge tagged=sfp28-4 vlan-ids=1
And here is the result of the monitor command:
#Switch1
/interface/bridge/mlag/monitor
status: connected
system-id: D4:01:C3:87:C3:D3
active-role: secondary
#Switch2
/interface/bridge/mlag/monitor
status: connected
system-id: D4:01:C3:87:C3:D3
active-role: primary
#Client
/interface/bonding/monitor bonding2
mode: 802.3ad
active-ports: ether1
inactive-ports: sfp-sfpplus1
lacp-system-id: D4:01:C3:B3:F4:5C
lacp-system-priority: 65535
lacp-partner-system-id: D4:01:C3:87:C3:C4
So, according to these results, the port sfp-sfpplus1 on the RB5900 which is connected to Switch1 on sfp28-1, is not active. But if I reboot Switch2, the monitoring result changes and sets sfp-sfpplus1 as the active one.
Having said that, no matter which link is active, there seems to be no layer3 connectivity. As soon as I turn off MLAG (on either device), layer3 works again.