wwpDhcpLeaseTime
WWP-DHCP-CLIENT-MIB ·
.1.3.6.1.4.1.6141.2.18.1.1.4
Object
scalar r/w
HoursInteger32
The requested lease time option to be used with DHCPDISCOVER or DHCPREQUEST messages.
Context
- MIB
- WWP-DHCP-CLIENT-MIB
- OID
.1.3.6.1.4.1.6141.2.18.1.1.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Units
- Hours
- Parent
- wwpDhcpClient
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 'WWP-DHCP-CLIENT-MIB' -M '/opt/observium/mibs/ciena:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'WWP-DHCP-CLIENT-MIB::wwpDhcpLeaseTime.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'WWP-DHCP-CLIENT-MIB' -M '/opt/observium/mibs/ciena:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'WWP-DHCP-CLIENT-MIB::wwpDhcpLeaseTime'
Syntax
HoursInteger32
Values & Constraints
Object Constraints
range: 0-2147483647