madgeIPCurrentSubnetMask
MADGEBOX-MIB ·
.1.3.6.1.4.1.494.10.4.3
Object
The IP Subnet Mask that is currently being used by this device. The IP Subnet Mask could have been obtained from madgeConfigIPSubnetMask or by some other means indicated by madgeIPDiscoveryMethod
Context
- MIB
- MADGEBOX-MIB
- OID
.1.3.6.1.4.1.494.10.4.3- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- madgeIP
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MADGEBOX-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MADGEBOX-MIB::madgeIPCurrentSubnetMask.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MADGEBOX-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MADGEBOX-MIB::madgeIPCurrentSubnetMask'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4