Hoping to get some assistance on the below.
Switch models: Arista 7050Qx-32S.
We’re attempting to setup an MLAG between the two switches. The current issue we are facing, is that one switch respects the ‘switchport mode trunk’ command, while the other does not. Regardless of what is done, the second switch port group stays in ‘routed’, then when attempting to assign it to an MLAG ID, it states that it is required to be a trunk.
We’re following: https://www.arista.com/en/um-eos/eos-section-13-4-configuring-mlag#ww1151451
Any help would be appreciated, it seems that no matter what we do it will not change from routed to trunk.
Attempted: reboot, re-creation of peer, port group etc.
Would it be possible to confirm the software version and also provide the following output from the affected switch?
show running-config interface [int-name]
These outputs should help us analysing this further.
For the first issue- "One switch respects the ‘switchport mode trunk’ command, while the other does not."
For Second issue: "that also on the same switch, when attempting to assign a VLAN an IP address, it shows an error of ‘Ip address cannot be a broadcast address’, which it isn’t"
The above worked, the ports weren't in 'switchport' mode, but on the second switch apparently were out-of-the-box.
The IP addressing issue was caused by me, which is now fixed.
Thanks all for the quick remediation advice.
To continue this, we're still having MLAG issues, namely we can setup an MLAG fine, it shows Active to the second switch.
We just cannot assign interfaces to the MLAG, with the error 'Port-channel already configured as peer-link'.
So therefore there are no interfaces within the MLAG, as seen above.
Which port-channel are you trying to configure it as MLAG port-channel? Is it the peer-link itself ?
A peer-link will be the port-channel (or a normal interface) that connects the two switches which are in MLAG. You should not configure that port-channel as a MLAG Port-channel. The purpose of peer link is to maintain the state of MLAG, Synch layer2 information between the 2 switches and provide a redundant path related to traffic forwarding of end hosts.
A MLAG port-channel is one that will connect both the switches (in MLAG) to a same downstream server or end host and would provide active-active paths (also it will be loop free). Active-Active means the downstream connected server can send traffic to either of the peer but both the switches can forward traffic. This is good for redundancy as if any one link goes down, server can still send packet to other connected switch and there will be no packet loss.
So you can have a setup like this:
Po1 in above topology is the peer link. You should not try make Po1 as a MLAG port-channel.
Now consider, there is an interface "Ethernet 10" on both the switches (SW1 and SW2) that connects to some server (same server), not shown in above diagram.
Then you can combine Eth10 on both switches as a MLAG port-channel. First you need to configure port-channel on Eth10 of both the device:
(config-if-Et10)#channel-group 10 mode active.
Once you assigned Eth10 to port-channel 10 on both switches, then assign the MLAG id on po10 of both the device as shown below
(config)#int po 10
^ The "mlag 10" should be exactly same on Po10 of both SW1 and SW2 (id can be anything but must be same on both), only then Po10 on both switch will be logically be one link. This is known as MLAG port-channel.
You can check your MLAG port-channel using the command- "show mlag interfaces"
Let me know what configuration you are entering and if it is according to the concept mentioned above or not.
For more details, check here- https://eos.arista.com/mlag-basic-configuration/
Thanks for the above Aniket.
One last question, can we assign all ports with SW1 to the same port channel and Mlag ID, and do the same on SW2?
MLAG port-channel is formed if both (or more) interfaces on the two switches (in MLAG) receives LACP packets sourced from same System ID/mac.
So if "SW1-----SW2" are in MLAG and both have Ethernet10 on them that connects to different servers, then the Ethernet10 on SW1 will receive a LACP packet sourced from mac address of Server1 (connected to Ethernet10 of SW1) and Ethernet10 on SW2 will receive LACP Packets from mac address of Server2 (that is connected to Ethernet10 of SW2). Due to this Ethernet10 on both switches cannot become one logical link (MLAG port-channel) as they receive the LACP packets with different mac addresses.
So if all your interfaces on both switches connect to same physical server, such that all the interfaces on both switches receive LACP packets with same source mac, then yes you can put all those interfaces as part of one MLAG port-channel, but it seems very unlikely that all interfaces would to same physical server.
To add to this, we've just added just as you've mentioned above, with:
show mlag interfaces shows
mlag desc state local remote status
The server is plugged into both switches, which each have identical configurations.
Each of the mlag port's is showing the same on each switch, which is inactive and shows as the above.
Can you share the following outputs:
show port-channel 20
show lacp neigh
show port-channel summary
show run interface port-channel 20
show run | grep -i "channel-group 20"
show interface port-channel 20
The port-channel being down could mean:
Post your Answer
You must be logged in to post an answer.