10-15-2023 01:12 PM
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?
Solved! Go to Solution.
10-15-2023 03:39 PM
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.
10-15-2023 04:10 PM - edited 10-17-2023 07:29 AM
"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.
10-15-2023 01:17 PM
SW - trunk-router or server
Here you can config portfast in trunk.
10-15-2023 01:28 PM
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?
10-15-2023 01:37 PM
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.
10-15-2023 01:42 PM
Can I summarize that spanning-tree portfast trunk is not recommended, but sometimes inevitable?
10-15-2023 01:55 PM - edited 10-15-2023 01:55 PM
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.
10-15-2023 02:49 PM
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?
10-15-2023 03:39 PM
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.
10-17-2023 03:46 AM
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).
10-15-2023 04:10 PM - edited 10-17-2023 07:29 AM
"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.
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