hmDHCPServerLeaseState
HMDHCPS-SNMP-MIB ·
.1.3.6.1.4.1.248.14.16.1.2.1.1.3
Object
column Enumeration
The state of the lease.
Context
- MIB
- HMDHCPS-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.16.1.2.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hmDHCPServerLeaseEntry
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 'HMDHCPS-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMDHCPS-SNMP-MIB::hmDHCPServerLeaseState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMDHCPS-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMDHCPS-SNMP-MIB::hmDHCPServerLeaseState.<hmDHCPServerLeasePoolIndex>.<hmDHCPServerLeaseIpAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMDHCPS-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMDHCPS-SNMP-MIB::hmDHCPServerLeaseState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | bootp |
2 | offering |
3 | requesting |
4 | bound |
5 | renewing |
6 | rebinding |
7 | declined |
8 | released |