The ipv6 nd ra router-lifetime command sets the lifetime of the RA messages sent by a Router.
The undo ipv6 nd ra router-lifetime command restores the default setting.
By default, the lifetime for RA messages is three times of the maximum interval for advertising RA messages.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, PW-VE sub-interface view, PW-VE interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Management interface view
Usage Scenario
A Router adds the lifetime of the RA message to the RA message before sending the RA message to the hosts on the local network segment. The lifetime indicates the validity period of this Router as a default router of these hosts.
Prerequisites
IPv6 has been enabled on the involved interface using the ipv6 enable command.
Configuration Impact
If a host receives an RA message with the lifetime field being 0 from a Routing device, it does not update the address of this Router in its own default routing entries.
Precautions
The lifetime of the RA messages must be longer than or equal to the interval for sending RA messages. (By default, the maximum and minimum intervals for sending RA messages are 600 seconds and 200 seconds, respectively. You can run the ipv6 nd ra command to set a proper interval.) If the set lifetime of the RA messages is shorter than the set interval for sending RA messages, the system prompts an error. In such a case, you need to re-set the lifetime.