rcIpStaticRoutePreference
RC-IP-ROUTING-MIB ·
.1.3.6.1.4.1.2272.1.8.15.2.1.6
Object
column r/w
Integer32
Used to indicate the route preference of this entry. If there are more than one route that can be used to forward IP traffic, the route that has a highest preference will be used instead of a lower preference one. The higher the number, the higher the preference.
Context
- MIB
- RC-IP-ROUTING-MIB
- OID
.1.3.6.1.4.1.2272.1.8.15.2.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rcIpStaticRouteEntry
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 'RC-IP-ROUTING-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RC-IP-ROUTING-MIB::rcIpStaticRoutePreference'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RC-IP-ROUTING-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RC-IP-ROUTING-MIB::rcIpStaticRoutePreference.<rcIpStaticRouteDest>.<rcIpStaticRouteMask>.<rcIpStaticRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RC-IP-ROUTING-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RC-IP-ROUTING-MIB::rcIpStaticRoutePreference'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-255