rlIpStaticRouteType
DLINK-3100-IP ·
.1.3.6.1.4.1.171.10.94.89.89.26.17.1.1.6
Object
column r/w
Enumeration
The type of route. Note that local(3) refers to a route for which the next hop is the final destination this is the case when user overides the a local interface entry to change it parameters; remote(4) refers to a route for which the next hop is not the final destina- tion. reject (2) refers to a route which, if matched, discards the message as unreachable. This is may be used as a means of correctly aggregating routes, When static routes are distributed (leaked) to other protocols.
Context
- MIB
- DLINK-3100-IP
- OID
.1.3.6.1.4.1.171.10.94.89.89.26.17.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rlIpStaticRouteEntry
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 'DLINK-3100-IP' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINK-3100-IP::rlIpStaticRouteType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DLINK-3100-IP' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINK-3100-IP::rlIpStaticRouteType.<rlIpStaticRouteDest>.<rlIpStaticRouteMask>.<rlIpStaticRouteTos>.<rlIpStaticRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DLINK-3100-IP' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DLINK-3100-IP::rlIpStaticRouteType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | reject |
2 | local |
3 | remote |