Procedure
l Run the display dhcp server statistics command to check the statistics on the DHCP
server.
l Run the display ip pool interface interface-name [ low-ip-address high-ip-address | all |
expired | conflict | used ] command to check information about the configured interface
address pool.
----End
Example
Run the display dhcp server statistics command to view the statistics on the DHCP server.
<Huawei> display dhcp server statistics
DHCP Server Statistics:
Client Request: 6
Dhcp Discover: 1
Dhcp Request: 4
Dhcp Decline: 0
Dhcp Release: 1
Dhcp Inform: 0
Server Reply: 4
Dhcp Offer: 1
Dhcp Ack: 3
Dhcp Nak: 0
Bad Messages: 0
Run the display ip pool interface ip-pool-name command to view information about the
interface address pool on VLANIF 10.
<Huawei> display ip pool interface VLANIF10
Pool-name : vlanif10
Pool-No : 2
Lease : 1 Days 0 Hours 0 Minutes
Domain-name : -
DNS-server0 : -
NBNS-server0 : -
Netbios-type : -
Position : Interface Status : Unlocked
Gateway-0 : 192.168.10.2
Mask : 255.255.255.0
VPN instance : --
-----------------------------------------------------------------------------
Start End Total Used Idle(Expired) Conflict Disable
-----------------------------------------------------------------------------
192.168.10.1 192.168.10.254 253 0 253 0 0 0
-----------------------------------------------------------------------------
6.5 Configuring a DHCP Relay Agent
This section describes how a DHCP client communicates with a DHCP server on another
network segment by using a DHCP relay agent to obtain an IP address and other configurations.
6.5.1 Establishing the Configuration Task
Before configuring a DHCP relay agent, familiarize yourself with the applicable environment,
complete pre-configuration tasks, and obtain the data required for the configuration. This will
help you complete the configuration task quickly and accurately.
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - IP Service 6 DHCP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
144