cisco — (Optional) Specifying the Link Type to Ensure Rapid Transitions

(Optional) Configuring the Maximum-Hop Count To configure the maximum-hop count, perform this procedure: Before you begin An MST must be specified and enabled on the device. Procedure (Optional) 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 device running MSTP, you can override the default setting of the link type and enable rapid transitions to the forwarding state. To specify the link type to ensure rapid transitions, perform this procedure: Configuring Multiple Spanning-Tree Protocol (Optional) Configuring the Maximum-Hop Count Command or Action Purpose Step 4 end Example: Device(config)# end Returns to privileged EXEC mode. Command or Action Purpose Step 1 enable Example:

Device> enable Enables privileged EXEC mode. Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 spanning-tree mst max-hops hop-count Example: Device(config)# spanning-tree mst max-hops 25 Specifies the number of hops in a region before the BPDU is discarded, and the information that is held for a port is aged. For hop-count, the range is 1 to 255; the default is 20. Step 4 end Example: Device(config)# end Returns to privileged EXEC mode. Configuring Multiple Spanning-Tree Protocol 25