rtmRouteNextHopAS

DC-RTM-MIB · .1.3.6.1.4.1.629.10.7.1.6.1.14

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
rtmRouteProto value. When this object is
unknown or not relevant its value should be set
to zero.

Context

MIB
DC-RTM-MIB
OID
.1.3.6.1.4.1.629.10.7.1.6.1.14
Type
column
Access
readonly
Status
current
Parent
rtmRouteEntry
Groups
1

Walk 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 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRouteNextHopAS'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRouteNextHopAS.<rtmRouteFteIndex>.<rtmRouteDestType>.<rtmRouteDest>.<rtmRouteDestLen>.<rtmRouteTos>.<rtmRouteNextHopType>.<rtmRouteNextHop>.<rtmRouteIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-RTM-MIB::rtmRouteNextHopAS'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647

Conformance

Member of