swL3RelayDhcpHopCount
DGS3000-26TC-L3MGMT-MIB ·
.1.3.6.1.4.1.171.11.133.2.1.3.3.1.2
Object
scalar r/w
Integer32
This object indicates the maximum number of router hops that the BOOTP packets can cross.
Context
- MIB
- DGS3000-26TC-L3MGMT-MIB
- OID
.1.3.6.1.4.1.171.11.133.2.1.3.3.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swL3RelayDhcpMgmt
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 'DGS3000-26TC-L3MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS3000-26TC-L3MGMT-MIB::swL3RelayDhcpHopCount.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS3000-26TC-L3MGMT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS3000-26TC-L3MGMT-MIB::swL3RelayDhcpHopCount'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-16