05-09-2023 11:03 AM - edited 05-09-2023 11:04 AM
I saw this topology in a network diagram somewhere and was wondering how this would work on a layer 2 level. Is this recommended? Would spanning tree automatically resolve it? I've had redundant links in real life scenarios but spanning tree would not shutdown the redundant links. In packet tracer this works.
05-09-2023 11:16 AM
Hi
This is in fact a very common design most between Internet gateways and Cores, but usually L3 connection is used. But yes, this could be used in a layer2 topology and spanning tree will disable the necessay links if correctly configured to do so.
05-09-2023 11:43 AM
Could you elaborate more on the configuration? Would I have to modify costs on some links? Or should it be simple with spanning tree automatically enabling/disabling ports?
05-09-2023 03:40 PM
"Would I have to modify costs on some links? Or should it be simple with spanning tree automatically enabling/disabling ports?"
You should only need to modify STP "information" if you want to determine the L2 topology it should form; including for various failures. Also, BTW, STP doesn't actually enable/disable port, it logically blocks them for ordinary data traffic. BPDUs are still sent and received on blocked ports (as also might some other "special" traffic, like CDP?).
05-09-2023 11:44 AM
Hello @hmc2500,
Full mesh topology with redundant links can be recommended for networks that prioritize high availability and fault tolerance, especially in smaller or less complex environments. However, larger networks may benefit from alternative topologies that strike a balance between redundancy, scalability, cost, and complexity. It's important to assess your specific network requirements and consider the trade-offs before deciding on a particular topology.
In this case, yes, STP is our friend.
05-09-2023 11:47 AM
What you show is a full mesh topology.
As @Flavio Miranda already described, it could be used for L2 or L3. L2 would need something like STP to eliminate loops.
Such a topology would be highly unusual to use for L2, and somewhat unusual for L3 (because many topologies tend to be hierarchal and/or more than "two" is unusual solely for redundancy).
05-09-2023 01:15 PM
I am asking this because in a real case scenario this did cause a loop for me. In packet tracer it worked fine.
05-09-2023 03:36 PM
"I am asking this because in a real case scenario this did cause a loop for me. In packet tracer it worked fine."
Possibly there was a issue with your "real case" configurations, also possibly why @Flavio Miranda wrote "if correctly configured"; or some other failure reason. I.e. STP, on real equipment, should be able to preclude the multiple loops, such as PT appears to do for you.
05-09-2023 03:39 PM
only Loop happened if I am right you config port-channel and here PO not work and sure L2 loop will happened
05-09-2023 03:50 PM
As many have mentioned whether its L2/L3 the loop will be prevented by either STP for L2 or Routing protocols and their loop prevention mechanism. You mentioned it worked in PT but not your real life scenario. PT uses Cisco gear. That leads me to assume 1 of 2 things. STP was disabled on your devices (real gear) or you are not using Cisco real gear. Some vendors do not have spanning tree enabled by default and needs to be turned on. Could this be the case?
-David
05-10-2023 07:16 AM
BTW, another possible issue you can bump into with STP is when you mix Cisco and non-Cisco switches. Most vendor's STP is "common", i.e. one instance regardless of number of VLANs. Cisco's STP is per VLAN.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide