set spantree maxhops

Use this command to set the Spanning Tree maximum hop count.

Syntax

set spantree maxhops max_hop_count

Parameters

max_hop_count Specifies the maximum number of hops allowed. Valid values are 0 to 255. Default value is 20.

Defaults

None.

Mode

All command modes.

Usage

Spanning Tree maximum hop count is the maximum number of hops that the information for a particular Spanning Tree instance may traverse (via relay of BPDUs within the applicable MST region) before being discarded.

Example

This example shows how to set the maximum hop count to 40:

System(rw)->set spantree maxhops 40