aniDevRouteNextHop
DEVROUTE-MIB ·
.1.3.6.1.4.1.4325.2.9.1.1.7
Object
The IP address of the next hop of this route. (In the case of a route bound to an interface which is realized via a broadcast media, the value of this field is the agent's IP address on that interface.)
Context
- MIB
- DEVROUTE-MIB
- OID
.1.3.6.1.4.1.4325.2.9.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- aniDevRouteEntry
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 'DEVROUTE-MIB' -M '/opt/observium/mibs/aperto:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DEVROUTE-MIB::aniDevRouteNextHop'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DEVROUTE-MIB' -M '/opt/observium/mibs/aperto:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DEVROUTE-MIB::aniDevRouteNextHop.<aniDevRouteDest>.<aniDevRouteNextHop>.<aniDevRouteMask>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DEVROUTE-MIB' -M '/opt/observium/mibs/aperto:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DEVROUTE-MIB::aniDevRouteNextHop'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4