inetCidrRouteNextHopAS
IP-FORWARD-MIB ·
.1.3.6.1.2.1.4.24.7.1.11
Object
The Autonomous System Number of the Next Hop. The semantics of this object are determined by the routing- protocol specified in the route's inetCidrRouteProto value. When this object is unknown or not relevant, its value should be set to zero.
Context
- MIB
- IP-FORWARD-MIB
- OID
.1.3.6.1.2.1.4.24.7.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- inetCidrRouteEntry
- Groups
- 1
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 'IP-FORWARD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-FORWARD-MIB::inetCidrRouteNextHopAS'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IP-FORWARD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-FORWARD-MIB::inetCidrRouteNextHopAS.<inetCidrRouteDestType>.<inetCidrRouteDest>.<inetCidrRoutePfxLen>.<inetCidrRoutePolicy>.<inetCidrRouteNextHopType>.<inetCidrRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IP-FORWARD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IP-FORWARD-MIB::inetCidrRouteNextHopAS'
Syntax
- Source
- INET-ADDRESS-MIBInetAutonomousSystemNumber
- Base type
Unsigned32
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of
Compliance refinements
ipForwardReadOnlyCompliance
readonly
Write access is not required.