Configuring VRRP hold timer support

A hold timer is used when a VRRP-enabled device that was previously a master device failed, but is now back online. The backup device has a higher priority than the current VRRP master device. Before assuming the role of master VRRP device again, the backup device waits for the time period specified in the hold timer. This task is supported in both versions of VRRP and VRRP-E, but the configuration below is for VRRPv3.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enable IPv6 VRRP-E.
    device(config)# ipv6 protocol vrrp-extended
    In this example, virtual Ethernet (ve) interface configuration mode is entered and the interface is assigned with a VLAN number of 2018.
  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::122/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 description command to enter text that describes the virtual router group.
    device(config-vrrp-group-18)# description Product Marketing group
  7. Enter the advertisement-interval command with a number representing milliseconds.
    device(config-vrrp-group-18)# advertisement-interval 3000
    Note

    Note

    In VRRPv3, the advertisement-interval is in milliseconds.
  8. Enter the hold-time command with a number representing seconds.
    device(config-vrrp-group-18)# hold-time 5

The following example configures and enables a VRRPv3 session and adds a VRRP group description. A hold time of 5 seconds is configured. This example also contains appropriate virtual-ip command configuration not included in the task above.

device# configure
device(config)# ipv6 protocol vrrp-extended
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
device(config-vrrp-group-18)# description Product Marketing group
device(config-vrrp-group-18)# advertisement-interval 3000
device(config-vrrp-group-18)# hold-time 5