Solved

Spanning-tree port fast

Posted on 2016-08-12
7
73 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
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 28

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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 (Internetwerx, Inc.)
Michael Ortega (Internetwerx, Inc.) 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 (Internetwerx, Inc.)
Michael Ortega (Internetwerx, Inc.) 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…
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…

856 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