rtrStaticRouteMetric4
RAD-SubRtr-MIB ·
.1.3.6.1.4.1.164.11.1.3.1.15
Object
An alternate routing metric for this route. The semantics of this metric are determined by the routing- protocol specified in the route's rtrStaticRouteProto value. If this metric is not used, its value should be set to -1.
Context
- MIB
- RAD-SubRtr-MIB
- OID
.1.3.6.1.4.1.164.11.1.3.1.15- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rtrStaticRouteEntry
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 'RAD-SubRtr-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-SubRtr-MIB::rtrStaticRouteMetric4'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-SubRtr-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-SubRtr-MIB::rtrStaticRouteMetric4.<rtrStaticRouteDestType>.<rtrStaticRouteDest>.<rtrStaticRoutePfxLen>.<rtrStaticRoutePolicy>.<rtrStaticRouteNextHopType>.<rtrStaticRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-SubRtr-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-SubRtr-MIB::rtrStaticRouteMetric4'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647