ipRouteMetric5

SUN-SNMP · .1.3.6.1.2.1.4.21.1.12

Object

column mandatory r/w Integer32
An alternate routing metric for this route.  The
semantics of this metric are determined by the
routing-protocol specified in the route's
ipRouteProto value.  If this metric is not used,
its value should be set to -1.

Context

MIB
SUN-SNMP
OID
.1.3.6.1.2.1.4.21.1.12
Type
column
Access
readwrite
Status
mandatory
Parent
ipRouteEntry

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647