beautypg.com

7 spanning-tree max-hops, 8 spanning-tree transmit-holdcount – CANOGA PERKINS 9175 Command Reference User Manual

Page 108

background image

CanogaOS Command Reference

7-5

7.7 spanning-tree max-hops

Use this command to specify the maximum allowed hops for a BPDU in an MST region. This parameter

is used by all the instances of the MST. To restore the default value, use the no parameter with this

command.

Command Syntax

spanning-tree max-hops number

no spanning-tree max-hops

number

Maximum hops for which the BPDU will be valid. The range is 1 to 40.

Command Mode

Global configuration

Default

The default maximum hops in an MST region are 20.

Usage

Specifying the maximum hops for a BPDU prevents the messages from looping indefinitely in the

network. When a bridge receives an MST BPDU that has exceeded the allowed maximum hops, it

discards the BPDU.

Examples

Switch# configure terminal

Switch(config)# spanning-tree max-hops 25

Related Commands

7.8 spanning-tree transmit-holdcount

Use this command to set the maximum number of transmissions of BPDUs by the transmit state

machine. Use the no parameter with this command to restore the default transmit hold-count value.


Command Syntax

spanning-tree transmit-holdcount number

no spanning-tree hello-time

number

Transmit hold-count value.

Command Mode

Global configuration

Default

Transmit hold-count default value is 3.