smNewSubnetMask

CME-MIB · .1.3.6.1.4.1.2.3.51.2.22.3.2.1.2.1.1.7

Object

column mandatory r/w RFC1155-SMIIpAddress
The switch module new subnet mask.  Before setting this object to a new value,
smNewIpconfigEnableDisable object must first be set to disabled.
NOTE: This MIB object can not be set if the MM grants the switch module Protected Mode
permission and the switch module goes into Protected Mode.
NOTE: This MIB object can not be set if the switch module is in Stacking Mode,
and IP Configuration is protected.
NOTE: This MIB object is not applicable to modules that are running in Network Address
Translation (NAT) Mode.

Context

MIB
CME-MIB
OID
.1.3.6.1.4.1.2.3.51.2.22.3.2.1.2.1.1.7
Type
column
Access
readwrite
Status
mandatory
Parent
smNewIPInfoEntry

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 'CME-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CME-MIB::smNewSubnetMask'
More examples
Read one indexed 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::smNewSubnetMask.<smNewIPInfoIndex>'
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::smNewSubnetMask'

Syntax

Source
RFC1155-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4