Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Spanning Tree: Link up

I can find a lot about how spanningtree works when a port goes down. Different recovery time are possible on the chosen spanningtree.

But what happens when a trunk port comes active? Is only that one port going to learning mode or are all trunk ports on that switch going to learning mode?

And what happens if the new trunk port is closer to the root bridge?

Hall of Fame Super Silver

Re: Spanning Tree: Link up

Hello Paul,

a new link up is a topology change as well.

In classical STP 802.1D this triggers a recalculation in the whole network.

At the end of the calculation the new port will become the new Root Port for its lower path cost to the Root Bridge.

Using rapid spanning-tree convergence time is faster and the synchronization concept will help to confine the changes. The two parts will perform an handshake on the new link about proposed roles and states and will update the state of non-edge ports (ports not in portfast) accordingly to new scenario.

Be aware that if some STP protection mechanism is configured the new link can even be placed in a spanning-tree inconsistent state as a result of its attempt to become root port (spanning tree root guard or loop guard)

Hope to help