zhIpCidrRouteProto
ZHONE-COM-IP-ROUTE-MIB ·
.1.3.6.1.4.1.5504.4.1.7.3.1.6
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.
other -- not specified
local -- local interface
netmgmt -- static route
icmp -- result of ICMP Redirect
The following are all dynamic routing protocols
rip -- Berkeley RIP or RIP-II
isIs -- Dual IS-IS
ospf -- Open Shortest Path First
bgp -- Border Gateway Protocol
idpr -- InterDomain Policy Routing
Context
- MIB
- ZHONE-COM-IP-ROUTE-MIB
- OID
.1.3.6.1.4.1.5504.4.1.7.3.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zhoneIpCidrRouteEntry
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 'ZHONE-COM-IP-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-ROUTE-MIB::zhIpCidrRouteProto'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZHONE-COM-IP-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-ROUTE-MIB::zhIpCidrRouteProto.<rdIndex>.<zhIpCidrRouteDest>.<zhIpCidrRouteMask>.<zhIpCidrRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-ROUTE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-ROUTE-MIB::zhIpCidrRouteProto'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | local |
3 | netmgmt |
4 | icmp |
8 | rip |
9 | isIs |
13 | ospf |
14 | bgp |
15 | idpr |