ipCidrRouteStaticUsedNextHop
CROUTE-MIB ·
.1.3.6.1.4.1.81.31.1.22.1.7
Object
column RFC1155-SMIIpAddress
On remote routes, the address of the next sys- tem en route; Otherwise, 0.0.0.0. When creating DHCP static route using the default router as next hop then when creating this route the next-hop IP address is not known by the management application. After creating this route this information is presented by the device on this MIB. Note that if no default router/IP address was gathered by the DHCP client from the DHCP server then 0.0.0.0 will be presented else the default-router will be presented. There is no option to present it on the ipCidrRouteStaticNextHop because the row index will then be changed. Note that usedNextHop can be different than 0.0.0.0 only in DHCP and regular routes. In via route/discard, it remains 0.0.0.0.
Context
- MIB
- CROUTE-MIB
- OID
.1.3.6.1.4.1.81.31.1.22.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ipCidrRouteStaticEntry
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 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CROUTE-MIB::ipCidrRouteStaticUsedNextHop'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CROUTE-MIB::ipCidrRouteStaticUsedNextHop.<ipCidrRouteStaticDest>.<ipCidrRouteStaticMask>.<ipCidrRouteStaticIfIndex>.<ipCidrRouteStaticNextHop>.<ipCidrRouteStaticPreference>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CROUTE-MIB::ipCidrRouteStaticUsedNextHop'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4