Enabling a VRRP-E device

About this task

This task is performed on all devices that are designated as VRRP extended (VRRP-E) devices. While VRRP-E does not have owner devices, there is still a master device and backup devices with the master device determined by the device with the highest priority.

Procedure

  1. From privileged EXEC mode, enter configuration mode by issuing the configure terminal command.
    device# configure terminal
    
  2. Globally enable VRRP-E.
    device(config)# protocol vrrp-extended
    
  3. Configure the Virtual Ethernet (VE) interface link for the VRRP-E device.
    device(config)# interface ve 10
    
    Only ve interfaces are supported by VRRP-E.
  4. Configure the IP address of the interface.
    device(config-if-Ve-10)# ip address 192.168.4.1/24
    
  5. Assign the device to a group called Group 1.
    device(config-if-Ve-10)# vrrp-extended-group 1
    
  6. Enter the priority command with a number to assign a priority.
    device(config-vrrp-group-1)# priority 110
    
    The VRRP-E device with the highest priority number becomes the master device.
  7. Assign a virtual router IP address.
    device(config-vrrp-group-1)# virtual-ip 192.168.4.100
    
    Note

    Note

    For VRRP-E, the virtual router group IP address must not be the same as a real IP address configured on the interface.

Router 1

The following example configures a master VRRP-E device for group 1.

device# configure terminal
device(config)# protocol vrrp-extended
device(config)# interface ve 10
device(config-if-Ve-10)# ip address 192.168.4.1/24
device(config-if-Ve-10)# vrrp-extended-group 1
device(config-vrrp-group-1)# priority 110
device(config-vrrp-group-1)# virtual-ip 192.168.4.100

Router 2

The following example configures a backup VRRP-E device for group 1. In the first configuration of VRRP-E for Router 1 the priority is set to 110, higher than the priority for Router 2 at 80. Router 1 assumes the role of the master VRRP-E device.

device# configure terminal
device(config)# protocol vrrp-extended
device(config)# interface ve 10
device(config-if-Ve-10)# ip address 192.168.4.3/24
device(config-if-Ve-10)# vrrp-extended-group 1
device(config-vrrp-group-1)# priority 80
device(config-vrrp-group-1)# virtual-ip 192.168.4.100