Fat AP and Cloud AP V200R019C00 Command Reference
This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
dhcp-server
Function
The dhcp-server command adds DHCP servers to a DHCP server group.
The undo dhcp-server command deletes DHCP servers from a DHCP server group.
By default, no DHCP server is configured in a DHCP server group.
Format
dhcp-server ip-address [ ip-address-index ]
undo dhcp-server { ip-address | ip-address-index }
Parameters
Parameter |
Description |
Value |
---|---|---|
ip-address |
Specifies the IP address of a DHCP server. |
The value is in dotted decimal notation. |
ip-address-index |
When you specify the IP address for a DHCP server, you can specify ip-address-index for the IP address. If you do not specify the server index, the system assigns an idle index to the server. |
The value is an integer that ranges from 0 to 19. |
Usage Guidelines
Usage Scenario
The dhcp-server command applies to DHCP relay agents. To ensure that the DHCP relay agent can forward messages to multiple DHCP servers, configure multiple DHCP servers in a DHCP server group.
Precautions
Each DHCP server group can be configured with a maximum of twenty DHCP servers. You can delete a DHCP server by specifying ip-address-index.