aniDevRouteFlag
DEVROUTE-MIB ·
.1.3.6.1.4.1.4325.2.9.1.1.14
Object
column r/w
Enumeration
The flag to be associated with this particular route entry. While adding a network route, set this value to network(1). When a host route is being added, this value is set to host(2). Also, for host route, the subnet mask aniDevRouteMask has to be 255.255.255.255.
Context
- MIB
- DEVROUTE-MIB
- OID
.1.3.6.1.4.1.4325.2.9.1.1.14- 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::aniDevRouteFlag'
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::aniDevRouteFlag.<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::aniDevRouteFlag'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | network |
2 | host |