rtmRibType
DC-RTM-MIB ·
.1.3.6.1.4.1.629.10.7.1.7.1.10
Object
column RouteType
The type of route.
local(3) refers to a route for which the destination is a
local IP address or for which the next hop is the final
destination. This includes routes to local IP addresses
and routes to directly connected IP addresses or subnets.
remote(4) refers to a route for which the next hop is not
the final destination.
reject (2) refers to a route which, if matched, discards
the message as unreachable. This is used in some
protocols as a means of correctly aggregating routes.
Context
- MIB
- DC-RTM-MIB
- OID
.1.3.6.1.4.1.629.10.7.1.7.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rtmRibEntry
- 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 'DC-RTM-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-RTM-MIB::rtmRibType'
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::rtmRibType.<rtmRibFteIndex>.<rtmRibDestType>.<rtmRibDest>.<rtmRibDestLen>.<rtmRibTos>.<rtmRibNextHopType>.<rtmRibNextHop>.<rtmRibIfIndex>.<rtmRibProto>.<rtmRibRpmIndex>'
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::rtmRibType'
Values & Constraints
Type Values
1 | other |
2 | reject |
3 | local |
4 | remote |
Conformance
Member of