< Home

ipv6 nd ra

Function

The ipv6 nd ra command sets the interval of advertising RA (Router Advertisement) messages.

The undo ipv6 nd ra command restores the default.

By default, the maximum interval is 600 seconds and the minimum interval is 200 seconds.

Format

ipv6 nd ra { max-interval maximum-interval | min-interval minimum-interval }

undo ipv6 nd ra { max-interval | min-interval }

Parameters

Parameter Description Value
max-interval maximum-interval

Specifies the maximum interval for the device to advertise RA messages.

When the maximum interval is less than 9 seconds, the minimum interval is set to the same value as the maximum interval.

It is an integer ranging from 4 to 1800 seconds. By default, it is 600 seconds. The maximum interval cannot be shorter than the minimum interval.
min-interval minimum-interval

Specifies the minimum interval for the device to advertise RA messages.

When the maximum interval is less than 9 seconds, the minimum interval is set to the same value as the maximum interval.

It is an integer ranging from 3 to 1350 seconds. By default, it is 200 seconds.

Views

Ethernet interface view, Eth-Trunk interface view, Tunnel interface view, VLANIF interface view, BDIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A router periodically sends RA messages. An RA message carries both the IP address prefix and the flag of stateful address auto-configuration.

To change the interval for sending RA messages, run the ipv6 nd ra command. To reduce the number of RA messages being transmitted on a link, you can set a longer interval. To speed up router discovery, you can set a shorter interval.

Prerequisites

The ipv6 enable command has been run in the interface view to enable IPv6.

Configuration Impact

Running the ipv6 nd ra command changes the interval for sending RA messages during DAD. The default intervals for sending RA messages are recommended. This means that the maximum interval is 600s and the minimum interval is 200s.

If the ipv6 nd ra command is run more than once, the latest configuration overrides the previous one.

Precautions

The interval for sending RA messages cannot be longer than the RA message lifetime. The default RA message lifetime is 1800s, and you can change the lifetime using the ipv6 nd ra router-lifetime command.

The actual interval for sending RA messages is a random value that is smaller than the maximum interval and larger than the minimum interval.

Example

# Set the maximum interval 1000 seconds of advertising RA messages.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/1
[sysname-GigabitEthernet 0/0/1] ipv6 enable
[sysname-GigabitEthernet 0/0/1] ipv6 nd ra max-interval 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >