router-lifetime

Configures the default router‘s lifetime, in seconds, advertised in RAs

Supported on the following devices:

Syntax

router-lifetime <0-9000>

Parameters

router-lifetime <0-9000>
router-lifetime <0-9000> Configures the default router‘s lifetime
  • <0-9000> – Specify a value from 0 - 9000 seconds. The default value is 1500 seconds.
Note: A value of “0” indicates that this router is not the default router.

Examples

nx9500-6C8809(config-ipv6-radv-policy-test)#router-lifetime 2000
nx9500-6C8809(config-ipv6-radv-policy-test)#show context
ipv6-router-advertisement-policy test
 ra suppress
 ra interval 200
 managed-config-flag
 nd-reachable-time global
 router-lifetime 2000
 advertise mtu
 advertise hop-limit
 check-ra-consistency
 dns-server 2002::2 lifetime 3000
 domain-name TechPubs lifetime infinite
nx9500-6C8809(config-ipv6-radv-policy-test)#

Related Commands

no (ipv6-ra-policy-config-commands) Removes the default router‘s lifetime