Enabling a backup VRRP device

This task is performed on a device that is to be designated as a backup VRRP device. For example, Router 2 in Basic VRRP topology is assigned as a backup device. Repeat this task for all devices that are to be designated as backup devices.

  1. On the device designated as a backup VRRP device, and from privileged EXEC mode, enter global configuration mode.
    device# configure terminal
    
  2. Globally enable VRRP.
    device(config)# protocol vrrp
    
  3. Configure the Ethernet interface for Router 2.
    device(config)# interface ethernet 1/5
    
  4. Configure the IP address of interface:
    device(config-if-eth-1/5)# ip address 192.168.4.3/24
    
    Note

    Note

    This router will become the backup router to Router 1.
  5. Assign Router 2 to the same VRRP group as Router 1.
    device(config-if-eth-1/5)# vrrp-group 1
    
  6. To assign Group 1 a virtual IP address, use the same virtual IP address you used for Router 1.
    device(config-vrrp-group-1)# virtual-ip 192.168.4.1
    

The following example configures a backup VRRP device.

device# configure
device(config)# protocol vrrp
device(config)# interface ethernet 1/5
device(config-if-eth-1/5)# ip address 192.168.4.3/24
device(config-if-eth-1/5)# vrrp-group 1
device(config-vrrp-group-1)# virtual-ip 192.168.4.1