dhcpClientState
ALLIEDTELESYN-MIB ·
.1.3.6.1.4.1.207.8.4.4.4.70.3.1.3
Object
column mandatory
Enumeration
The state of the IP address; one of unused, inuse or reclaim.
Context
- MIB
- ALLIEDTELESYN-MIB
- OID
.1.3.6.1.4.1.207.8.4.4.4.70.3.1.3- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- dhcpClientEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ALLIEDTELESYN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ALLIEDTELESYN-MIB::dhcpClientState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ALLIEDTELESYN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ALLIEDTELESYN-MIB::dhcpClientState.<dhcpRangeIndex>.<dhcpClientIpAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ALLIEDTELESYN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ALLIEDTELESYN-MIB::dhcpClientState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | unused |
1 | reclaiming |
2 | inuse |
3 | offered |