All MIBs › DHCP-V4-RELAY-MIB › maxHopCountAllowed
maxHopCountAllowed
Module: DHCP-V4-RELAY-MIB
OID (symbolic): DHCP-V4-RELAY-MIB::maxHopCountAllowed
OID (numeric): 1.3.6.1.2.1.0.3.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The maximum hop count that a DHCP/BOOTP packet can have to pass through the relay
What is maxHopCountAllowed?
This read-write integer sets the maximum hop count a DHCP or BOOTP packet is allowed to have before the relay will still forward it. Admins tune it to bound how many relay agents a request can traverse, preventing packets that have wandered through an excessive chain of relays from being propagated further. For instance, setting this to 4 means a packet whose hop count already reads 5 or more gets dropped instead of relayed onward.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.0.3.1.1.3 snmpwalk -v2c -c public <target> DHCP-V4-RELAY-MIB::maxHopCountAllowed
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.0.3.1.1.3.1 snmpget -v2c -c public <target> DHCP-V4-RELAY-MIB::maxHopCountAllowed.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.0.3.1.1.3.1 i <value>
Start monitoring Router/Layer 3 switch (vendor-neutral, DHCP/BOOTP relay agent, RFC draft) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DHCP-V4-RELAY-MIB::maxHopCountAllowed OID value, configure state conditions and alerts, and monitor any Router/Layer 3 switch (vendor-neutral, DHCP/BOOTP relay agent, RFC draft) from a single console.
OID Breakdown
Upper-level ancestors (6 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.2 | mgmt | APERTUS-NPG-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.0 | dhcp | DHCP-V4-RELAY-MIB |
| 1.3.6.1.2.1.0.3 | dhcpv4Relay | DHCP-V4-RELAY-MIB |
| 1.3.6.1.2.1.0.3.1 | dhcpv4RelayObjects | DHCP-V4-RELAY-MIB |
| 1.3.6.1.2.1.0.3.1.1 | dhcpv4RelaySystem | DHCP-V4-RELAY-MIB |
| 1.3.6.1.2.1.0.3.1.1.3 | maxHopCountAllowed | DHCP-V4-RELAY-MIB |