ipv6 nd ra router-preference

Syntax

ipv6 nd ra router-preference {low | medium | high}

no ipv6 nd ra router-preference

Description

Sets the router-preference configuration for communicating default router preferences from routers to hosts. Improves the ability of hosts to pick the appropriate router for an off-link destination by providing options at the operator level which set the router preference value as low, medium, or high. Depending on the router preference value set, the host receives the value as part of the IPv6 neighbor discovery router advertisement and chooses the best router for communication.

The no form of this command removes the router-preference configuration.

Command context

vlan

Parameters

low

Specifies the router-preference value to low.

medium

Specifies the router-preference value to medium. Medium is the default router-preference value.

high

Specifies the router-preference value to high.

Usage

  • When VRRP is configured, RA messages for Virtual IP are sent with configured router-preference values.

  • This command complies with RFC 4191.

Example

Default router-preferences.

switch(vlan-1)# ipv6 nd ra router-preference
 low                   Set the Default Router Preference to low.
 medium                Set the Default Router Preference to medium (default).
 high                  Set the Default Router Preference to high.

switch(vlan-1)# ipv6 nd ra router-preference high