Cisco Catalyst 2960-XR Configuration Manual page 41

Layer 2
Hide thumbs Also See for Catalyst 2960-XR:
Table of Contents

Advertisement

Configuring Spanning Tree Protocol
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
spanning-tree mode {pvst | mst |
rapid-pvst}
Example:
Switch(config)# spanning-tree mode
pvst
Step 3
interface interface-id
Example:
Switch(config)# interface
GigabitEthernet1/0/1
Step 4
spanning-tree link-type point-to-point
Example:
Switch(config-if)# spanning-tree
link-type point-to-point
Step 5
end
Example:
Switch(config-if)# end
Step 6
clear spanning-tree detected-protocols
Example:
Switch# clear spanning-tree
detected-protocols
Related Topics
Spanning-Tree Modes and Protocols, on page 23
OL-29424-01
Purpose
Enters the global configuration mode.
Configures a spanning-tree mode. All stack members run the same version
of spanning tree.
• Select pvst to enable PVST+ (the default setting).
• Select mst to enable MSTP (and RSTP).
• Select rapid-pvst to enable rapid PVST+.
(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. The VLAN ID range is 1 to
4094. The port-channel range is 1 to 48.
(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.
Returns to privileged EXEC mode.
(Recommended for Rapid PVST+ mode only) If any port on the switch
is connected to a port on a legacy IEEE 802.1D switch, this command
restarts the protocol migration process on the entire switch.
This step is optional if the designated switch detects that this switch is
running rapid PVST+.
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
Changing the Spanning-Tree Mode
27

Advertisement

Table of Contents
loading

Table of Contents