dhcpServerDefaultLeaseTime
ZHONE-COM-IP-DHCP-SERVER-MIB ·
.1.3.6.1.4.1.5504.4.1.11.1
Object
scalar r/w
secondsInteger32
The global default time in seconds that will be assigned to a lease if the client requesting the lease does not ask for a specific expiration time. Default value is 43200 seconds.
Context
- MIB
- ZHONE-COM-IP-DHCP-SERVER-MIB
- OID
.1.3.6.1.4.1.5504.4.1.11.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Units
- seconds
- Parent
- dhcpServer
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 'ZHONE-COM-IP-DHCP-SERVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZHONE-COM-IP-DHCP-SERVER-MIB::dhcpServerDefaultLeaseTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZHONE-COM-IP-DHCP-SERVER-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZHONE-COM-IP-DHCP-SERVER-MIB::dhcpServerDefaultLeaseTime'
Syntax
secondsInteger32
Values & Constraints
Object Constraints
range: 0-2147483647