I have 3 switches soon to be setup in topology as shown below
I have a fibre link and LAN cable directly connecting switch1 and switch3 and also another connection going from switch1 to switch3 via switch2 using LAN cables.
I want to have Link Aggregation Group(LAG) at switch1 for the 3 ports (2 directly connecting to switch3 and one through intermediate switch2) for getting higher bandwidth and failover redundancy for switch3.
Q1- Is it possible to have LAG with the indirect connection through switch2 as shown in the figure?
Q2- How would I configure LAG for ports @ switch1? (If you point me to exact commands or any resources links, it would be helpful)
Q3- Do I need to configure LAG @ switch3 also for corresponding ports?
Q4- What modes(active/passive/on) should I use for LACP @ switch1 and @switch3?
Best Answer
Q1: This requires MLAG (multichassis LACP) to work. You can't split and splice a simple static or LACP trunk.
Q2: As far as I know, SG500X and SG300 don't support MLAG. You can configure a LAG trunk for the two lines between S1 and S3 though and use STP(Spanning Tree Protocol) to take care of the looping links to S2.
Q3: LAG trunks need to be configured on both terminating switches.
Q4: Use LACP whenever possible; static trunking should only be used when LACP isn't possible.