ctAgentDhcpServerPoolLeaseTime
CT-FASTPATH-DHCPSERVER-MIB ·
.1.3.6.1.4.1.52.4.2.32.1.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
- CT-FASTPATH-DHCPSERVER-MIB
- OID
.1.3.6.1.4.1.52.4.2.32.1.2.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ctAgentDhcpServerPoolConfigEntry
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 'CT-FASTPATH-DHCPSERVER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CT-FASTPATH-DHCPSERVER-MIB::ctAgentDhcpServerPoolLeaseTime'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CT-FASTPATH-DHCPSERVER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CT-FASTPATH-DHCPSERVER-MIB::ctAgentDhcpServerPoolLeaseTime.<ctAgentDhcpServerPoolIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CT-FASTPATH-DHCPSERVER-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CT-FASTPATH-DHCPSERVER-MIB::ctAgentDhcpServerPoolLeaseTime'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-86400