ipNetMask

SWITCH-CHASSIS-MIB · .1.3.6.1.4.1.207.8.9.1.1.3.2

Object

scalar obsolete r/w SNMPv2-SMIIpAddress
The subnet mask that the device will use after
a restart.  The device's active subnet mask can
be determined by examining the appropriate
instance of the ipAdEntNetMask attribute of the
MIB-II IP address table.

Context

MIB
SWITCH-CHASSIS-MIB
OID
.1.3.6.1.4.1.207.8.9.1.1.3.2
Type
scalar
Access
readwrite
Status
obsolete
Parent
ipParams

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

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

Syntax

Source
SNMPv2-SMIIpAddress
Base type
OctetString

Values & Constraints

Type Constraints
range: 4