No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.

Knowledge Base

FAQ-When a Switch Functions as a DHCP Reply Agent, How Do DHCP Servers Back Up Each Other Based on Priorities?

Publication Date:  2019-05-20  |   Views:  367  |   Downloads:  0  |   Document ID:  EKB1100015809


Issue Description

In a scenario where a switch functions as a DHCP relay agent, the dhcp server group command is used to configure multiple DHCP servers. In this case, how do multiple DHCP servers back up each other based on priorities?


In a scenario where a switch functions as a relay agent, if there are multiple DHCP servers, DHCP servers cannot back up each other based on priorities. Only the following effect can be achieved:

1. By default, the device forwards packets to all DHCP servers and adjusts the forwarding sequence every time a DHCP DISCOVER packet is received.

2. To reduce the number of packets received by the DHCP server and reduce the pressure on the server, you can run the ip relay address cycle command. After this command is run, the device forwards packets to only one DHCP server each time and switches packets to another DHCP server every time DHCP DISCOVER packets are received.