All MIBs › ZYXEL-accessSwitch-MIB › asDhcpRelayEnable
asDhcpRelayEnable
Module: ZYXEL-accessSwitch-MIB
OID (symbolic): ZYXEL-accessSwitch-MIB::asDhcpRelayEnable
OID (numeric): 1.3.6.1.4.1.890.1.5.1.1.21
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Enable/disable DHCP relay function.
What is asDhcpRelayEnable?
This read-write INTEGER, enable(1) or disable(2), turns the switch's DHCP relay function on or off. An admin sets this to control whether the switch forwards DHCP requests from clients to a configured DHCP server elsewhere on the network. Setting asDhcpRelayEnable to disable(2) stops the switch from relaying DHCP traffic, which would break client address assignment if no local DHCP server exists.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.890.1.5.1.1.21 snmpwalk -v2c -c public <target> ZYXEL-accessSwitch-MIB::asDhcpRelayEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.890.1.5.1.1.21.1 snmpget -v2c -c public <target> ZYXEL-accessSwitch-MIB::asDhcpRelayEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.890.1.5.1.1.21.1 i <value>
Start monitoring ZyXEL access switch (port/subscriber-line operational status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ZYXEL-accessSwitch-MIB::asDhcpRelayEnable OID value, configure state conditions and alerts, and monitor any ZyXEL access switch (port/subscriber-line operational 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.890 | zyxel | NWA1100 |
| 1.3.6.1.4.1.890.1 | nwaSeries | NWA1100 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.890.1.5 | accessSwitch | ZYXEL-accessSwitch-MIB |
| 1.3.6.1.4.1.890.1.5.1 | accessSwitchCommon | ZYXEL-accessSwitch-MIB |
| 1.3.6.1.4.1.890.1.5.1.1 | accessSwitchMgnt | ZYXEL-accessSwitch-MIB |
| 1.3.6.1.4.1.890.1.5.1.1.21 | asDhcpRelayEnable | ZYXEL-accessSwitch-MIB |