Configuring VRRP-E route tracking

Configuring route tracking on an exit path network and setting a priority on a VRRP Extended (VRRP-E) device enables VRRP-E to monitor the route. If the network goes down, the device priority is lowered and another backup device with a higher priority assumes the role of master.

About this task

In the following task steps, network 10.1.1.0/24 is configured to be tracked, and if the network goes offline, the VRRP priority of the current master device is lowered by a value of 20.

Procedure

  1. Enable VRRP-E globally.
    device(config)# protocol vrrp-extended
  2. Enter interface configuration mode.
    device(config)# interface ve 100
  3. Run the following command to enter group configuration mode.
    device(config-if-Ve-100)# vrrp-extended-group 1
  4. Enter the track network command to set the track network (route) and priority:
    device(config-vrrp-group-1)# track network 10.1.1.0/24 priority 20
  5. Return to privileged EXEC mode.
    device(config-vrrp-group-1)# end
  6. To view tracked networks with their priority and status, enter the following command:
    device# show vrrp detail        
    
    Total number of VRRP session(s)   : 1
    
    VRID 3
      Interface: Ve 100;  Ifindex: 1207959652
      Mode: VRRPE
    .
    .
    .
      Hold time: 0 sec  (default: 0 sec)
      Master Down interval: 4 sec
      Trackport:
        Port(s)                    Priority  Port Status
        =======                    ========  ===========
    
      Tracknetwork:
        Network(s)                 Priority Status
        =======                    ======== ===========
        10.1.1.0/24                20       Down         
    
      Global Statistics:
      ==================
        Checksum Error : 0
        Version Error  : 0
        VRID Invalid   : 0
    
      Session Statistics:
      ===================
        Advertisements             : Rx: 0, Tx: 0
        Neighbor Advertisements             : Tx: 0
    .
    .
    .

Example

The following example shows how to configure network 10.1.1.0/24 to be tracked. If the network goes down, the VRRP-E device priority is lowered by a value of 20. The lower priority may trigger a switchover and a backup device with a higher priority becomes the new master for VRRP-E group 1.

device(config)# protocol vrrp-extended
device(config)# interface ve 100
device(config-if-Ve-100)# vrrp-extended-group 1
device(config-vrrp-group-1)# track network 10.1.1.0/24 priority 20