325
Configuring STP
Information About Configuring STP
Note:
The
spanning-tree vlan
vlan-id
root
global configuration command fails if the value necessary to be the root
switch is less than 1.
Note:
If your network consists of switches that both do and do not support the extended system ID, it is unlikely that the
switch with the extended system ID support will become the root switch. The extended system ID increases the switch
priority value every time the VLAN number is greater than the priority of the connected switches running older software.
Note:
The root switch for each spanning-tree instance should be a backbone or distribution switch. Do not configure an
access switch as the spanning-tree primary root.
Use the
diameter
keyword to specify the Layer 2 network diameter (that is, the maximum number of switch hops
between any two end stations in the Layer 2 network). When you specify the network diameter, the switch automatically
sets an optimal hello time, forward-delay time, and maximum-age time for a network of that diameter, which can
significantly reduce the convergence time. You can use the
hello
keyword to override the automatically calculated hello
time.
Note:
After configuring the switch as the root switch, we recommend that you avoid manually configuring the hello time,
forward-delay time, and maximum-age time through the
spanning-tree vlan
vlan-id
hello-time
,
spanning-tree vlan
vlan-id
forward-time
, and the
spanning-tree vlan
vlan-id
max-age
global configuration commands.
Secondary Root Switch
When you configure a switch as the secondary root, the switch priority is modified from the default value (32768) to
28672. The switch is then likely to become the root switch for the specified VLAN if the primary root switch fails. This is
assuming that the other network switches use the default switch priority of 32768 and therefore are unlikely to become
the root switch.
You can execute this command on more than one switch to configure multiple backup root switches. Use the same
network diameter and hello-time values that you used when you configured the primary root switch with the
spanning-tree vlan
vlan-id
root primary
global configuration command.
Port Priority
If a loop occurs, spanning tree uses the port priority when selecting an interface to put into the forwarding state. You can
assign higher priority values (lower numerical values) to interfaces that you want selected first and lower priority values
(higher numerical values) that you want selected last. If all interfaces have the same priority value, spanning tree puts the
interface with the lowest interface number in the forwarding state and blocks the other interfaces.
Path Cost
The spanning-tree path cost default value is derived from the media speed of an interface. If a loop occurs, spanning
tree uses cost when selecting an interface to put in the forwarding state. You can assign lower cost values to interfaces
that you want selected first and higher cost values that you want selected last. If all interfaces have the same cost value,
spanning tree puts the interface with the lowest interface number in the forwarding state and blocks the other interfaces.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...