A3COM-HUAWEI-LswMSTP-MIB :: hwdot1sMstiPathCost

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsA3COM-HUAWEI-LswMSTP-MIBhwdot1sMstiPathCost

hwdot1sMstiPathCost

Module: A3COM-HUAWEI-LswMSTP-MIB

OID (symbolic): A3COM-HUAWEI-LswMSTP-MIB::hwdot1sMstiPathCost

OID (numeric): 1.3.6.1.4.1.43.45.1.2.23.1.14.20.1.4

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: The contribution of this port to the path cost of paths towards the spanning tree root which include this port. The range of path cost is 1..65535 for 802.1d standard, is 1..200000000 for 802.1t standard, and is 1..200000 for the legacy standard.

What is hwdot1sMstiPathCost?

This writable integer (1-200000000) assigns a cost metric to the port; lower costs indicate faster/preferred paths. STP uses accumulated costs to choose loop-free forwarding paths. Example: setting cost to 1 on a 10 Gbps link vs 100 on a slower backup link.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.43.45.1.2.23.1.14.20.1.4
snmpwalk -v2c -c public <target> A3COM-HUAWEI-LswMSTP-MIB::hwdot1sMstiPathCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.43.45.1.2.23.1.14.20.1.4.1
snmpget -v2c -c public <target> A3COM-HUAWEI-LswMSTP-MIB::hwdot1sMstiPathCost.1

Set instance 1 (SNMPv2c):

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

Start monitoring H3C/3Com LAN switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the A3COM-HUAWEI-LswMSTP-MIB::hwdot1sMstiPathCost OID value, configure state conditions and alerts, and monitor any H3C/3Com LAN switches 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.43a3ComA3COM-BRIDGE-R3-MIB
1.3.6.1.4.1.43.45jv_mibA3COM-HUAWEI-OID-MIB
1.3.6.1.4.1.43.45.1huaweiA3COM-HUAWEI-OID-MIB
1.3.6.1.4.1.43.45.1.2hwproductsA3COM-HUAWEI-OID-MIB
1.3.6.1.4.1.43.45.1.2.23lanSwA3COM-HUAWEI-OID-MIB
1.3.6.1.4.1.43.45.1.2.23.1lswCommonA3COM-HUAWEI-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.43.45.1.2.23.1.14hwdot1sMstpA3COM-HUAWEI-LswMSTP-MIB
1.3.6.1.4.1.43.45.1.2.23.1.14.20hwdot1sPortTableA3COM-HUAWEI-LswMSTP-MIB
1.3.6.1.4.1.43.45.1.2.23.1.14.20.1hwdot1sPortEntryA3COM-HUAWEI-LswMSTP-MIB
1.3.6.1.4.1.43.45.1.2.23.1.14.20.1.4hwdot1sMstiPathCostA3COM-HUAWEI-LswMSTP-MIB