All MIBs › DLINKSW-DHCP-RELAY-MIB › dDhcpRelaySmartRelay
dDhcpRelaySmartRelay
Module: DLINKSW-DHCP-RELAY-MIB
OID (symbolic): DLINKSW-DHCP-RELAY-MIB::dDhcpRelaySmartRelay
OID (numeric): 1.3.6.1.4.1.171.26.23.1.1.5
Node type: OBJECT-TYPE
Type: TruthValue
Access: read-write
Description: This object indicates the status of smart relay function. By default, the relay agent sets the gateway address field of the packet to the primary address of the interface. When the received interface of the packet has secondary addresses and smart relay is enabled, relay agent will count the number that a client retries sending of the DISCOVER message. The relay agent will switch the gateway address to secondary address of the received interface after three retries.
What is dDhcpRelaySmartRelay?
Enables 'smart relay' (default false), which after a client retries a DHCP DISCOVER three times on an interface with secondary IP addresses, switches the relay's gateway address field to a secondary address to try allocating from a different subnet/pool. Useful on interfaces where the primary subnet's DHCP pool may be exhausted but a secondary subnet still has free addresses.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.26.23.1.1.5 snmpwalk -v2c -c public <target> DLINKSW-DHCP-RELAY-MIB::dDhcpRelaySmartRelay
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.26.23.1.1.5.1 snmpget -v2c -c public <target> DLINKSW-DHCP-RELAY-MIB::dDhcpRelaySmartRelay.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.26.23.1.1.5.1 s <value>
Start monitoring D-Link managed switch (BOOTP/DHCP relay agent) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DLINKSW-DHCP-RELAY-MIB::dDhcpRelaySmartRelay OID value, configure state conditions and alerts, and monitor any D-Link managed switch (BOOTP/DHCP relay agent) 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.26 | dlinkIndustrialCommon | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.26.23 | dlinkSwDhcpRelayMIB | DLINKSW-DHCP-RELAY-MIB |
| 1.3.6.1.4.1.171.26.23.1 | dDhcpRelayMIBObjects | DLINKSW-DHCP-RELAY-MIB |
| 1.3.6.1.4.1.171.26.23.1.1 | dDhcpRelayGeneral | DLINKSW-DHCP-RELAY-MIB |
| 1.3.6.1.4.1.171.26.23.1.1.5 | dDhcpRelaySmartRelay | DLINKSW-DHCP-RELAY-MIB |