remote-server algorithm
Use remote-server algorithm to specify the DHCP server selecting algorithm.
Use undo remote-server algorithm to restore the default.
Syntax
remote-server algorithm { master-backup | polling }
undo remote-server algorithm
Default
The polling algorithm is used. The DHCP relay agent forwards DHCP requests to all DHCP servers at the same time.
Views
DHCP address pool view
Predefined user roles
network-admin
mdc-admin
Parameters
master-backup: Forwards DHCP requests to the master DHCP server first. If the master server is not available or does not have assignable IP addresses, the relay agent forwards DHCP requests to backup DHCP servers in the order they are specified.
polling: Forwards DHCP requests to all DHCP servers at the same time.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify master-backup as the DHCP server selecting algorithm in DHCP address pool 0.
<Sysname> system-view [Sysname] dhcp server ip-pool 0 [Sysname-dhcp-pool-0] remote-server algorithm master-backup
Related commands
dhcp relay server-address algorithm
dhcp-server timeout
master-server switch-delay
remote-server