LAG are aggregated interfaces and they can indeed be used to prevent (some) layer 2 loops. LAG as in Link Aggregation Group)
Using 2 non-LAG interfaces between the same 2 devices creates a loop.
In the case of a loop, if you’re running spanning tree, one of these interface will be blocking instead of forwarding, preventing the loop, but also percentile the use of this interface until the topology changes (ie: the current one goes down).
If you’re not running spanning tree for some reason, then both interface will chug along, oblivious to the fact that there’s a loop and broadcast packets will indeed keep being flooded on one and received on the other, again flooded, etc. creating a broadcast storm and impacting performance of the whole layer 2 domain and possibly even crashing devices.
A LAG more or less means the interfaces in the group behave as one big (aggregated) interface.
LAG also means you can push traffic on both interfaces for more bandwidth.
The assumption is that they’re creating a high bandwidth trunk interface to the L3 switch/router, so if they forget to create an aggregate it’ll be two independent interfaces and will down the network (or a port will auto down itself with STP, MSTP, etc. but that’s not as funny)
A router of industrial scale which i see at work has its ports to be l3 ports by default. They don’t down the network as the router rejects config where two ports are given the same subnet… at least the ones i operate at work.
Are you just throwing networking terms together? How does a LAG prevent a switching loop?
LAG are aggregated interfaces and they can indeed be used to prevent (some) layer 2 loops. LAG as in Link Aggregation Group)
Using 2 non-LAG interfaces between the same 2 devices creates a loop.
In the case of a loop, if you’re running spanning tree, one of these interface will be blocking instead of forwarding, preventing the loop, but also percentile the use of this interface until the topology changes (ie: the current one goes down).
If you’re not running spanning tree for some reason, then both interface will chug along, oblivious to the fact that there’s a loop and broadcast packets will indeed keep being flooded on one and received on the other, again flooded, etc. creating a broadcast storm and impacting performance of the whole layer 2 domain and possibly even crashing devices.
A LAG more or less means the interfaces in the group behave as one big (aggregated) interface.
LAG also means you can push traffic on both interfaces for more bandwidth.
Source:
Network engineerInternet plumberIt doesn’t.
The assumption is that they’re creating a high bandwidth trunk interface to the L3 switch/router, so if they forget to create an aggregate it’ll be two independent interfaces and will down the network (or a port will auto down itself with STP, MSTP, etc. but that’s not as funny)
A router of industrial scale which i see at work has its ports to be l3 ports by default. They don’t down the network as the router rejects config where two ports are given the same subnet… at least the ones i operate at work.