02-12-2009 01:08 PM - edited 03-06-2019 04:00 AM
HI Guys, could you please let me know should I put spanning-tree portast on the ports where routers are connected or no need to put this command..can any body explain..
02-12-2009 01:10 PM
Routers aren't running any STP instance so it's safe to enable STP PortFast on those ports.
Now, if you enable bridging on those routers, it's highly recommend to disable STP Portfast on those ports.
HTH,
__
Edison.
02-12-2009 01:14 PM
spanning tree portfast is relatively safe if you also add spanning tree bpdufilter enable
02-12-2009 01:34 PM
Brian,
I'm glad you bring up the spanning-tree bpdufilter enable command.
There are 2 variations of such command.
1) When used globally, the command is spanning-tree portfast bpdufilter default
2) When used in the interface, the command is the one you mentioned.
Differences?
Well, the first one removes the portfast status on a port that receives a bpdu while the second command disables the ability to send bdpdus on that port (not good, as this can create loops in a network).
HTH,
__
Edison.
02-12-2009 01:41 PM
I have seen numerous references to the "removing a port from portfast mode when a BPDU is received" but the manual says simply that it applies bpdufilter enable to any and all ports that are in portfast mode. It also explicitly says the second command overrides the first.
The manual also specifies that spanning-tree bpdufilter enable drops both incoming and outgoing bpdus.
02-12-2009 01:45 PM
One command relates to portfast functionality while the other one doesn't.
The link I posted does not make reference to the 'removal of portfast status' but I've tested this feature many times.
__
Edison.
02-12-2009 01:58 PM
Well that's good to know.
I just checked a recent manual and the behavior is documented there, though poorly -- the verbiage that draws equivalence between the commands is still there, just the actual behavior is described later down in the usage guidelines.
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