The dhcp server group command creates a DHCP server group and displays the DHCP server group view or directly displays the view of the existing DHCP server group.
The undo dhcp server group command deletes an existing DHCP server group.
By default, no DHCP server group is configured.
Parameter |
Description |
Value |
---|---|---|
group-name |
Specifies the name of a DHCP server group. |
The value is a string of 1 to 32 case-sensitive characters without spaces. |
Usage Scenario
This command applies to DHCP relay agents. Generally, a DHCP relay agent serves multiple DHCP servers. To manage these DHCP servers in a unified manner, run the dhcp server group command to create a DHCP server group. The DHCP server group then assigns IP addresses to users using the DHCP relay agent.
Run the dhcp-server command to add DHCP servers to the DHCP server group.
Run the dhcp relay server-select command in the interface view to specify a DHCP server group for the DHCP relay agent.
Precautions
You can configure a maximum of 32 DHCP server groups in the system, and a maximum of 20 DHCP servers in a DHCP server group.