All MIBs › WL400-SNMPGEN-MIB › snmpGenUseDHCP
snmpGenUseDHCP
Module: WL400-SNMPGEN-MIB
OID (symbolic): WL400-SNMPGEN-MIB::snmpGenUseDHCP
OID (numeric): 1.3.6.1.4.1.232.144.1.2.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object controls DHCP operation. When set to always(1), the Access Point will not assume an infinite lease it was given but continue trying to obtain an IP address using DHCP.
The Access Point can only see the difference between an infinite lease and a finite lease because there is no clock running when the device is shut down. When set to smart(2), the Access Point will use DHCP when it does not have an infinite lease. When it does have an infinite lease, it quickly tries to contact a DHCP server (because it may now be in a new IP subnet) using one DHCPREQUEST and one DHCPDISCOVER. If no replies are received, it will automatically assume its given (infinite) address within a few seconds after reboot.
When set to never(3), the Access Point will not use DHCP if it has an infinite address. It will immediately assume that address after a reboot. Note that the Access Point requires a valid (not NULL) IP address for this object to be set to never(3).
What is snmpGenUseDHCP?
This read-write value controls DHCP behavior on the Access Point: always keeps retrying DHCP even with an existing infinite lease, smart quickly re-checks DHCP after reboot only if it currently holds an infinite lease before falling back to that address, and never skips DHCP entirely and immediately assumes its stored infinite address after reboot, provided that address is valid. An admin picks always for an environment where DHCP addressing should never be second-guessed, smart as a balance that still confirms subnet placement after a reboot, or never for fastest reboot recovery when the device's address is known to be stable. For example, setting this object to never(3) on an Access Point with a confirmed-valid static-equivalent lease speeds up its post-reboot availability by skipping any DHCP negotiation.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.232.144.1.2.7 snmpwalk -v2c -c public <target> WL400-SNMPGEN-MIB::snmpGenUseDHCP
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.232.144.1.2.7.1 snmpget -v2c -c public <target> WL400-SNMPGEN-MIB::snmpGenUseDHCP.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.232.144.1.2.7.1 i <value>
Start monitoring Compaq WL400 wireless LAN adapter (SNMP community/trap-destination/lock-status config status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the WL400-SNMPGEN-MIB::snmpGenUseDHCP OID value, configure state conditions and alerts, and monitor any Compaq WL400 wireless LAN adapter (SNMP community/trap-destination/lock-status config status) 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.232 | compaq | COMPAQ-ID-REC-MIB |
| 1.3.6.1.4.1.232.144 | wl400Generic | WL400-GLOBAL-REG |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.232.144.1 | snmpGenMIB | WL400-SNMPGEN-MIB |
| 1.3.6.1.4.1.232.144.1.2 | snmpGenObjs | WL400-SNMPGEN-MIB |
| 1.3.6.1.4.1.232.144.1.2.7 | snmpGenUseDHCP | WL400-SNMPGEN-MIB |