hm2AgentBootpDhcpRelayMaxHopCount
HM2-PLATFORM-ROUTING-MIB ·
.1.3.6.1.4.1.248.12.2.6.1
Object
scalar r/w
Integer32
The BOOTP/DHCP Max Hop Count. The relay agent silently discards BOOTREQUEST messages whose hops field exceeds the value 16 assuming that the request is looped through the intermediate agents. The default value is 4.
Context
- MIB
- HM2-PLATFORM-ROUTING-MIB
- OID
.1.3.6.1.4.1.248.12.2.6.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hm2AgentBootpDhcpRelayGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-ROUTING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-ROUTING-MIB::hm2AgentBootpDhcpRelayMaxHopCount.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-ROUTING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-ROUTING-MIB::hm2AgentBootpDhcpRelayMaxHopCount'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-16