HUAWEI-IPDSLAM-MSTP-MIB :: hwMstpiPortPathCost

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsHUAWEI-IPDSLAM-MSTP-MIBhwMstpiPortPathCost

hwMstpiPortPathCost

Module: HUAWEI-IPDSLAM-MSTP-MIB

OID (symbolic): HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortPathCost

OID (numeric): 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.4

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: Indicates the path cost of the port. The value range of this leaf is relevant to hwMstpPathCostStandard. Range: 1-65535 (The 802.1d-1998 protocol is used as the computing standard) 1-200000000 (The 802.1t protocol is used as the computing standard) 1-200000 (Huawei's proprietary legacy is used as the computing standard)

What is hwMstpiPortPathCost?

Sets the spanning-tree path cost assigned to this port for this instance, up to 200,000,000 depending on the active path-cost standard. Admins lower the cost on a preferred high-bandwidth uplink so MSTP favors it over a slower backup link.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.4
snmpwalk -v2c -c public <target> HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortPathCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.4.1.20.1.4.1
snmpget -v2c -c public <target> HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortPathCost.1

Set instance 1 (SNMPv2c):

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

Start monitoring Huawei IP-DSLAM access node (Multiple Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-IPDSLAM-MSTP-MIB::hwMstpiPortPathCost OID value, configure state conditions and alerts, and monitor any Huawei IP-DSLAM access node (Multiple Spanning Tree Protocol) from a single console.

OID Breakdown

Upper-level ancestors (9 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.2011huaweiHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25huaweiDatacommHUAWEI-3COM-OID-MIB
Numeric OIDNameModule
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.20hwMstpPortTableHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1.20.1hwMstpPortEntryHUAWEI-IPDSLAM-MSTP-MIB
1.3.6.1.4.1.2011.5.25.42.4.1.20.1.4hwMstpiPortPathCostHUAWEI-IPDSLAM-MSTP-MIB