stpDot1dStpPortPathCost

STP-MIB · qtech variant · .1.3.6.1.4.1.27514.1.2.4.3.1.1.15.1.5

Object

column r/w Integer32
DURABLE: { 10:all }
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
STP-MIB
OID
.1.3.6.1.4.1.27514.1.2.4.3.1.1.15.1.5
Type
column
Access
readwrite
Status
current
Parent
stpDot1dStpPortEntry
Groups
1

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 'STP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STP-MIB::stpDot1dStpPortPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STP-MIB::stpDot1dStpPortPathCost.<stpDot1dStpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STP-MIB::stpDot1dStpPortPathCost'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-200000000

Conformance