hpSwitchStpPortPathCost

CONFIG-MIB · .1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1.5

Object

column mandatory r/w Integer32
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.

Context

MIB
CONFIG-MIB
OID
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.14.2.1.5
Type
column
Access
readwrite
Status
mandatory
Parent
hpSwitchStpPortEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchStpPortPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchStpPortPathCost.<hpSwitchStpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-MIB::hpSwitchStpPortPathCost'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-65535