CONFIG-MIB :: hpSwitchStpPortPathCost

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsCONFIG-MIBhpSwitchStpPortPathCost

hpSwitchStpPortPathCost

Module: CONFIG-MIB

OID (symbolic): CONFIG-MIB::hpSwitchStpPortPathCost

OID (numeric): 1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1.5

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. 802.1D-1990 recommends that the default value of this parameter be in inverse proportion to the speed of the attached LAN.

What is hpSwitchStpPortPathCost?

This read-write integer (1-65535) sets a port's contribution to the total STP path cost toward the root bridge, with 802.1D recommending lower values for faster LAN speeds by default. Admins adjust it to influence which path STP chooses as the preferred route to the root. For example, an admin wanting traffic to prefer a high-speed fiber uplink over a slower backup link would lower hpSwitchStpPortPathCost on the fiber port relative to the backup.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1.5
snmpwalk -v2c -c public <target> CONFIG-MIB::hpSwitchStpPortPathCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1.5.1
snmpget -v2c -c public <target> CONFIG-MIB::hpSwitchStpPortPathCost.1

Set instance 1 (SNMPv2c):

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

Start monitoring Generic vendor-unspecified SNMP-managed network device with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CONFIG-MIB::hpSwitchStpPortPathCost OID value, configure state conditions and alerts, and monitor any Generic vendor-unspecified SNMP-managed network device from a single console.

OID Breakdown

Upper-level ancestors (8 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.11hpCLJ8500-MIB
1.3.6.1.4.1.11.2nmCLJ8500-MIB
Numeric OIDNameModule
1.3.6.1.4.1.11.2.14icfCONFIG-MIB
1.3.6.1.4.1.11.2.14.11hpicfObjectsCONFIG-MIB
1.3.6.1.4.1.11.2.14.11.5hpicfSwitchCONFIG-MIB
1.3.6.1.4.1.11.2.14.11.5.1hpSwitchCONFIG-MIB
1.3.6.1.4.1.11.2.14.11.5.1.7hpConfigCONFIG-MIB
1.3.6.1.4.1.11.2.14.11.5.1.7.1hpSwitchConfigCONFIG-MIB
1.3.6.1.4.1.11.2.14.11.5.1.7.1.14hpSwitchStpConfigCONFIG-MIB
1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2hpSwitchStpPortTableCONFIG-MIB
1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1hpSwitchStpPortEntryCONFIG-MIB
1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1.5hpSwitchStpPortPathCostCONFIG-MIB