06-26-2014 07:38 AM - edited 03-04-2019 11:14 PM
Hi,
I'm wondering what would happen if you connect two switches together with two up-links where all 4 ports are configured as access ports with portfast enabled? No BPDU Guard.
I know all ports should transition into forwarding state immediately and create a loop but will one port get disabled after a period of time? I understand portfast doesn't actually disable STP.
I can't simulate this in Packet Tracer and GNS3 is not very switch friendly :)
Thanks for any help.
Solved! Go to Solution.
06-26-2014 09:04 AM
The difference is quite simple. If you make those connections with portfast enabled there will be a (short) burst of activity as the loop forms and then is detected and the loop is broken. If you make those connections with portfast disabled then spanning tree will do its usual listening, learning, forwarding progression in which the loop will be detected (and prevented) and there is no burst of activity.
HTH
Rick
06-26-2014 08:11 AM
Hello
By default spanning-tree is enabled on the switches, So stp will block one the the ports to negate a loop - however if you disable stp then a loop will occur and your switch cpu utilization will hit the roof and prohibit communication
res
Paul
06-26-2014 08:30 AM
I have done this on real switches and can say that after a burst of activity that spanning tree did detect the loop and did put one port into the blocking state.
HTH
Rick
09-28-2017 01:00 PM
I think is because when the portfast-configured port receives a bpdu it will lose its portfast status. if you configure the ports with bpdufilter that will create a crazy loop. :)
06-26-2014 08:41 AM
Sorry, forgot to mention that STP is enabled.
So there would be a loop for a period of time until STP figures it out and disables one port? And if the more switches in the network the long it would take to settle down?
Basically, I'm trying to figure out the difference if you did the same thing with portfast enabled and disabled.
06-26-2014 09:04 AM
The difference is quite simple. If you make those connections with portfast enabled there will be a (short) burst of activity as the loop forms and then is detected and the loop is broken. If you make those connections with portfast disabled then spanning tree will do its usual listening, learning, forwarding progression in which the loop will be detected (and prevented) and there is no burst of activity.
HTH
Rick
06-26-2014 09:30 AM
Cool, that's what I wanted to know.
Had a weird issue where there was a lot of '%SW_MATM-4-MACFLAP_NOTIF' events logged for all the switches for about 5min, caused a short outage (loop like symptoms) and then everything went back to normal. Pretty much at the same time as the FLAP events stopped there was an event on one of the switches saying a port was disabled because of an STP loop.
I'm just surprised it took so long.
09-29-2017 05:33 AM
09-27-2017 10:13 PM
Hello there.
You can easily configure the Spanning Tree PortFast feature in the GNS3 program. In GNS3, the PortFast feature works fine.
From the following link, you can browse the relevant article for PortFast configuration.
Source: Spanning Tree PortFast
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