swDHCPRelayHopCount

DHCP-RELAY-MGMT-MIB · .1.3.6.1.4.1.171.12.42.1.2

Object

scalar r/w Integer32
This object indicates the maximum number of router hops that
the BOOTP packets can cross.

Context

MIB
DHCP-RELAY-MGMT-MIB
OID
.1.3.6.1.4.1.171.12.42.1.2
Type
scalar
Access
readwrite
Status
current
Parent
swDHCPRelayCtrl

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DHCP-RELAY-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DHCP-RELAY-MGMT-MIB::swDHCPRelayHopCount.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DHCP-RELAY-MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DHCP-RELAY-MGMT-MIB::swDHCPRelayHopCount'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-16