DHCP pool statistics seem to be replacing any "_" in the pool name with a "-" which throws off the reporting.
Configuration shows pool name as: v0302-RLS2_Guest:
litz-guest-dhcp1# sh service dhcp-server shared-network-name v0302-RLS2_Guest
authoritative
domain-name z.com
domain-search z.com
name-server x.x.x.x
name-server y.y.y.y
name-server 9.9.9.9
name-server 1.1.1.1
ping-check
subnet 10.192.16.0/21 {
default-router 10.192.16.1
domain-name z.com
domain-search z.com
enable-failover
lease 86400
name-server x.x.x.x
name-server y.y.y.y
name-server 9.9.9.9
name-server 1.1.1.1
ping-check
range 100 {
start 10.192.16.21
stop 10.192.23.254
}
}DHCP leases table showing active leases:
litz-guest-dhcp1:~$ sh dhcp server leases IP address Hardware address State Lease start Lease expiration Remaining Pool Hostname ------------ ------------------ ------- ------------------- ------------------- ----------- ---------------- ------------ 10.192.20.4 5e:40:3b:87:1a:b9 active 2022/04/05 09:30:23 2022/04/06 09:30:23 19:30:08 v0302-RLS2-Guest 10.192.20.5 3c:06:30:4e:e6:21 active 2022/04/05 09:00:02 2022/04/06 09:00:02 18:59:47 v0302-RLS2-Guest Erics-MBP-2 10.192.20.12 30:24:a9:61:a0:5f active 2022/04/05 10:17:49 2022/04/06 04:35:11 14:34:56 v0302-RLS2-Guest 10.192.20.14 de:e4:f4:8e:86:bb active 2022/04/05 09:25:05 2022/04/06 09:25:05 19:24:50 v0302-RLS2-Guest 10.192.20.15 a0:78:17:63:e5:ec active 2022/04/05 09:44:37 2022/04/06 09:44:37 19:44:22 v0302-RLS2-Guest Brannans-MBP
Statistics showing 0 issued leases:
litz-guest-dhcp1:~$ sh dhcp server statistics Pool Size Leases Available Usage --------------------- ------ -------- ----------- ------- v0302-RLS2_Guest 2026 0 2026 0%
Specific pool showing 0 leases:
litz-guest-dhcp1:~$ sh dhcp server leases pool
Possible completions:
v0302-RLS2_Guest
Show DHCP server leases for a specific pool
litz-guest-dhcp1:~$ sh dhcp server leases pool v0302-RLS2_Guest
IP address Hardware address State Lease start Lease expiration Remaining Pool Hostname
------------ ------------------ ------- ------------- ------------------ ----------- ------ ----------