ospfPmIfMetricTOS
DC-OSPF-MIB ·
.1.2.826.0.1.1578918.5.62.1.1.8.1.3
Object
column TOSType
The type of service metric being referenced. Since DC-OSPF does not support type of service, TOS must be set to zero.
Context
- MIB
- DC-OSPF-MIB
- OID
.1.2.826.0.1.1578918.5.62.1.1.8.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- ospfPmIfMetricEntry
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 'DC-OSPF-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-OSPF-MIB::ospfPmIfMetricTOS'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-OSPF-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-OSPF-MIB::ospfPmIfMetricTOS.<ospfPmIfMetricApplIndex>.<ospfPmIfMetricIpAddress>.<ospfPmIfMetricAddressLessIf>.<ospfPmIfMetricTOS>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-OSPF-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-OSPF-MIB::ospfPmIfMetricTOS'