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.
dhcp-server ip-address [ ip-address-index ]
undo dhcp-server { ip-address | ip-address-index }
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 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