All MIBs › TPLINK-DHCPRELAY-MIB › dhcpRelayEnableState
dhcpRelayEnableState
Module: TPLINK-DHCPRELAY-MIB
OID (symbolic): TPLINK-DHCPRELAY-MIB::dhcpRelayEnableState
OID (numeric): 1.3.6.1.4.1.11863.6.39.1.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Enable or disable the switch as a DHCP relay.
What is dhcpRelayEnableState?
This field enables or disables the switch's DHCP relay agent function. Admins enable this so the switch forwards DHCP requests from clients on one subnet to a DHCP server on another, rather than requiring a server on every VLAN. For example, setting dhcpRelayEnableState to enable(1) lets the switch relay DHCP requests from a client VLAN to a centralized DHCP server elsewhere in the network.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.39.1.1.1 snmpwalk -v2c -c public <target> TPLINK-DHCPRELAY-MIB::dhcpRelayEnableState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.39.1.1.1.1 snmpget -v2c -c public <target> TPLINK-DHCPRELAY-MIB::dhcpRelayEnableState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11863.6.39.1.1.1.1 i <value>
Start monitoring TP-Link managed switch (DHCP relay agent server-address config status) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TPLINK-DHCPRELAY-MIB::dhcpRelayEnableState OID value, configure state conditions and alerts, and monitor any TP-Link managed switch (DHCP relay agent server-address config 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.11863 | tplink | TPLINK-MIB |
| 1.3.6.1.4.1.11863.6 | tplinkMgmt | TPLINK-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11863.6.39 | tplinkDhcpRelayMIB | TPLINK-DHCPRELAY-MIB |
| 1.3.6.1.4.1.11863.6.39.1 | tplinkDhcpRelayMIBObjects | TPLINK-DHCPRELAY-MIB |
| 1.3.6.1.4.1.11863.6.39.1.1 | dhcpRelayGlobalConfig | TPLINK-DHCPRELAY-MIB |
| 1.3.6.1.4.1.11863.6.39.1.1.1 | dhcpRelayEnableState | TPLINK-DHCPRELAY-MIB |