cIpCidrRouteType
CISCO-IETF-IP-FORWARD-MIB ·
.1.3.6.1.4.1.9.10.85.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 which 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 which, if matched, discards
the message as unreachable. This is used in some
protocols as a means of correctly aggregating routes.
Context
- MIB
- CISCO-IETF-IP-FORWARD-MIB
- OID
.1.3.6.1.4.1.9.10.85.4.1.6- Type
- column
- Access
- readwrite
- Status
- deprecated
- Parent
- cIpCidrRouteEntry
- 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 'CISCO-IETF-IP-FORWARD-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-IP-FORWARD-MIB::cIpCidrRouteType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-IETF-IP-FORWARD-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-IETF-IP-FORWARD-MIB::cIpCidrRouteType.<cIpCidrRouteDest>.<cIpCidrRouteMask>.<cIpCidrRouteTos>.<cIpCidrRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-IETF-IP-FORWARD-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-IETF-IP-FORWARD-MIB::cIpCidrRouteType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | reject |
3 | local |
4 | remote |
Conformance
Member of