rtrStaticRouteProto
RAD-SubRtr-MIB ·
.1.3.6.1.4.1.164.11.1.3.1.9
Object
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. The default value shall be netmgmt(3) corresponding to static route
Context
- MIB
- RAD-SubRtr-MIB
- OID
.1.3.6.1.4.1.164.11.1.3.1.9- Type
- column
- Access
- readonly
- Status
- current
- Parent
- rtrStaticRouteEntry
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 'RAD-SubRtr-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-SubRtr-MIB::rtrStaticRouteProto'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-SubRtr-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-SubRtr-MIB::rtrStaticRouteProto.<rtrStaticRouteDestType>.<rtrStaticRouteDest>.<rtrStaticRoutePfxLen>.<rtrStaticRoutePolicy>.<rtrStaticRouteNextHopType>.<rtrStaticRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-SubRtr-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-SubRtr-MIB::rtrStaticRouteProto'
Syntax
- Source
- IANA-RTPROTO-MIBIANAipRouteProtocol
- Base type
Enumeration
Values & Constraints
Type 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 | dvmrp |
18 | rpl |
19 | dhcp |
20 | ttdp |