Port tracking using IPv6 VRRPv3

The tracking of the link status of an interface not configured for VRRP or VRRP-E can be configured with a priority that can result in dynamic changes to the VRRP device priority.

About this task

After enabling IPv6 VRRPv3 you can configure tracking the port status of other interfaces on the device that are not configured for VRRP. Any link down or up events from tracked interfaces can result in dynamic changes in the virtual router priority and a potential master device switchover. The configured priority must be less than the VRRPv3 or VRRP-Ev3 priorities.

Procedure

  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.
  7. Enter the track command with an interface and a priority to enable the tracking of ports that are not configured as VRRP interfaces.
    device(config-vrrp-group-18)# track ethernet 1/5 priority 15
  8. Enter the no preempt-mode command to disable preemption.
    device(config-vrrp-group-18)# no preempt-mode
    Preemption can be disabled when you do not want to preempt an existing master with a higher priority device.
  9. Enter the priority command to configure the priority of the virtual router. In VRRPv3, the virtual router with the highest priority becomes the master VRRPv3 device.
    device(config-vrrp-group-18)# priority 120

Example

The following example shows how to configure an IPv6 VRRPv3 session and enable the tracking of a 10 GbE interface.

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)# track ethernet 1/5 priority 15
device(config-vrrp-group-18)# no preempt-mode
device(config-vrrp-group-18)# priority 120