On the AR150/200, a Layer 3 Ethernet interface or its sub-interface, a Layer 3 Eth-
trunk interface or its sub-interface, or a VE interface can be configured to function as
a DHCP client.
4.
Run:
ip address dhcp client hostname
hostname
A host name is configured for the DHCP client.
5.
Run:
ip address dhcp client option61
client-name
An identifier is configured for the DHCP client.
6.
Run:
ip address dhcp client request-option
{
dhcp-file-name
|
dns-domain
|
ftp-
user-ip
|
ftp-user-name
|
ftp-user-password
|
route
|
tftp-server-ip
|
tftp-server-name
}
*
The list of options attributes is configured for the DHCP client.
l
Configure BOOTP 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.
On the AR150/200, a Layer 3 Ethernet interface or its sub-interface, a Layer 3 Eth-
trunk interface or its sub-interface, or a VE interface can be configured to function as
a BOOTP client.
4.
Run:
ip address bootp client hostname
hostname
A host name is configured for the BOOTP client.
----End
6.6.3 Enabling the DHCP/BOOTP Client
After the DHCP/BOOTP client function is enabled on an interface, the interface can obtain an
IP address and other configurations from the DHCP server.
Procedure
l
Enable the DHCP client.
1.
Run:
system-view
The system view is displayed.
2.
Run:
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.
151