Enabling IPv6 VRRP preempt-mode

You can configure IPv6 VRRP to preempt the existing router. If a new VRRP router is added to the network with a higher priority than the existing routers, then the new router becomes the master. If preempt-mode is disabled, then the new router does not become a master, it transitions to master only when the current master is down. By default, preempt-mode is enabled.

Procedure

  1. Enter Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...]} or interface vlan <1–4059>

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Enter the following command:

    ipv6 vrrp <vrid> preempt-mode enable

  3. Use the following command to set the IPv6 VRRP preempt-mode to its default value:

    default ipv6 vrrp <vrid> preempt-mode

  4. Use the following command to disable the IPv6 VRRP preempt-mode:

    no ipv6 <vrid> preempt-mode enable

Example

Switch:1> enable 
Switch:1# configure terminal 
Switch:1(config)# interface gigabitethernet 1/2

Enabling IPv6 VRRP preempt-mode for interface 1/2

Switch:1(config-if)# ipv6 vrrp 1 preempt-mode enable

Variable definitions

Use the data in the following table to use the ipv6 vrrp <vrid> command.

Variable

Value

enable

Enables preempt-mode for VRRPv3 for IPv6.

vrid <1–255>

Specifies the virtual router ID.