HUAWEI-DHCP-PROXY-MIB :: hwDhcpRelayMode

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.2011huaweiEXPERTV2-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.18hwDhcpProxyHUAWEI-DHCP-PROXY-MIB
1.3.6.1.4.1.2011.5.18.1hwDhcpMibObjectHUAWEI-DHCP-PROXY-MIB
1.3.6.1.4.1.2011.5.18.1.17hwDhcpRelayModeHUAWEI-DHCP-PROXY-MIB