ipv6 nd ra lifetime (S-, K-Series)

Use this command to set the router lifetime value in seconds for router advertisements on the IPv6 interface.

Syntax

ipv6 nd ra lifetime value
no ipv6 nd ra lifetime value

Parameters

value Specifies the lifetime value for router advertisements on the IPv6 interface. Valid values are 0 or from the configured maximum router advertisement interval to 9000 seconds. The default value is 1800 seconds.

Defaults

None.

Mode

Interface configuration.

Usage

The lifetime parameter specifies the usefulness of the router as a default router on this IPv6 interface. Configuring the lifetime to 0 specifies that the router should not be considered a default router for this interface. If the lifetime is set to a nonzero value, it can not be less than the configured maximum router advertisement interval.

The no ipv6 nd ra lifetime command resets the router lifetime value to the default value of 1800 seconds.

Example

This example sets the router lifetime value to 2200 seconds for VLAN 50:

System(su-config)->interface vlan 50
System(su-config-intf-vlan.0.50)->ipv6 nd ra lifetime 2200
System(su-config-intf-vlan.0.50)->