cmGwLanDhcpsCurrentLeaseCount
CM-GATEWAY-MIB ·
.1.3.6.1.4.1.1166.1.19.52.1.2.1.2.14
Object
scalar SNMPv2-SMIUnsigned32
The current number of LAN-side leased IP addresses. This is a count of LAN side addresses.
Context
- MIB
- CM-GATEWAY-MIB
- OID
.1.3.6.1.4.1.1166.1.19.52.1.2.1.2.14- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- cmGwDhcpServer
- Groups
- 1
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 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-GATEWAY-MIB::cmGwLanDhcpsCurrentLeaseCount.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CM-GATEWAY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CM-GATEWAY-MIB::cmGwLanDhcpsCurrentLeaseCount'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of