zhoneCpeDhcpServerLeaseTime
Zhone-CPE-MIB ·
.1.3.6.1.4.1.5504.5.16.1.20.2.1.6
Object
column r/w
secondsInteger32
Lease time in seconds of client assigned addresses. A value of -1 indicates an infinite lease.
Context
- MIB
- Zhone-CPE-MIB
- OID
.1.3.6.1.4.1.5504.5.16.1.20.2.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Units
- seconds
- Parent
- zhoneCpeDhcpServerEntry
- Groups
- 1
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 'Zhone-CPE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Zhone-CPE-MIB::zhoneCpeDhcpServerLeaseTime'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Zhone-CPE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Zhone-CPE-MIB::zhoneCpeDhcpServerLeaseTime.<zhoneCpeDhcpServerIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Zhone-CPE-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Zhone-CPE-MIB::zhoneCpeDhcpServerLeaseTime'
Syntax
secondsInteger32
Values & Constraints
Object Constraints
range: -1-2147483647
Conformance
Member of