Spanning-tree max-hops (mstp) – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 538
![background image](/manuals/427254/538/background.png)
Spanning Tree Commands
Software Reference for x310 Series Switches
19.48
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
spanning-tree max-hops (MSTP)
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 region.
Use the no variant of this command to restore the default.
Use this command for MSTP only.
Syntax
spanning-tree max-hops <hop-count>
no spanning-tree max-hops <hop-count>
Default
The default max-hops in a MST region is 20.
Mode
Global Configuration
Usage
Specifying the max hops for a BPDU prevents the messages from looping indefinitely in
the network. The hop count is decremented by each receiving port. When a switch
receives an MST BPDU that has a hop count of zero, it discards the BPDU.
Examples
Parameter
Description
Specify the maximum hops the BPDU will be valid for in the range <1-
40>.
awplus#
configure terminal
awplus(config)#
spanning-tree max-hops 25
awplus#
configure terminal
awplus(config)#
no spanning-tree max-hops