master-server switch-delay

Use master-server switch-delay to enable the switchback to the master DHCP server and set the switchback delay time.

Use undo master-server switch-delay to restore the default.

Syntax

master-server switch-delay delay-time

undo master-server switch-delay

Default

The DHCP relay agent does not switch back to the master DHCP server.

Views

DHCP address pool view

Predefined user roles

network-admin

mdc-admin

Parameters

delay-time: Specifies the delay time in the range of 1 to 65535 minutes.

Usage guidelines

If you execute this command multiple times, the most recent configuration takes effect.

Examples

# Configure the DHCP relay agent to switch back to the master DHCP server 3 minutes after it switches to a backup DHCP server in DHCP address pool 0.

<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] master-server switch-delay 3

Related commands

remote-server algorithm