myipCidrRouteProto
MY-ROUTE-MIB ·
.1.3.6.1.4.1.4881.1.1.10.2.20.5.1.1.7
Object
column Enumeration
The routing mechanism via which this route was learned. Inclusion of values for gateway rout- ing protocols is not intended to imply that hosts should support those protocols.
Context
- MIB
- MY-ROUTE-MIB
- OID
.1.3.6.1.4.1.4881.1.1.10.2.20.5.1.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- myipCidrRouteEntry
- 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 'MY-ROUTE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-ROUTE-MIB::myipCidrRouteProto'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-ROUTE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-ROUTE-MIB::myipCidrRouteProto.<myipCidrRouteDest>.<myipCidrRouteMask>.<myipCidrRouteTos>.<myipCidrRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-ROUTE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-ROUTE-MIB::myipCidrRouteProto'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | local |
3 | netmgmt |
4 | icmp |
5 | egp |
6 | ggp |
7 | hello |
8 | rip |
9 | isIs |
10 | esIs |
11 | ciscoIgrp |
12 | bbnSpfIgp |
13 | ospf |
14 | bgp |
15 | idpr |
16 | ciscoEigrp |
17 | policy |
Conformance
Member of