agentDhcpServerPoolLeaseTime
LANCOM-DHCPSERVER-PRIVATE-MIB ·
.1.3.6.1.4.1.2356.16.1.12.2.2.1.5
Object
column r/w
Integer32
This specifies the duration of the lease(in minutes) for an IP address that is assigened from a DHCP server to a DHCP client. For infinite leases, lease-time value will be set to 86400.
Context
- MIB
- LANCOM-DHCPSERVER-PRIVATE-MIB
- OID
.1.3.6.1.4.1.2356.16.1.12.2.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentDhcpServerPoolConfigEntry
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 'LANCOM-DHCPSERVER-PRIVATE-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-DHCPSERVER-PRIVATE-MIB::agentDhcpServerPoolLeaseTime'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LANCOM-DHCPSERVER-PRIVATE-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-DHCPSERVER-PRIVATE-MIB::agentDhcpServerPoolLeaseTime.<agentDhcpServerPoolIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-DHCPSERVER-PRIVATE-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-DHCPSERVER-PRIVATE-MIB::agentDhcpServerPoolLeaseTime'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-86400