Configuration guidelines
Follow these guidelines when you correlate a DHCP server group with a relay agent interface:
You can specify up to twenty DHCP server groups on the relay agent.
By executing the dhcp relay server-group command repeatedly, you can specify up to eight DHCP server addresses for each DHCP server group.
The IP addresses of DHCP servers and those of relay agent's interfaces that connect DHCP clients cannot be on the same subnet. Otherwise, the client cannot obtain an IP address.
A DHCP server group can correlate with one or multiple DHCP relay agent interfaces, while a relay agent interface can only correlate with one DHCP server group. Using the dhcp relay server-select command repeatedly overwrites the previous configuration. However, if the specified DHCP server group does not exist, the interface still uses the previous correlation.
The group-id argument in the dhcp relay server-select command is configured by using the dhcp relay server-group command.