< Home

interval (DDNS policy view)

Function

The interval command sets the interval for sending DDNS update requests after the DDNS update is enabled.

The undo interval command restores the default setting.

By default, the interval for sending DDNS update requests is 3600 seconds.

Format

interval interval-time

undo interval

Parameters

Parameter Description Value
interval-time Specifies interval for sending DDNS update requests. The value is an integer that ranges from 60 to 31536000, in seconds.

Views

DDNS policy view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the interval for sending DDNS update requests is set in the configured DDNS policy, the device is triggered to send DDNS update requests at the specified intervals. All the mappings between IP addresses and domain names defined in the DDNS policy are updated.

Precautions

  • If you run the interval command multiple times, only the latest configuration takes effect.

  • Regardless of whether the interval is reached, the device sends DDNS update requests immediately as long as the primary IP address of the corresponding interface changes or the link status of the interface changes from Down to Up.

  • If the interval is changed, the device is triggered to send a DDNS update request immediately.

  • When a device is connected to the DDNS server supporting www.oray.cn, this command does not take effect and the device initiates a DDNS update request at a fixed interval of 60 seconds.

Example

# Set the interval for sending DDNS update requests to 3600 seconds.

<sysname> system-view
[sysname] ddns policy mypolicy
[sysname-ddns-policy-mypolicy] interval 3600
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >