ipv6 nd ra lifetime

Syntax

ipv6 nd ra lifetime <TIME>

no ipv6 nd ra lifetime [<TIME>]

Description

Configures the lifetime, in seconds, for the routing switch to be used as a default router by hosts on the current interface.

The no form of this command sets lifetime to the default of 1800 seconds.

Command context

config-if

Parameters

<TIME>

Specifies lifetime in seconds of a default router. A setting of 0 for default router lifetime in an RA indicates that the routing switch is not a default router on the interface. Range: 0-9000 seconds. Default: 1800 seconds.

Authority

Administrators

Usage

  • A given host on an interface refreshes the default router lifetime for a specific router each time the host receives an RA from that router.

  • A specific router ceases to be a default router candidate for a given host if the default router lifetime expires before the host is updated with a new RA from the router.

Examples

switch(config)# interface 1/1/1
switch(config-if)# ipv6 nd ra lifetime 1200