netMgmtIpSubnetMask
STAND-ALONE-ETHERNET-SWITCH-MIB ·
.1.3.6.1.4.1.437.1.1.3.4.2
Object
The switch's administrative IP subnet mask. The
switch may automatically discover a value for this object
using the BootStrap protocol (BOOTP). The object value is
also duplicated in the MIB-II ipAddrTable.
The following applies to switches operating with
firmware version smaller than 6.00:
When VLANs are present, The switch may be configured
with up to 4 administrative IP subnet masks, one per VLAN.
This object, in this case, configures the subnet mask
for the first VLAN. See the object vlanTable for
how to configure the other subnet masks.
Assigning multiple VLAN subnet masks is only necessary
if the VLANs in use represent separate physical IP subnets.
A write to this value will take effect immediately. The
default value is 0.0.0.0, or no subnet mask.
Context
- MIB
- STAND-ALONE-ETHERNET-SWITCH-MIB
- OID
.1.3.6.1.4.1.437.1.1.3.4.2- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- netMgmt
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 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::netMgmtIpSubnetMask.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STAND-ALONE-ETHERNET-SWITCH-MIB::netMgmtIpSubnetMask'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4