tpStpInPathCost
TPLINK-SPANNING-TREE-MIB ·
.1.3.6.1.4.1.11863.6.21.1.1.3.7
Object
scalar Integer32
Internal Path cost.
Context
- MIB
- TPLINK-SPANNING-TREE-MIB
- OID
.1.3.6.1.4.1.11863.6.21.1.1.3.7- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- tpStpInfo
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TPLINK-SPANNING-TREE-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TPLINK-SPANNING-TREE-MIB::tpStpInPathCost.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TPLINK-SPANNING-TREE-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TPLINK-SPANNING-TREE-MIB::tpStpInPathCost'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2000000