Applicable Environment
After a Layer 3 interface on the AR150/200 is configured to function as a DHCP/BOOTP client,
the interface can use the DHCP/BOOTP protocol to dynamically obtain an IP address and other
configurations from a DHCP server. This facilitates the configuration for users and centralized
management.
NOTE
After the DHCP/BOOTP client is configured, the DHCP server can assign an IP address to the DHCP/BOOTP
client. Therefore, a BOOTP server is not necessary.
Pre-configuration Tasks
Before configuring a DHCP/BOOTP client, complete the following tasks:
l Configuring a DHCP server
l (Optional) Configuring a DHCP relay agent
l Configuring a route destined to the DHCP relay agent or the DHCP server on the
AR150/200
Data Preparation
To configure a DHCP/BOOTP client, you need the following data.
No.
Data
1 Name of a DHCP server group
2 IP addresses of DHCP servers in the DHCP server group
3 Number and IP address of the interface on which the DHCP relay function is enabled
6.6.2 (Optional) Configuring the DHCP/BOOTP Client Attributes
The DHCP/BOOTP client attributes can be used to establish the communication between the
DHCP/BOOTP client and the DHCP server.
Procedure
l Configure DHCP client attributes.
1. Run:
system-view
The system view is displayed.
2. Run:
dhcp enable
The DHCP service is enabled.
3. Run:
interface interface-type interface-number
The interface view is displayed.
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.
150