DETAILED STEPS
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Specifies the number of hops in a region before the BPDU is
discarded, and the information held for a port is aged.
spanning-tree mst max-hops hop-count
Example:
Switch(config)# spanning-tree mst max-hops
25
Step 2
For hop-count, the range is 1 to 255; the default is 20.
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 3
Related Topics
Specifying the MST Region Configuration and Enabling MSTP, on page 59
Specifying the Link Type to Ensure Rapid Transitions
If you connect a port to another port through a point-to-point link and the local port becomes a designated
port, the RSTP negotiates a rapid transition with the other port by using the proposal-agreement handshake
to ensure a loop-free topology.
By default, the link type is controlled from the duplex mode of the interface: a full-duplex port is considered
to have a point-to-point connection; a half-duplex port is considered to have a shared connection. If you have
a half-duplex link physically connected point-to-point to a single port on a remote switch running MSTP, you
can override the default setting of the link type and enable rapid transitions to the forwarding state.
Beginning in privileged EXEC mode, follow these steps to override the default link-type setting. This procedure
is optional.
Before You Begin
A multiple spanning tree (MST) must be specified and enabled on the switch. For instructions, see Related
Topics.
You must also know the specified MST instance ID and the interface used. This example uses 0 as the instance
ID and GigabitEthernet1/0/1 as the interface because that was the instance ID and interface set up by the
instructions listed under Related Topics.
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
72 OL-29424-01
Configuring Multiple Spanning-Tree Protocol
Specifying the Link Type to Ensure Rapid Transitions