wait-request-time(IPv6 address pool view)

Function

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 Advertise message sent to the client.

The undo wait-request-time command cancels the setting.

By default, if the access wait-request-time dhcpv6 time-value is run in the system view, the default time for the router to wait for the client to send a request packet in response to the advertise packet is the time-value configured in the system view.

If the access wait-request-time dhcpv6 time-value command is not run in the system view, the default time for the router to wait for the client to send a request packet in response to the advertise packet is 55 seconds.

This command is supported only on the NetEngine 8000 F1A.

Format

wait-request-time time-value

undo wait-request-time [ time-value ]

Parameters

Parameter Description Value
time-value

Specifies the timeout period for a router to wait for a Request message from a client.

The value is an integer ranging from 5 to 60, in seconds.

Views

IPv6 address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ipv6pool write

Usage Guidelines

Usage Scenario

When a user goes online, the client sends a Solicit packet to request for IP address assignment. If wait-request-time has been configured in the address pool view, the time for the router to wait for the client to send a request packet in response to the advertise packet is the time configured in the address pool view. Otherwise, the time configured in the system view is used as the default time. After the timeout duration elapses, the router will release the IPv6 address. To avoid DHCP attacks on routers and address consumption caused by multiple malicious clients sending Discover packets, you can run the wait-request-time command to adjust the time for the router to wait for the client to send a request packet in response to the advertise packet. You are advised to set the time to be smaller than the default value.

Precautions

In VS mode, this command is supported only on the admin VS.

The wait-request-time command is run in the IP address pool view whereas the access wait-request-time dhcpv6 command is run in the system view. When the two commands are both run, the wait-request-time command takes effect.

Example

# Set the timeout period for a router to wait for a Request message from a client in response to an Advertise message sent to the client to 10s in the address pool huawei.
<HUAWEI> system-view
[~HUAWEI] ipv6 pool huawei bas local
Info: Create an ipv6 pool.
[*HUAWEI-ipv6-pool-huawei] commit
[~HUAWEI-ipv6-pool-huawei] wait-request-time 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >