wfOspfIfMetricCost
RFC7777-MIB ·
.1.3.6.1.4.1.18.3.5.3.2.3.5.1.16
Object
column mandatory
r/w
Enumeration
'The cost of using this type of service on this interface. The default value of the TOS 0 Metric is 10^8 / ifSpeed. The value FFFF is distinguished to mean 'no route via this TOS'.'
Context
- MIB
- RFC7777-MIB
- OID
.1.3.6.1.4.1.18.3.5.3.2.3.5.1.16- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- wfOspfIfEntry
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 'RFC7777-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC7777-MIB::wfOspfIfMetricCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RFC7777-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC7777-MIB::wfOspfIfMetricCost.<wfOspfIfIpAddress>.<wfOspfAddressLessIf>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RFC7777-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RFC7777-MIB::wfOspfIfMetricCost'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.