hh3cDhcpServer2PoolLeaseTime
HH3C-DHCP4-MIB ·
.1.3.6.1.4.1.25506.2.122.2.1.1.13
Object
The lease time of a DHCP pool in number of timeticks.
The value of this object cannot be set to 0
and must be set to 4294967295 or a multiple of 100.
If the object is set with 4294967295, the lease
time of a DHCP pool is unlimited.
Context
- MIB
- HH3C-DHCP4-MIB
- OID
.1.3.6.1.4.1.25506.2.122.2.1.1.13- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hh3cDhcpServer2PoolEntry
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 'HH3C-DHCP4-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-DHCP4-MIB::hh3cDhcpServer2PoolLeaseTime'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-DHCP4-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-DHCP4-MIB::hh3cDhcpServer2PoolLeaseTime.<hh3cDhcpServer2PoolIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-DHCP4-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-DHCP4-MIB::hh3cDhcpServer2PoolLeaseTime'
Syntax
- Source
- SNMPv2-SMITimeTicks
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295