327
Configuring STP
How to Configure STP
How to Configure STP
Changing the Spanning-Tree Mode
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
spanning-tree mode
{
pvst
|
mst
|
rapid-pvst
}
Configures a spanning-tree mode.
pvst
—Enables PVST+ (the default setting).
mst
—Enables MSTP (and RSTP). For more configuration steps, see
rapid-pvst
—Enables rapid PVST+.
3.
interface
interface-id
(Recommended for rapid-PVST+ mode only) Specifies an interface to
configure, and enters interface configuration mode. Valid interfaces
include physical ports, VLANs, and port channels.
4.
spanning-tree link-type point-to-point
(Recommended for rapid-PVST+ mode only) Specifies that the link type
for this port is point-to-point.
If you connect this port (local port) to a remote port through a
point-to-point link and the local port becomes a designated port, the
switch negotiates with the remote port and rapidly changes the local
port to the forwarding state.
5.
end
Returns to privileged EXEC mode.
6.
clear spanning-tree detected-protocols
(Recommended for rapid-PVST+ mode only) Restarts the protocol
migration process on the entire switch if any port on the switch is
connected to a port on a legacy IEEE 802.1D switch,
This step is optional if the designated switch detects that this switch is
running rapid PVST+.
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 ...