l 6.5.3 Specifying a Server Group on the DHCP Relay Agent and 6.5.4 Binding a DHCP
Server Group to a DHCP Relay Interface.
l Run the dhcp relay server-ip ip-address command in the interface view to configure the
IP address of the DHCP server connected to the DHCP relay agent.
6.5.3 Specifying a Server Group on the DHCP Relay Agent
This section describes how to configure a DHCP server group and add server IP addresses to
the group.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
dhcp server group group-name
A DHCP server group is created and the DHCP server group view is displayed.
The AR150/200 supports a maximum of 64 DHCP server groups.
Step 3 Run:
dhcp-server ip-address [ ip-address-index ]
The IP address of a server is added to the DHCP server group.
A DHCP server group comprises a maximum of eight DHCP servers. If no indexes are specified
for the DHCP group servers, the system automatically assigns idle indexes to them.
----End
6.5.4 Binding a DHCP Server Group to a DHCP Relay Interface
This section describes how to bind a DHCP server group to an interface enabled with the DHCP
relay function. After this configuration, DHCP clients can access the DHCP server in the bound
server group.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 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 VLANIF interface can be configured to function as a DHCP relay agent.
Step 3 Run:
dhcp relay server-select group-name
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.
147