ctDhcpEndOfLease
CTRON-DHCP-MIB ·
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.12.2.3.1.1.5
Object
This value is the time at which the lease of the IP address will expire. The units are seconds and the value is relative to the same starting point as ctDhcpIfServerTime.
Context
- MIB
- CTRON-DHCP-MIB
- OID
.1.3.6.1.4.1.52.4.2.2.2.3.1.2.12.2.3.1.1.5- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- ctDhcpClientStatsEntry
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 'CTRON-DHCP-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-DHCP-MIB::ctDhcpEndOfLease'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTRON-DHCP-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-DHCP-MIB::ctDhcpEndOfLease.<ctDhcpClientStatsID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTRON-DHCP-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTRON-DHCP-MIB::ctDhcpEndOfLease'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647