Summary


This chapter demonstrated both the basic and advanced spanning-tree configurations. The basic configuration process can be summarized as follows:

  • Select and configure a root bridge

  • Select and configure a secondary bridge

You should place your root bridge so that the calculated STP topology matches the major traffic paths of your network.

If you have multiple VLANs, a spanning-tree instance exists per VLAN, and you should adjust spanning-tree parameters to ensure any redundant links are load shared across. The following mechanisms exist for configuring spanning tree load sharing:

  • Varying root bridge placement for each VLAN

  • Modifying the per VLAN costs of links

  • Modifying the per VLAN port priority of ports that send out configuration BPDUs

Modifying per VLAN costs is the recommended method of load sharing because root bridge placement affects load sharing only for switches connected directly to the root and port ID is seldom the deciding factor for path selection. Port ID is used only when two switches are connected by multiple connections. In this scenario you should consider combining the physical connections into an EtherChannel bundle, which is represented as a single logical Layer 2 connection to STP. EtherChannel handles failure and load sharing much more efficiently than STP.

Spanning tree does have considerable convergence delays, with the default convergence times ranging from 30 seconds (direct failure) to 50 seconds (indirect failure). Spanning-tree timers are calculated using a number of parameters, including the configurable Hello timer and network diameter parameters. Reducing your Hello timer speeds up how quickly the network learns about a failure; however, you must consider the effect on CPU load of the switch before reducing the Hello timer. By default, spanning-tree timers are configured to accommodate large Layer 2 networks with a network diameter of seven bridges or less. If your network diameter is smaller, you can reduce your spanning-tree timers to reflect this. Using the set spantree root command with the optional dia and hello parameters is the recommended method of adjusting spanning-tree timers because it uses the IEEE 802.1d calculations for each timer.

Cisco has developed a number of spanning-tree enhancements that are designed to reduce spanning-tree convergence in certain situations. These enhancements include the following:

  • PortFast Immediately puts a port into a Forwarding state from a Blocking state. This feature eliminates the normal 30-second interval required for the Listening and Learning states before the port can forward data. The most common use of this feature is to prevent issues with booting workstations not having network connectivity. PortFast should be enabled with caution, and Cisco provides the BDPU Guard feature that protects against PortFast misconfigurations. BPDU Filter is another feature that prevents PortFast-enabled ports from generating STP BPDUs.

  • UplinkFast Used on leaf nodes (edge switches) that have redundant uplinks towards the root bridge. If a direct failure occurs on a directly connected upstream switch, the edge switch immediately activates the redundant uplink, reducing spanning-tree convergence from 30 seconds to a few seconds.

  • BackboneFast This feature must be enabled on all switches throughout the network. BackboneFast reduces convergence by detecting indirect failures, which eliminates the Max Age timer period, reducing spanning-tree convergence by up to 20 seconds.




CCNP Self-Study CCNP Practical Studies. Switching
CCNP(R) Practical Studies: Switching (CCNP Self-Study)
ISBN: 1587200600
EAN: 2147483647
Year: 2002
Pages: 135
Authors: Justin Menga

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net