When to use spanning-tree portfast trunk

Posted on 2009-05-18
Last Modified: 2012-08-14
I have 2 switches with 2 redundancy conections,  in all the ports, it is configures the command spanning-tree portfast trunk.

I am getting a lot of topology changes from this port, I know portfast should be use to access port, I want to figure out why, they configure it with the portfast trunk.

Does anyone have idea of what this command do?
Question by:dsanc
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 23

Assisted Solution

that1guy15 earned 75 total points
ID: 24418564
I myself have never ran into a situation that would need STP port-fast on a trunk link. But here are a few post with your same question.

Assisted Solution

equarando earned 25 total points
ID: 24419227
Yes, you are right about spanning-tree portfast should be only used on access ports. But I guess for some odd reason if you want to turn portfast on your trunk links cisco lets you with that command.

Taken from cisco's command database...

"Router(config-if)# spanning-tree portfast trunk
%Warning:portfast should only be enabled on ports connected to a single
 host. Connecting hubs, concentrators, switches, bridges, etc... to this
 interface  when portfast is enabled, can cause temporary bridging loops.
 Use with CAUTION"
LVL 10

Accepted Solution

lanboyo earned 150 total points
ID: 24420330
Portfast trunk is for when you are quite positive that there will be no loops or redundant routes on this link. A trunk to a dot1q aware host, a dot1q aware point to point, etc. Never to a network that needs a redundant l2 path. Look at fast failove r or rapid spantree if the ordinary time periods are excessive for your needs.
LVL 23

Assisted Solution

that1guy15 earned 75 total points
ID: 24422839
One reason I am seeing for it is when you connect an ip phone up to a port and need to set it to trunk due to multiple clans (voice and data). But from what I'm reading setting a voice vlan on the interface is the recommended solution.

A use for it was suggested in one of the links I provided, which was when connecting a virtualization server (hosting
multiple vlans to a switch.
LVL 10

Assisted Solution

lanboyo earned 150 total points
ID: 24423766
Yes, or a router switch tagged connection. If you have any issues with.using the command portfast bpduguard disable, don't use portfast.

Featured Post

Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
2 Subnets, 2 routes, failover routing ? 3 63
Removing line numbers from left column in config file 7 72
Password recovery 2960S 4 35
FTP server backups 5 45
Please see preceding article here: Figure 1 After Root Bridge has been elected, then what?..... Let's start by defining a Root Port in la…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question