All MIBs › DLINKPRIME-DEVICE-INFORMATION-MIB › dpDeviceInfoIpV4SubnetMask
dpDeviceInfoIpV4SubnetMask
Module: DLINKPRIME-DEVICE-INFORMATION-MIB
OID (symbolic): DLINKPRIME-DEVICE-INFORMATION-MIB::dpDeviceInfoIpV4SubnetMask
OID (numeric): 1.3.6.1.4.1.171.28.3.1.1.3
Node type: OBJECT-TYPE
Type: IpAddress
Access: read-write
Description: IP subnet mask for the default IP address. This subnet mask, if modified, will take effect only when the configuration is stored & restored.
What is dpDeviceInfoIpV4SubnetMask?
This read-write object holds the subnet mask paired with the device's default IPv4 address. Like the address itself, an edit here only takes effect after the configuration is stored and restored, so it must be saved before it changes how the interface computes its local subnet. An admin narrowing the network from a /24 to a /25 would set this to 255.255.255.128 and then save and reload the configuration for it to apply.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.28.3.1.1.3 snmpwalk -v2c -c public <target> DLINKPRIME-DEVICE-INFORMATION-MIB::dpDeviceInfoIpV4SubnetMask
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.28.3.1.1.3.1 snmpget -v2c -c public <target> DLINKPRIME-DEVICE-INFORMATION-MIB::dpDeviceInfoIpV4SubnetMask.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.28.3.1.1.3.1 a <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> dpDeviceInfoIpV4SubnetMask.1
Start monitoring D-Link Prime ecosystem device (identity/inventory) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DLINKPRIME-DEVICE-INFORMATION-MIB::dpDeviceInfoIpV4SubnetMask OID value, configure state conditions and alerts, and monitor any D-Link Prime ecosystem device (identity/inventory) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.28 | dlinkPrimeCommon | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.28.3 | dlinkPrimeDeviceInfoMIB | DLINKPRIME-DEVICE-INFORMATION-MIB |
| 1.3.6.1.4.1.171.28.3.1 | dpDeviceInfoMIBObjects | DLINKPRIME-DEVICE-INFORMATION-MIB |
| 1.3.6.1.4.1.171.28.3.1.1 | dpDeviceInfoSysConfiguration | DLINKPRIME-DEVICE-INFORMATION-MIB |
| 1.3.6.1.4.1.171.28.3.1.1.3 | dpDeviceInfoIpV4SubnetMask | DLINKPRIME-DEVICE-INFORMATION-MIB |