iPAddrSubnetMask

ZELAX-MIB · .1.3.6.1.4.1.7840.2.1.100.4.3.1.3

Object

column r/w SNMPv2-SMIIpAddress
The subnet mask of this Net interface.  The default value
for this object is 0.0.0.0.  If either the IPAddrIPAddress
or IPAddrSubnetMask are 0.0.0.0, then when the device
boots, it may use BOOTP to try to figure out what these
values should be. If BOOTP fails, before the device
can talk on the network, this value must be configured
(e.g., through a terminal attached to the device).

Context

MIB
ZELAX-MIB
OID
.1.3.6.1.4.1.7840.2.1.100.4.3.1.3
Type
column
Access
readwrite
Status
current
Parent
iPAddrEntry

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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::iPAddrSubnetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::iPAddrSubnetMask.<iPAddrVid>.<iPAddrIPAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::iPAddrSubnetMask'

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4