All MIBs › CONFIG-MIB › hpSwitchStpPortPathCost
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 OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.11 | hp | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2 | nm | CLJ8500-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.14 | icf | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11 | hpicfObjects | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5 | hpicfSwitch | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1 | hpSwitch | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.7 | hpConfig | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.7.1 | hpSwitchConfig | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.7.1.14 | hpSwitchStpConfig | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2 | hpSwitchStpPortTable | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1 | hpSwitchStpPortEntry | CONFIG-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1.5 | hpSwitchStpPortPathCost | CONFIG-MIB |