rtrFwdType
RAD-SubRtr-MIB ·
.1.3.6.1.4.1.164.11.9.3.1.8
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; remote(4) refers to a route for
which the next hop is not the final destina-
tion.
Routes which do not result in traffic forwarding or
rejection should not be displayed even if the
implementation keeps them stored internally.
reject (2) refers to a route which, if matched, discards
the message as unreachable. This is used in some
protocols as a means of correctly aggregating routes.
Context
- MIB
- RAD-SubRtr-MIB
- OID
.1.3.6.1.4.1.164.11.9.3.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rtrFwdEntry
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::rtrFwdType'
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::rtrFwdType.<rtrFwdIdx>.<rtrFwdIpAddress>.<rtrFwdIpMask>.<rtrFwdRuleIdx>'
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::rtrFwdType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | reject |
3 | local |
4 | remote |