All MIBs › DLINKSW-DHCP-RELAY-MIB › dDhcpRelayAgentInfoPolicy
dDhcpRelayAgentInfoPolicy
Module: DLINKSW-DHCP-RELAY-MIB
OID (symbolic): DLINKSW-DHCP-RELAY-MIB::dDhcpRelayAgentInfoPolicy
OID (numeric): 1.3.6.1.4.1.171.26.23.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object indicates the re-forwarding policy of DHCP relay agent information option 82. drop (1) - discards the packet that already has the relay option. keep (2) - the DHCP requests packet that already has the relay option is left unchanged and directly relayed to the DHCP server. replace (3) - the DHCP requests packet that already has the relay option will be replaced by a new option.
What is dDhcpRelayAgentInfoPolicy?
Global default re-forwarding policy for DHCP requests that already carry an option 82 relay agent field: drop(1) discards them, keep(2, the default) forwards them unchanged, and replace(3) overwrites the existing option 82 with this relay's own. Set to replace if downstream relays or attacker-spoofed clients might be inserting bogus option 82 data you don't trust.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.26.23.1.1.3 snmpwalk -v2c -c public <target> DLINKSW-DHCP-RELAY-MIB::dDhcpRelayAgentInfoPolicy
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.26.23.1.1.3.1 snmpget -v2c -c public <target> DLINKSW-DHCP-RELAY-MIB::dDhcpRelayAgentInfoPolicy.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.26.23.1.1.3.1 i <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::dDhcpRelayAgentInfoPolicy 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.3 | dDhcpRelayAgentInfoPolicy | DLINKSW-DHCP-RELAY-MIB |