drStaticCidrStatus
CROUTE-MIB ·
.1.3.6.1.4.1.81.31.7.1.1.14
Object
Creation, activation, de-activation and deletion of a static route, using the RowStatus convention: active(1), notInService(2) , notReady(3), createAndGo(4), createAndWait(5), destroy(6). when an entry is placed in the notInService state, the corresponding route is disabled (removed from ipCidrRouteTable)
Context
- MIB
- CROUTE-MIB
- OID
.1.3.6.1.4.1.81.31.7.1.1.14- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- drStaticCidrEntry
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 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CROUTE-MIB::drStaticCidrStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CROUTE-MIB::drStaticCidrStatus.<drStaticCidrEntID>.<drStaticCidrDest>.<drStaticCidrMask>.<drStaticCidrTos>.<drStaticCidrNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CROUTE-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CROUTE-MIB::drStaticCidrStatus'