rip2IfConfDefaultMetric
RFC1389-MIB ·
.1.3.6.1.2.1.23.3.1.7
Object
column mandatory
r/w
Integer32
This variable indicates the metric that is to be used for the default route entry in RIP updates originated on this interface. A value of zero indicates that no default route should be originated; in this case, a default route via another router may be propagated.
Context
- MIB
- RFC1389-MIB
- OID
.1.3.6.1.2.1.23.3.1.7- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- rip2IfConfEntry
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 'RFC1389-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1389-MIB::rip2IfConfDefaultMetric'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RFC1389-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1389-MIB::rip2IfConfDefaultMetric.<rip2IfConfAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RFC1389-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RFC1389-MIB::rip2IfConfDefaultMetric'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-15