myipCidrRouteMetric4
MY-ROUTE-MIB ·
.1.3.6.1.4.1.4881.1.1.10.2.20.5.1.1.14
Object
An alternate routing metric for this route. The semantics of this metric are determined by the routing-protocol specified in the route's ipCidrRouteProto value. If this metric is not used, its value should be set to -1.
Context
- MIB
- MY-ROUTE-MIB
- OID
.1.3.6.1.4.1.4881.1.1.10.2.20.5.1.1.14- Type
- column
- Access
- readwrite
- Status
- current
- Default
-1- Parent
- myipCidrRouteEntry
- 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 'MY-ROUTE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-ROUTE-MIB::myipCidrRouteMetric4'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-ROUTE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-ROUTE-MIB::myipCidrRouteMetric4.<myipCidrRouteDest>.<myipCidrRouteMask>.<myipCidrRouteTos>.<myipCidrRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-ROUTE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-ROUTE-MIB::myipCidrRouteMetric4'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of