All MIBs › HP-ICF-RPVST-MIB › hpicfRpvstPathCostMode
hpicfRpvstPathCostMode
Module: HP-ICF-RPVST-MIB
OID (symbolic): HP-ICF-RPVST-MIB::hpicfRpvstPathCostMode
OID (numeric): 1.3.6.1.4.1.11.2.14.11.5.1.88.1.1.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: hpicfRpvstPathCostMode controls which pathcost mode to use.
A device can function in one of the 2 modes defined below.
pathCost8021d - The device calculates the default path cost for
ports based on IEEE 802.1d.
pathCost8021t - The device calculates the default path cost for
ports based on IEEE 802.1t.
proprietary -The device calculates the default path cost for
ports based on the proprietary standard.
Link Speed Vs Pathcost Table
----------------------------------------------------------
|Link speed| Pathcost in | Pathcost in | Pathcost in |
| | IEEE802.1d | IEEE 802.1t | private standard|
----------------------------------------------------------
| 0 | 65535 | 200,000,000 | 200,000 |
----------------------------------------------------------
| 10 Mbps | 100 | 2,000,000 | 2,000 |
----------------------------------------------------------
| 100 Mbp | 19 | 200,000 | 200 |
----------------------------------------------------------
| 1000 Mbp | 4 | 20,000 | 20 |
----------------------------------------------------------
| 10 Gbps | 2 | 2,000 | 2 |
----------------------------------------------------------
What is hpicfRpvstPathCostMode?
Selects which standard the switch uses to auto-calculate default STP path cost from link speed: pathCost8021d(1) (legacy 16-bit values, e.g. 19 for 100 Mbps), pathCost8021t(2) (32-bit values, e.g. 200,000 for 100 Mbps), or proprietary(3) (vendor scale, e.g. 200 for 100 Mbps). An admin changes this when interoperating with other vendors' switches that expect a particular path-cost scale for correct root/blocking-port selection.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.5.1.88.1.1.5 snmpwalk -v2c -c public <target> HP-ICF-RPVST-MIB::hpicfRpvstPathCostMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.14.11.5.1.88.1.1.5.1 snmpget -v2c -c public <target> HP-ICF-RPVST-MIB::hpicfRpvstPathCostMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.14.11.5.1.88.1.1.5.1 i <value>
Start monitoring HP ProCurve/Aruba switch (Rapid Per-VLAN Spanning Tree Plus) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HP-ICF-RPVST-MIB::hpicfRpvstPathCostMode OID value, configure state conditions and alerts, and monitor any HP ProCurve/Aruba switch (Rapid Per-VLAN Spanning Tree Plus) from a single console.
OID Breakdown
Upper-level ancestors (13 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 |
| 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.88 | hpicfRpvstMIB | HP-ICF-OID |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.14.11.5.1.88.1 | hpicfRpvstObjects | HP-ICF-RPVST-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.88.1.1 | hpicfRpvstGeneralGroup | HP-ICF-RPVST-MIB |
| 1.3.6.1.4.1.11.2.14.11.5.1.88.1.1.5 | hpicfRpvstPathCostMode | HP-ICF-RPVST-MIB |