dhcpSubnetMask

CME-MIB · .1.3.6.1.4.1.2.3.51.2.4.9.1.1.16.4

Object

scalar mandatory RFC1155-SMIIpAddress
Contains the Subnet Mask for the ethernet
interface, assigned by the DHCP server.

Context

MIB
CME-MIB
OID
.1.3.6.1.4.1.2.3.51.2.4.9.1.1.16.4
Type
scalar
Access
readonly
Status
mandatory
Parent
dhcpEthernetInterface

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CME-MIB::dhcpSubnetMask.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CME-MIB::dhcpSubnetMask'

Syntax

Source
RFC1155-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4