HH3C-LswMSTP-MIB :: hh3cdot1sMstiPathCost

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsHH3C-LswMSTP-MIBhh3cdot1sMstiPathCost

hh3cdot1sMstiPathCost

Module: HH3C-LswMSTP-MIB

OID (symbolic): HH3C-LswMSTP-MIB::hh3cdot1sMstiPathCost

OID (numeric): 1.3.6.1.4.1.25506.8.35.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 hh3cdot1sMstiPathCost?

This OID sets this port's contribution to the path cost toward the spanning-tree root for this instance (1-200000000 under the 802.1t standard, though the valid range narrows to 1-65535 under 802.1d or 1-200000 under the legacy standard). Admins lower this value on the uplink they want the instance to prefer as its root path.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.25506.8.35.14.20.1.4
snmpwalk -v2c -c public <target> HH3C-LswMSTP-MIB::hh3cdot1sMstiPathCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.25506.8.35.14.20.1.4.1
snmpget -v2c -c public <target> HH3C-LswMSTP-MIB::hh3cdot1sMstiPathCost.1

Set instance 1 (SNMPv2c):

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

Start monitoring H3C Layer 2 switch (Multiple Spanning Tree Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-LswMSTP-MIB::hh3cdot1sMstiPathCost OID value, configure state conditions and alerts, and monitor any H3C Layer 2 switch (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.25506hh3cHH3C-OID-MIB
1.3.6.1.4.1.25506.8hh3cRhwHH3C-OID-MIB
1.3.6.1.4.1.25506.8.35hh3clswCommonHH3C-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.25506.8.35.14hh3cdot1sMstpHH3C-LswMSTP-MIB
1.3.6.1.4.1.25506.8.35.14.20hh3cdot1sPortTableHH3C-LswMSTP-MIB
1.3.6.1.4.1.25506.8.35.14.20.1hh3cdot1sPortEntryHH3C-LswMSTP-MIB
1.3.6.1.4.1.25506.8.35.14.20.1.4hh3cdot1sMstiPathCostHH3C-LswMSTP-MIB