staticIfRouteDistance
MAIPU-STATICROUTE-MIB ·
.1.3.6.1.4.1.5651.3.81.7.1.1.5
Object
column Integer32
·?ɹ???????
Context
- MIB
- MAIPU-STATICROUTE-MIB
- OID
.1.3.6.1.4.1.5651.3.81.7.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- staticIfRouteEntry
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 'MAIPU-STATICROUTE-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MAIPU-STATICROUTE-MIB::staticIfRouteDistance'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MAIPU-STATICROUTE-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MAIPU-STATICROUTE-MIB::staticIfRouteDistance.<staticIfRouteVrfName>.<staticIfRouteDest>.<staticIfRouteMask>.<staticIfRouteIfName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MAIPU-STATICROUTE-MIB' -M '/opt/observium/mibs/maipu:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MAIPU-STATICROUTE-MIB::staticIfRouteDistance'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255