nextHopStatus
CROUTE-MIB ·
.1.3.6.1.4.1.81.31.1.17.2.1.5
Object
column Enumeration
Presents whether this next hop is available or not. 1 - UP 2 - Down The status is used to for choosing the first IP/Interface UP/Valid in the next hop list.
Context
- MIB
- CROUTE-MIB
- OID
.1.3.6.1.4.1.81.31.1.17.2.1.5- Type
- column
- Access
- readonly
- 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::nextHopStatus'
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::nextHopStatus.<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::nextHopStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | up |
2 | down |