rtmRibMetric2
DC-RTM-MIB ·
.1.3.6.1.4.1.629.10.7.1.7.1.16
Object
column SNMPv2-SMIInteger32
An alternate routing metric for this route. The semantics of this metric are determined by the routing-protocol specified in the route's rtmRibProto value. If this metric is not used, its value is returned as -1.
Context
- MIB
- DC-RTM-MIB
- OID
.1.3.6.1.4.1.629.10.7.1.7.1.16- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rtmRibEntry
- Groups
- 1
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-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRibMetric2'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRibMetric2.<rtmRibFteIndex>.<rtmRibDestType>.<rtmRibDest>.<rtmRibDestLen>.<rtmRibTos>.<rtmRibNextHopType>.<rtmRibNextHop>.<rtmRibIfIndex>.<rtmRibProto>.<rtmRibRpmIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-RTM-MIB::rtmRibMetric2'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of