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 DHCP client.
4.
Run:
ip address dhcp-alloc
The DHCP client function is enabled on the AR150/200.
l
Enable the BOOTP client.
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-alloc
The BOOTP client function is enabled on the AR150/200.
----End
6.6.4 Checking the Configuration
This section describes how to check the configurations of the DHCP/BOOTP client.
Prerequisites
The DHCP/BOOTP client configurations are complete.
Procedure
l
Run the
display current-configuration
command to check the configurations of the
DHCP/BOOTP client.
----End
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.
152