ipRouteProto
RFC1213-IPROUTE-MIB ·
.0.4.21.1.9
Object
column mandatory
Enumeration
The routing mechanism via which this route was
learned. Inclusion of values for gateway routing
protocols is not intended to imply that hosts
should support those protocols.
other(1) = none of the following;
local(2 = non-protocol information
e.g., manually configured
entries;
netmgmt(3) = set via a network
management protocol;
icmp(4) = obtained via ICMP,
e.g., Redirect;
the remaining values are
all gateway routing
protocols:
egp(5);
ggp(6);
hello(7);
rip(8);
is-is(9);
es-is(10);
ciscoIgrp(11);
bbnSpfIgp(12);
ospf(13);
bgp(14)
Context
- MIB
- RFC1213-IPROUTE-MIB
- OID
.0.4.21.1.9- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- ipRouteEntry
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 'RFC1213-IPROUTE-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1213-IPROUTE-MIB::ipRouteProto'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RFC1213-IPROUTE-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1213-IPROUTE-MIB::ipRouteProto.<ipRouteDest>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RFC1213-IPROUTE-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RFC1213-IPROUTE-MIB::ipRouteProto'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | local |
3 | netmgmt |
4 | icmp |
5 | egp |
6 | ggp |
7 | hello |
8 | rip |
9 | is-is |
10 | es-is |
11 | ciscoIgrp |
12 | bbnSpfIgp |
13 | ospf |
14 | bgp |
31 | ospf-ext |