rtrStaticRouteType
RAD-SubRtr-MIB ·
.1.3.6.1.4.1.164.11.1.3.1.8
Object
column Enumeration
The static Routing table shall have the type of route equal to remote(4) by default and cannot be changed by the user. Note that the other values are specified in order to keep consistency with the RFC4292.
Context
- MIB
- RAD-SubRtr-MIB
- OID
.1.3.6.1.4.1.164.11.1.3.1.8- 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::rtrStaticRouteType'
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::rtrStaticRouteType.<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::rtrStaticRouteType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | reject |
3 | local |
4 | remote |
5 | blackhole |