rcIpStaticMRoutePreference
RC-IP-STATIC-M-ROUTE-MIB ·
.1.3.6.1.4.1.2272.1.8.105.1.1.1.1.6
Object
column r/w
Unsigned32
Static MRoute Preference is the administrative distance for the given route. When unicast routing table and the multicast-static IP route table have different routes for the same destination network, then this administrative distance is compared with that of the protocol that contributed the route in unicast routing table. By providing administrative distance for every route, we are giving flexibility to the administrator to choose different distances for different networks.
Context
- MIB
- RC-IP-STATIC-M-ROUTE-MIB
- OID
.1.3.6.1.4.1.2272.1.8.105.1.1.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rcIpStaticMRouteEntry
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-STATIC-M-ROUTE-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RC-IP-STATIC-M-ROUTE-MIB::rcIpStaticMRoutePreference'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RC-IP-STATIC-M-ROUTE-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RC-IP-STATIC-M-ROUTE-MIB::rcIpStaticMRoutePreference.<rcIpStaticMRouteIpAddressType>.<rcIpStaticMRouteIpAddress>.<rcIpStaticMRouteMask>.<rcIpStaticMRouteRpfAddressType>.<rcIpStaticMRouteRpfAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RC-IP-STATIC-M-ROUTE-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RC-IP-STATIC-M-ROUTE-MIB::rcIpStaticMRoutePreference'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 1-255