l Run the display dhcp server group group-name command to check the configurations of
the DHCP server group.
----End
Example
Run the display dhcp relay interface interface-type interface-number command to view the
DHCP server group bound to VLANIF 100 and information about the DHCP group servers.
<Huawei> display dhcp relay interface vlanif 100
** Vlanif100 DHCP Relay Configuration **
DHCP server group name : group1
DHCP server IP [0] :10.10.10.10
DHCP server IP [1] :10.10.10.11
DHCP server IP [2] :10.10.10.12
Run the display dhcp relay statistics command to view the statistics on the DHCP relay agent.
<Huawei> display dhcp relay statistics
The statistics of DHCP RELAY:
DHCP packets received from clients : 0
DHCP DISCOVER packets received : 0
DHCP REQUEST packets received : 0
DHCP RELEASE packets received : 0
DHCP INFORM packets received : 0
DHCP DECLINE packets received : 0
DHCP packets sent to clients : 0
Unicast packets sent to clients : 0
Broadcast packets sent to clients : 0
DHCP packets received from servers : 0
DHCP OFFER packets received : 0
DHCP ACK packets received : 0
DHCP NAK packets received : 0
DHCP packets sent to servers : 0
DHCP Bad packets received : 0
Run the display dhcp server group group-name command to view the configurations of DHCP
server group 1.
<Huawei> display dhcp server group group1
Group-name : group1
Group-type : --
(0) Server-IP : 100.10.10.1
(1) Server-IP : 100.10.10.2
Gateway : --
VPN instance : --
1 DHCP server group(s) in total
6.6 Configuring a DHCP/BOOTP Client
After a Layer 3 interface of the AR150/200 is specified to function as a DHCP/BOOTP client,
the interface can dynamically obtain an IP address and other configurations from the DHCP
server by using the DHCP/BOOTP protocol.
6.6.1 Establishing the Configuration Task
Before configuring a DHCP/BOOTP client, familiarize yourself with the applicable
environment, complete the 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.
149