when to disable spanning tree?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2011 10:27 PM - edited 03-07-2019 03:08 AM
Hi All,
Would it be safe to say that all ports connected to hosts should have STP disabled.
For the main reasons that:
1) Every time a user turns off their PC spanning tree must be recalculated by all switches in that layer2 broadcast domain, this adds load on the network
2) Some PCs may have issues getting an IP address as spanning tree will still be learning while the PC is requesting an IP (therefore dropping the PC Packet)
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2011 10:35 PM
Hi,
You can enable portfast in each interface in order to avoid this.
This will reduce the time for learning the MAC address.
Thanks
Vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2011 10:18 PM
thanks heaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2011 10:50 PM
Hello,
I would avoid disabling STP on PC ports. As Vipin said - better to configure portfast t will transfer port to forwarding state immidiately) and other STP feature like BPDU guards, etc.
http://www.cisco.com/en/US/partner/tech/tk389/tk621/technologies_tech_note09186a008009482f.shtml
to make sure in case of bogus switch connected to this port - STP will still be stable.
Hope this helps.
Nik
Niko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2011 12:23 AM
Hello,
I agree with both friends here. What you are talking about is well known, and the edge port type was specially created for these purposes: it does not generate topology changes when transitioning between up and down states, and becomes forwarding immediately after going up. In Cisco parlance, an edge port is called the PortFast port, and can be configured using the well known spanning-tree portfast interface-level command. Note that STP still runs on a PortFast-enabled port, just its behavior is modified. PortFast port still send BPDUs and are prepared to receive BPDUs, and should a BPDU be received, the port will lose its PortFast operational status and become a non-edge port until it is unplugged and plugged again.
In a switched network, it is almost never advisable to deactivate or disable STP.
Best regards,
Peter
