Hi, everyone! Today I’m going to introduce common operation (DHCP): checking IP addresses used.
On the device functioning as a DHCP server, run the display ip pool { interface interface-pool-name | name ip-pool-name } used command to check the IP addresses used.
For example, the following command output indicates that there are 253 available IP addresses (10.1.1.1-10.1.1.254, excluding the gateway address 10.1.1.2) in the global address pool pool1. The IP address 10.1.1.254 is used by the DHCP client with the MAC address 0235-2036-adcc, and 10.1.1.5 is used by the DHCP client with the MAC address 00e0-0987-7895.
<HUAWEI> display ip pool name pool1 used Pool-name : pool1 Pool-No : 0 Lease : 1 Days 0 Hours 0 Minutes Domain-name : - DNS-server0 : - NBNS-server0 : - Netbios-type : - Status : Unlocked Gateway-0 : 10.1.1.2 Network : 10.1.1.0 Mask : 255.255.255.0 VPN instance : -- ----------------------------------------------------------------------------- Start End Total Used Idle(Expired) Conflict Disable ----------------------------------------------------------------------------- 10.1.1.1 10.1.1.254 253 2 252(0) 0 0 ----------------------------------------------------------------------------- Network section : ----------------------------------------------------------------------------- Index IP MAC Lease Status ----------------------------------------------------------------------------- 253 10.1.1.254 0235-2036-adcc 178 Used 4 10.1.1.5 00e0-0987-7895 60 Static-bind -----------------------------------------------------------------------------
More Information: S Series Switches Common Operation Guide If you have any problems, please post them in our Community. We are happy to solve them for you!