All MIBs › HUAWEI-DHCP-PROXY-MIB › hwDhcpRelayServerMode
hwDhcpRelayServerMode
Module: HUAWEI-DHCP-PROXY-MIB
OID (symbolic): HUAWEI-DHCP-PROXY-MIB::hwDhcpRelayServerMode
OID (numeric): 1.3.6.1.4.1.2011.5.18.1.23
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Configures the working mode of the DHCP server. Options: 1. shareload(1) -indicates the load balancing mode. In this mode, the system forwards all DHCP packets from the user to all servers in the DHCP server group. 2. backup(2) -indicates the backup mode. In this mode, the system forwards packets from the user to only the primary server in the DHCP server group. When the primary server is disconnected, the packets are forwarded to the secondary server. Default: shareload(1)
What is hwDhcpRelayServerMode?
Sets the DHCP relay's server-facing behavior: shareload(1, the default) load-balances requests across all servers in the group, while backup(2) sends to the primary server only and fails over to the secondary if it's unreachable.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.18.1.23 snmpwalk -v2c -c public <target> HUAWEI-DHCP-PROXY-MIB::hwDhcpRelayServerMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.18.1.23.1 snmpget -v2c -c public <target> HUAWEI-DHCP-PROXY-MIB::hwDhcpRelayServerMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.18.1.23.1 i <value>
Start monitoring Huawei switch or router (DHCP relay/proxy device) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-DHCP-PROXY-MIB::hwDhcpRelayServerMode OID value, configure state conditions and alerts, and monitor any Huawei switch or router (DHCP relay/proxy device) 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.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.18 | hwDhcpProxy | HUAWEI-DHCP-PROXY-MIB |
| 1.3.6.1.4.1.2011.5.18.1 | hwDhcpMibObject | HUAWEI-DHCP-PROXY-MIB |
| 1.3.6.1.4.1.2011.5.18.1.23 | hwDhcpRelayServerMode | HUAWEI-DHCP-PROXY-MIB |