mstp max-hops

Configures the maximum hop count.
Syntax
mstp max-hops count
no mstp max-hops count
Command Default

The default is 20 hops.

Parameters
count
The maximum hop count. The number of hops ranges from 1 through 40.
Modes

Global configuration mode

Usage Guidelines

The no form of the command resets the maximum hop count to the default value.

Examples

The following example configures the maximum hop count to 20.

device(config)# mstp max-hops 20