aniDevRouteType
DEVROUTE-MIB ·
.1.3.6.1.4.1.4325.2.9.1.1.8
Object
column r/w
Enumeration
The type of route.
Currently, aniDevRouteType cannot be set to anything
other than invalid(2).
Setting this object to the value invalid(2) has
the effect of deleting/invalidating the
corresponding entry in the aniDevRouteTable object.
That is, it effectively dissasociates the destination
identified with said entry from the route identified
with said entry.
Context
- MIB
- DEVROUTE-MIB
- OID
.1.3.6.1.4.1.4325.2.9.1.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- aniDevRouteEntry
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 'DEVROUTE-MIB' -M '/opt/observium/mibs/aperto:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DEVROUTE-MIB::aniDevRouteType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DEVROUTE-MIB' -M '/opt/observium/mibs/aperto:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DEVROUTE-MIB::aniDevRouteType.<aniDevRouteDest>.<aniDevRouteNextHop>.<aniDevRouteMask>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DEVROUTE-MIB' -M '/opt/observium/mibs/aperto:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DEVROUTE-MIB::aniDevRouteType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | invalid |
3 | direct |
4 | indirect |