dhcp relay dhcp-server timeout

Use dhcp relay dhcp-server timeout to set the DHCP server response timeout time for DHCP server switchover.

Use undo dhcp relay dhcp-server timeout to restore the default.

Syntax

dhcp relay dhcp-server timeout time

undo dhcp relay dhcp-server timeout

Default

The DHCP server response timeout time is 30 seconds.

Views

Interface view

Predefined user roles

network-admin

mdc-admin

Parameters

time: Specifies the DHCP server response timeout time in the range of 30 to 65535 seconds.

Usage guidelines

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

Examples

# Set the DHCP server response timeout time to 60 seconds for DHCP server switchover on VLAN-interface 2.

<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] dhcp relay dhcp-server timeout 60

Related commands

dhcp relay server-address algorithm