dhcpv6 relay pd-route auto-save write-delay

Function

The dhcpv6 relay pd-route auto-save write-delay command configures a delay for writing the PD route user table into a file during automatic file saving.

The undo dhcpv6 relay pd-route auto-save write-delay command restores the default configuration.

By default, the delay for writing the PD route user table into a file during automatic file saving is 5 minutes.

Format

dhcpv6 relay pd-route auto-save write-delay delaytime

undo dhcpv6 relay pd-route auto-save write-delay [ delaytime ]

Parameters

Parameter Description Value
write-delay delaytime

Specifies a delay for writing the PD route user table into a file.

The value is an integer that ranges from 1 to 1440, in minutes. The default value is 5.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

In prefix allocation scenarios, after the function of saving PD routes to a file is enabled, to reduce the impact on the system, the device writes the PD route user table into a file after a delay of 5 minutes when the entries are fully written into the non-volatile random access memory (NVRAM) by default. The delay can be configured based on the number of online users.

Example

# Set a delay for writing the PD route user table into a file during automatic file saving to 10 minutes.
<HUAWEI> system-view
[~HUAWEI] dhcpv6 relay pd-route auto-save write-delay 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >