stpInstPortPathCost
FIBERSTORE-MIB ·
.1.3.6.1.4.1.52642.1.14.10.6.1.3
Object
column 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. Path cost in range .(802.1t:1-200000000, 802.1d-1998:1-65535).
Context
- MIB
- FIBERSTORE-MIB
- OID
.1.3.6.1.4.1.52642.1.14.10.6.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- stpInstPortEntry
Net-SNMP examples
How SNMP and these commands workWalk 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 'FIBERSTORE-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FIBERSTORE-MIB::stpInstPortPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FIBERSTORE-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FIBERSTORE-MIB::stpInstPortPathCost.<stpInstId>.<stpxpPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FIBERSTORE-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FIBERSTORE-MIB::stpInstPortPathCost'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-200000000