HUAWEI-MSTP-MIB :: hwMstpBridgeMaxHops

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HUAWEI-MSTP-MIB › hwMstpBridgeMaxHops

hwMstpBridgeMaxHops

Module: HUAWEI-MSTP-MIB

OID (symbolic): HUAWEI-MSTP-MIB::hwMstpBridgeMaxHops

OID (numeric): 1.3.6.1.4.1.2011.5.25.42.4.1.4

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: The maximum value of the Bridge hops. It can limit the scope of the bridge network. It is effective when the bridge is root bridge. The BPDU that the bridge receives from the Designed bridge will be dropped when the hops in the BPDU is zero . By default, the value is 20.

What is hwMstpBridgeMaxHops?

Sets the maximum number of hops a BPDU can travel before being discarded, limiting how far the spanning-tree domain can span. This setting is only effective when the local bridge is the root bridge; BPDUs from designated bridges are dropped once their hop count reaches zero. The default value is 20 hops.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.4
snmpwalk -v2c -c public <target> HUAWEI-MSTP-MIB::hwMstpBridgeMaxHops

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.4.1
snmpget -v2c -c public <target> HUAWEI-MSTP-MIB::hwMstpBridgeMaxHops.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.42.4.1.4.1 i <value>

Start monitoring Huawei enterprise or carrier switch/bridge (Multiple Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-MSTP-MIB::hwMstpBridgeMaxHops OID value, configure state conditions and alerts, and monitor any Huawei enterprise or carrier switch/bridge (Multiple Spanning Tree Protocol) from a single console.

OID Breakdown

Upper-level ancestors (12 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.2011huaweiEXPERTV2-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25huaweiDatacommHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25.42hwL2MgmtHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4hwMstpHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1hwMstpObjectsHUAWEI-IPDSLAM-MSTP-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.25.42.4.1.4hwMstpBridgeMaxHopsHUAWEI-MSTP-MIB