OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Bridge Commands : bridge max-hops
bridge 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. 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.
Use the no parameter with this command to restore the default value.
Command Syntax
bridge <1-32> max-hops <1-40>
no bridge <1-32> max-hops
Parameters
<1-32>
Specify the bridge-group ID.
<1-40>
Specify the maximum hops for which the BPDU will be valid <1-40>.
Default
By default, maximum hops in an MST region are 20
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#bridge 3 max-hops 25
 
#configure terminal
(config)#no bridge 3 max-hops
Last modified date: 07/06/2023