clnpRouteType
CLNS-MIB ·
.1.3.6.1.3.1.1.22.1.8
Object
column mandatory
r/w
Enumeration
The type of route.
Setting this object to the value invalid(2) has
the effect of invaliding the corresponding entry
in the clnpRoutingTable. That is, it effectively
dissasociates 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
clnpRouteType object.
Context
- MIB
- CLNS-MIB
- OID
.1.3.6.1.3.1.1.22.1.8- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- clnpRouteEntry
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 'CLNS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CLNS-MIB::clnpRouteType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CLNS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CLNS-MIB::clnpRouteType.<clnpRouteDest>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CLNS-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CLNS-MIB::clnpRouteType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | invalid |
3 | direct |
4 | remote |