cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
771
Views
2
Helpful
9
Replies

Is there a use-case for spanning-tree Portfast on trunk links?

keesepema
Level 1
Level 1

I understand that spanning-tree portfast configuration is designated for end devices, so all in access mode.

From an article I learned that spanning tree portfast is also avalable for trunk links.

However I can not think of a situation that would make spanning-tree portfast trunk logical.

Can anyone point me out a use-case where spanning-tree portfast trunk would be recommended?

2 Accepted Solutions

Accepted Solutions

Portfast must use in any port connect to 

Host 

Router 

Server 

And cisco recommends to prevent any type of loop using bpdu guard with portfast.

View solution in original post

Joseph W. Doherty
Hall of Fame
Hall of Fame

"Can anyone point me out a use-case where spanning-tree portfast trunk would be recommended?"

Where, for some reason, you need a trunk to come on-line quicker than when STP is blocking the link until it confirms there's no loop.

Of course, just like with Portfast on an edge port, you increase the risk of an unintentional loop not being blocked by STP.

Personally, I've never worked on a network that "needed" (or used) Portfast on an infrastructure link.

But, as you've noted, I have often seen host DHCP fail if Portfast NOT enabled on host edge ports.

View solution in original post

9 Replies 9

SW - trunk-router or server

 

Here you can config portfast in trunk. 

Thanks! However I don't understand why I should configure a switchport which links to a router as spanning-tree portfast trunk. Maybe if there is a dhcp pool configured on the router that has timing issues when a switchport is in non portfast mode?

 

Yes but also for any other service need port to be as fast as be in forward status.

This feature work for router and server. 

Can I summarize that spanning-tree portfast trunk is not recommended, but sometimes inevitable?

images.jpeg

 this order of operation for windows, image that these operation is delayed by stp blk.

So I recommend config portfast in trunk for server or router if the command is available. 

keesepema
Level 1
Level 1

Great explanation. But I'm also confused now. I learned that a loop-free network using spanning-tree is very important in redundant network design. Will portfast on trunks lead to more network-loops?

Portfast must use in any port connect to 

Host 

Router 

Server 

And cisco recommends to prevent any type of loop using bpdu guard with portfast.

What do you define by host, a client? Because, of that is the case, a user can create a broadcast loop within the broadcast domain. This is a reason for me to not use portfast on ports for clients (read users). 

Joseph W. Doherty
Hall of Fame
Hall of Fame

"Can anyone point me out a use-case where spanning-tree portfast trunk would be recommended?"

Where, for some reason, you need a trunk to come on-line quicker than when STP is blocking the link until it confirms there's no loop.

Of course, just like with Portfast on an edge port, you increase the risk of an unintentional loop not being blocked by STP.

Personally, I've never worked on a network that "needed" (or used) Portfast on an infrastructure link.

But, as you've noted, I have often seen host DHCP fail if Portfast NOT enabled on host edge ports.

Review Cisco Networking for a $25 gift card