5

What are the possible reasons why STP would choose to use a FastEthernet link over an EtherChannel?

Below is a network diagram where this is happening.

Packet Tracer diagram

2
  • Without any configuration details it's impossible to answer this question. Please provide configurations, and output of show spanning-tree
    – Teun Vink
    Aug 12 '14 at 19:22
  • ok will be sending it later.
    – Allan Chua
    Aug 13 '14 at 4:36
3

One possible answer is because the top switch in the diagram is the root switch. The other switches have their root ports connected to the root switch. That means the etherchannel will be blocking to avoid a loop.

Here's a general algorithm that STP uses.

  1. The root switch has all its ports designated (i.e. forwarding).
  2. Every other switch selects the port with the lowest cost to the root. that's the root port (also forwarding)
  3. For every other network, the one port with the lowest cost/priority/MAC will be the designated port (forwarding)
  4. Every other port will be blocking
2
  • you right that the top switch is the root switch. Please correct me if i'm wrong, but isn't it that the etherChannel should be prioritized over the single link?
    – Allan Chua
    Aug 12 '14 at 16:18
  • Not necessarily. Spanning tree doesn't know what the best path from A to B is, it just calculates a loop fre path based on cost/priority. If you follow the algorithm as I described, you'll see that you end up with exactly the network you have.
    – Ron Trunk
    Aug 12 '14 at 16:37
2

You need to think in terms of the total cost of the paths to the root. As long as the two uplinks to the root have equal cost, they will both be forwarding because the relevant calculation is whether the uplink cost is less than the uplink cost plus the etherChannel cost.

Should you want the etherChannel active, one way to do it is to increase the cost of one of the uplinks, so that uplink A cost > uplink B cost + etherChannel cost. If you turn the problem around, and think "how can I get this link to block", that may make it easier to get your head around.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.