320
Configuring STP
Information About Configuring STP
Forwards frames switched from another interface
Learns addresses
Receives BPDUs
Disabled State
A Layer 2 interface in the disabled state does not participate in frame forwarding or in the spanning tree. An interface in
the disabled state is nonoperational.
A disabled interface performs these functions:
Discards frames received on the interface
Discards frames switched from another interface for forwarding
Does not learn addresses
Does not receive BPDUs
How a Switch or Port Becomes the Root Switch or Root Port
If all switches in a network are enabled with default spanning-tree settings, the switch with the lowest MAC address
becomes the root switch. In
, Switch A is elected as the root switch because the switch priority
of all the switches is set to the default (32768) and Switch A has the lowest MAC address. However, because of traffic
patterns, number of forwarding interfaces, or link types, Switch A might not be the ideal root switch. By increasing the
priority (lowering the numerical value) of the ideal switch so that it becomes the root switch, you force a spanning-tree
recalculation to form a new topology with the ideal switch as the root.
Figure 37
Spanning-Tree Topology
When the spanning-tree topology is calculated based on default parameters, the path between source and destination
end stations in a switched network might not be ideal. For instance, connecting higher-speed links to an interface that
has a higher number than the root port can cause a root-port change. The goal is to make the fastest link the root port.
For example, assume that one port on Switch B is a Gigabit Ethernet link and that another port on Switch B (a 10/100
link) is the root port. Network traffic might be more efficient over the Gigabit Ethernet link. By changing the spanning-tree
port priority on the Gigabit Ethernet port to a higher priority (lower numerical value) than the root port, the Gigabit Ethernet
port becomes the new root port.
86475
DP
DP
RP
DP
RP
DP
RP = Root Port
DP = Designated Port
DP
RP
D
A
C
B
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...