All MIBs › HUAWEI-DHCP-PROXY-MIB › hwDhcpRelayMode
hwDhcpRelayMode
Module: HUAWEI-DHCP-PROXY-MIB
OID (symbolic): HUAWEI-DHCP-PROXY-MIB::hwDhcpRelayMode
OID (numeric): 1.3.6.1.4.1.2011.5.18.1.17
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Describes the current DHCP forwarding mode of the system. Options: 1. layer2(3) -indicates L2 mode 2. layer3(1) -indicates L3 mode Default: layer2(3)
What is hwDhcpRelayMode?
Selects the device's DHCP forwarding mode: layer2(3, the default) for L2 relay behavior or layer3(1) for L3 relay behavior — an admin sets this to match how DHCP requests are routed through this device.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.18.1.17 snmpwalk -v2c -c public <target> HUAWEI-DHCP-PROXY-MIB::hwDhcpRelayMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.18.1.17.1 snmpget -v2c -c public <target> HUAWEI-DHCP-PROXY-MIB::hwDhcpRelayMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.18.1.17.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::hwDhcpRelayMode 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.17 | hwDhcpRelayMode | HUAWEI-DHCP-PROXY-MIB |