You can configure VRRP (Virtual Router Redundancy Protocol) to track specified routes in the route table as criteria for VRRP failover.
If any of the configured routes are not available within the route table, the router automatically relinquishes master status based on the tracking mode.
Note
MPLS (Multiprotocol Label Switching) LSPs are not considered to be part of VRRP route tracking.