Solved

Spanning-tree port fast

Posted on 2016-08-12
7
78 Views
Last Modified: 2016-08-16
Is it a good idea to have this enabled on the interface between a L3 switch and router?
0
Comment
Question by:PeraHoman
[X]
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
7 Comments
 
LVL 14

Assisted Solution

by:SIM50
SIM50 earned 125 total points
ID: 41753949
Yes if a router is not configured for bridging. Just to be safe, put the following command:
spanning-tree portfast bpduguard enable
0
 
LVL 29

Accepted Solution

by:
Jan Springer earned 250 total points
ID: 41753968
If it's a layer 3 interface, it should not have spanning tree configured anyway -- at all.
1
 

Author Comment

by:PeraHoman
ID: 41754037
True, I'm looking through old configs and saw it and wanted some opinions.
0
Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

 
LVL 14

Assisted Solution

by:SIM50
SIM50 earned 125 total points
ID: 41754327
If it's a layer 3 interface, it should not have spanning tree configured anyway -- at all.

STP is automatically disabled once you change port from L2 to L3 on a switch.
0
 
LVL 16

Assisted Solution

by:Michael Ortega
Michael Ortega earned 125 total points
ID: 41756221
You should never have STP portfast enabled on ports between switches or routers, whether they are operating as an L3 device (switches) or not. Portfast is intended for network endpoints, e.g. computers, servers, printers, etc.

MO
1
 
LVL 14

Assisted Solution

by:SIM50
SIM50 earned 125 total points
ID: 41756329
You should never have STP portfast enabled on ports between switches or routers, whether they are operating as an L3 device (switches) or not. Portfast is intended for network endpoints, e.g. computers, servers, printers, etc.

I don't completely agree with this statement, specifically the bolded part.
According to Cisco best practices:

Configure STP PortFast only on ports that are connected to end host devices that terminate VLANs and from which the port should never receive STP BPDUs, such as:
–Workstations
–Servers
–Ports on routers that are not configured to support bridging

Link: http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/12-2SX/best/practices/recommendations.html#wp1061957

Also, when you change a port on a switch from L2 to L3, portfast is enabled automatically and the only option you have is to disable it. You are welcome to test all of this btw.
0
 
LVL 16

Assisted Solution

by:Michael Ortega
Michael Ortega earned 125 total points
ID: 41756653
@SIM50

I misspoke. Bridging is the key. I guess I didn't quite think of it in the way of a true router where you're essentially L3 on each interface. I was thinking more in the application where you're connecting your environment to a firewall, where in many cases SMB sized firewalls have all the inside interfaces bound together as a bridge/switch.

Good point, and thanks for clearing that up. Where you employ bridge/switch to bridge/switch communication you want portfast off.

MO
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Powerful tools can do wonders, but only in the right hands.  Nowhere is this more obvious than with the cloud.
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

717 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