The wait-request-time command sets the timeout period for a router to wait for a Request message from a client in response to an Offer message sent to the client.
The undo wait-request-time command cancels the setting.
If the access wait-request-time dhcpv4 time-value command has been run in the system view, the default timeout period for a router to wait for a Request message from a client in response to an Offer message sent to the client is specified by time-value.
If the access wait-request-time dhcpv4 time-value has not been run in the system view, the default timeout period for a router to wait for a Request message from a client in response to an Offer message sent to the client is 25s.
This command is supported only on the NetEngine 8000 F1A.
Usage Scenario
In user access scenarios, a client sends a Discover message to request an IP address. By default, the timeout period for a router to wait for a Request message from a client in response to an Offer message sent to the client is the default value. After the timeout period elapses, the router releases the assigned IPv4 address. To prevent multiple malicious clients from exhausting IPv4 addresses in an address pool by sending DHCPv4 Discover messages, run the wait-request-time command to adjust the timeout period for the router to wait for a Request message from a client in response to an Offer message sent to the client.
You are advised to set time-value to a value smaller than the default value.Precautions
In VS mode, this command is supported only by the admin VS.
The wait-request-time command is run in the IP address pool view whereas the access wait-request-time dhcpv4 command is run in the system view. When the two commands are both run, the wait-request-time command takes effect.<HUAWEI> system-view [~HUAWEI] ip pool huawei bas local Info: It's successful to create an IP address pool [*HUAWEI-ip-pool-huawei] commit [~HUAWEI-ip-pool-huawei] wait-request-time 10