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.
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
device(config-vrrp-group-1)# end
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
.
.
.
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