All MIBs › Usr-Dhcp-MIB › usrDhcpMode
usrDhcpMode
Module: Usr-Dhcp-MIB
OID (symbolic): Usr-Dhcp-MIB::usrDhcpMode
OID (numeric): 1.3.6.1.4.1.429.4.59.12
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: this variable selects the DHCP mode. When set to Server, the router will be a local DHCP server and assign configured addresses and parameters to the clients on the LAN. When set to Relay, the router will send the Client DHCP/BOOTP requests to the configured remote Server(s).
What is usrDhcpMode?
Deprecated selector for whether this router acts as a local DHCP server (assigning configured addresses/parameters to LAN clients) or as a relay (forwarding client requests to the configured remote DHCP servers); defaults to disabled/relay. Superseded by the newer usrDhcpAgent and related objects.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.429.4.59.12 snmpwalk -v2c -c public <target> Usr-Dhcp-MIB::usrDhcpMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.429.4.59.12.1 snmpget -v2c -c public <target> Usr-Dhcp-MIB::usrDhcpMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.429.4.59.12.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> usrDhcpMode.1
Start monitoring CommWorks/3Com broadband/remote-access equipment (DHCP pool/lease/relay status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the Usr-Dhcp-MIB::usrDhcpMode OID value, configure state conditions and alerts, and monitor any CommWorks/3Com broadband/remote-access equipment (DHCP pool/lease/relay status) from a single console.
OID Breakdown
Upper-level ancestors (9 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.429 | usr | CHS-MIB |
| 1.3.6.1.4.1.429.4 | common | HDR2-MIB |
| 1.3.6.1.4.1.429.4.59 | usrDhcp | USR-DEFINITIONS-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.429.4.59.12 | usrDhcpMode | Usr-Dhcp-MIB |