Enabling IPv6 VRRPv3

Before assigning a virtual IPv6 address to a VRRPv3 group, you must configure IPv6 VRRP version 3 on a virtual Ethernet interface and assign a VRRPv3 group to the device. The VRRPv3 session is enabled using a virtual IPv6 address. The device must be a router or another device that supports Layer 3 routing.

Perform this task on all devices that are to run VRRPv3. The device to which the virtual IP address belongs determines the initial master device status with all the other devices acting as backups.

  1. Enter the configure command to access global configuration mode.
    device# configure
  2. To globally enable VRRPv3, enter the ipv6 protocol vrrp command.
    device(config)# ipv6 protocol vrrp
  3. Enter the interface ve command with an associated VLAN number.
    device(config)# interface ve 2018
    In this example, virtual Ethernet (ve) interface configuration mode is entered and the interface is assigned with a VLAN number of 2018.
  4. Enter an IPv6 address for the interface using the ipv6 address command.
    device(config-ve-2018)# ipv6 address 2001:2018:8192::125/64
  5. Enter the ipv6 vrrp-group command with a number to assign a VRRPv3 group to the device.
    device(config-ve-2018)# ipv6 vrrp-group 18
    In this example, VRRP group configuration mode is entered.
  6. Enter the virtual-ip command to assign a link-local virtual IPv6 address to a VRRPv3 group.
    device(config-vrrp-group-18)# virtual-ip fe80::2018:1
    In this example, the link-local IPv6 address of the virtual router is assigned to VRRPv3 group 18. The first virtual IP address entered enables the VRRPv3 session.
    Note

    Note

    A link-local IPv6 address is valid only for a single network link. If the virtual IP address can be reached from outside the local network, a global IPv6 address must be configured as a virtual IP address. At least one link-local address is also required.
  7. Enter the virtual-ip command to assign a virtual IPv6 address to a VRRPv3 group.
    device(config-vrrp-group-18)# virtual-ip 2001:2018:8192::1
    In this example, the IPv6 address of the virtual router is assigned to VRRPv3 group 18.

The following example shows how to enable a VRRPv3 session by assigning virtual IP addresses to a VRRPv3 virtual group.

device# configure
device(config)# ipv6 protocol vrrp
device(config)# interface ve 2018
device(config-ve-2018)# ipv6 address 2001:2018:8192::122/64
device(config-ve-2018)# ipv6 vrrp-group 18
device(config-vrrp-group-18)# virtual-ip fe80::2018:1
device(config-vrrp-group-18)# virtual-ip 2001:2018:8192::1