ipCidrRouteType
IP-FORWARD-MIB ·
.1.3.6.1.2.1.4.24.4.1.6
Object
column deprecated
r/w
Enumeration
The type of route. Note that local(3) refers to a
route for which the next hop is the final destination;
remote(4) refers to a route for which the next hop is
not the final destination.
Routes that do not result in traffic forwarding or
rejection should not be displayed, even if the
implementation keeps them stored internally.
reject (2) refers to a route that, if matched,
discards the message as unreachable. This is used in
some protocols as a means of correctly aggregating
routes.
Context
- MIB
- IP-FORWARD-MIB
- OID
.1.3.6.1.2.1.4.24.4.1.6- Type
- column
- Access
- readwrite
- Status
- deprecated
- Parent
- ipCidrRouteEntry
- 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::ipCidrRouteType'
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::ipCidrRouteType.<ipCidrRouteDest>.<ipCidrRouteMask>.<ipCidrRouteTos>.<ipCidrRouteNextHop>'
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::ipCidrRouteType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | reject |
3 | local |
4 | remote |
Conformance
Member of