HUAWEI-MSTP-MIB :: hwMstpiRootPathCost

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HUAWEI-MSTP-MIB › hwMstpiRootPathCost

hwMstpiRootPathCost

Module: HUAWEI-MSTP-MIB

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

OID (numeric): 1.3.6.1.4.1.2011.5.25.42.4.1.19.1.5

Node type: OBJECT-TYPE

Type: Integer32

Access: read-only

Description: The path cost from the transmitting Bridge to the Root Bridge for the spanning tree instance identified by MSTID.

What is hwMstpiRootPathCost?

Reports the path cost from this bridge to the root bridge for the given spanning-tree instance. An admin uses this to understand how many cost-weighted hops separate the local bridge from the instance's root.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.19.1.5
snmpwalk -v2c -c public <target> HUAWEI-MSTP-MIB::hwMstpiRootPathCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.19.1.5.1
snmpget -v2c -c public <target> HUAWEI-MSTP-MIB::hwMstpiRootPathCost.1

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::hwMstpiRootPathCost 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 (14 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
1.3.6.1.4.1.2011.5.25.42.4.1.19hwMstpInstanceTableHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1.19.1hwMstpInstanceEntryHUAWEI-IPDSLAM-MSTP-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.25.42.4.1.19.1.5hwMstpiRootPathCostHUAWEI-MSTP-MIB