beautypg.com

Spanning-tree max-hops – Allied Telesis AT-S83 User Manual

Page 256

background image

Chapter 13: Spanning Tree Protocol (STP) Commands

256

SPANNING-TREE MAX-HOPS

Syntax

spanning-tree max-hops <1-40>

no spanning-tree max-hops

Parameters

1-40

Indicates the maximum number of hops the BPDU is valid.

Choose a value between 1 and 40.

Description

Use the SPANNING-TREE MAX-AGE command to specify the maximum
allowed hops for a BPDU in an MST region. The value of this command is
used by all instances of MST. The default number of max-hops is 20 (in an
MST region).

Specifying the max hops for a BPDU prevents messages from looping
indefinitely in the network. When a bridge receives a MST BPDU that has
exceeded the allowed max-hops, it discards the BPDU.

To restore the default value of this command, use the no form of this
command.

Command Mode

Configuration Terminal mode

Example

The following commands set the maximum hops to 9:

switch#configure terminal

switch(config)#spanning-tree max-hops 9

Related Commands

none