ipForwardType
IP-FORWARD-MIB ·
.1.3.6.1.2.1.4.24.2.1.6
Object
column obsolete
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 destination.
Setting this object to the value invalid(2) has the
effect of invalidating the corresponding entry in the
ipForwardTable object. That is, it effectively
disassociates the destination identified with said
entry from the route identified with said entry. It is
an implementation-specific matter as to whether the
agent removes an invalidated entry from the table.
Accordingly, management stations must be prepared to
receive tabular information from agents that
corresponds to entries not currently in use. Proper
interpretation of such entries requires examination of
the relevant ipForwardType object.
Context
- MIB
- IP-FORWARD-MIB
- OID
.1.3.6.1.2.1.4.24.2.1.6- Type
- column
- Access
- readwrite
- Status
- obsolete
- Parent
- ipForwardEntry
- Groups
- 1
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 'IP-FORWARD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-FORWARD-MIB::ipForwardType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IP-FORWARD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IP-FORWARD-MIB::ipForwardType.<ipForwardDest>.<ipForwardProto>.<ipForwardPolicy>.<ipForwardNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IP-FORWARD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IP-FORWARD-MIB::ipForwardType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | invalid |
3 | local |
4 | remote |
Conformance
Member of