nextHopRowStatus
CROUTE-MIB ·
.1.3.6.1.4.1.81.31.1.17.2.1.6
Object
Used for creation/deletion of a next hop entry and for monitoring entry status. 1) create the next-hop entry by setting nextHopRowStatus==CreateAndWait At this stage the entry is NotReady 2) set either the nextHopIP or nextHopInterface to change the entry to Active 3) If nextHop is IP Address then nextHopInterface=L3 interface name 4) if nextHop is interface then nextHopIP=0.0.0.0. 5) if nextHop is null0 then nextHopIp=0.0.0.0 and. nextHopInterface=null0 6) to change an entry from IP to INTERFACE to NULL0: ip->interface/null0 : set the nextHopInterface interface->null0 : set the nextHopInterface interface->ip : set the nextHopIP 7) nextHopType is READ-ONLY active(1), notInService(2), notReady(3), createAndGo(4), createAndWait(5), destroy(6)
Context
- MIB
- CROUTE-MIB
- OID
.1.3.6.1.4.1.81.31.1.17.2.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- nextHopEntry
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::nextHopRowStatus'
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::nextHopRowStatus.<nextHopListIndex>.<nextHopIndex>'
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::nextHopRowStatus'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647