ipDhcpClientState
BINTEC-DYNIP-MIB ·
.0.52.2.1.3
Object
column r/w
Enumeration
States according to RFC 2131 Figure 5. By setting state to renew, the client will renew it's ip address, state delete will terminate the DHCP procedure on the interface. delete : delete client entry renew : request IP address renewal
Context
- MIB
- BINTEC-DYNIP-MIB
- OID
.0.52.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ipDhcpClientEntry
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 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-DYNIP-MIB::ipDhcpClientState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-DYNIP-MIB::ipDhcpClientState.<ipDhcpClientIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BINTEC-DYNIP-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BINTEC-DYNIP-MIB::ipDhcpClientState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | delete |
2 | renew |
3 | rebooting |
4 | init |
5 | selecting |
6 | requesting |
7 | bound |
8 | renewing |
9 | rebinding |