ipInterfaceNetMask

CROUTE-MIB · .1.3.6.1.4.1.81.31.1.2.1.2

Object

The subnet mask associated with the
IP address of this entry. The value of
the mask is an IP address with all the
network bits set to 1 and all the
hosts bits set to 0.

Context

MIB
CROUTE-MIB
OID
.1.3.6.1.4.1.81.31.1.2.1.2
Type
column
Access
readwrite
Status
current
Parent
ipInterfaceEntry

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::ipInterfaceNetMask'
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::ipInterfaceNetMask.<ipInterfaceAddr>'
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::ipInterfaceNetMask'

Syntax

Source
RFC1155-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4