drStaticCidrMask

CROUTE-MIB · .1.3.6.1.4.1.81.31.7.1.1.3

Object

Equivalent  to ipCidrRouteMask.
Indicate the mask to be logical-ANDed with the
destination  address  before  being compared to
the value  in  the  drStaticCidrDest  field.   
For those  systems that do not support 
arbitrary subnet masks, an agent constructs 
the value  of the  drStaticCidrMask by 
reference to the IP Address Class.
Any assignment (implicit or  otherwise)  of  an
instance  of  this  object to a value x must be
rejected if the bitwise logical-AND of  x  with
the  value of the corresponding instance of the
drStaticCidrDest object is not equal to
drStaticCidrDest.

Context

MIB
CROUTE-MIB
OID
.1.3.6.1.4.1.81.31.7.1.1.3
Type
column
Access
readonly
Status
current
Parent
drStaticCidrEntry

Walk 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::drStaticCidrMask'
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::drStaticCidrMask.<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::drStaticCidrMask'

Syntax

Source
RFC1155-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4