Enables VRRP tracking for a specified interface. VRRP Extended (VRRP-E) sessions can track a specified interface or a network.
The default priority value is 2.
Virtual-router-group configuration mode
This command can be used to track interfaces for VRRP or VRRP-E. Only VRRP-E sessions support network tracking.
For VRRP, the tracked interface can be any Ethernet or port-channel interface other than the one on which this command is issued.
The networks to be tracked can be either present or absent from the Routing Information Base (RIB).
The maximum number of interfaces or networks you can track per virtual router is 16.
Enter no track with the specified interface or network to remove the tracked port or tracked network configuration.
To set the track port to 2/4 and the track priority to 60:
device# configure terminal device(config)# protocol vrrp device(config)# interface ethernet 1/6 device(conf-if-eth-1/6)# vrrp-group 1 device(config-vrrp-group-1)# track ethernet 2/4 priority 60
The following example shows how to configure network 10.1.1.0/24 to be tracked, and 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# configure terminal device(config)# protocol vrrp-extended device(config)# interface ve 100 device(conf-if-Ve-100)# vrrp-extended-group 1 device(config-vrrp-extended-group-1)# track network 10.1.1.0/24 priority 20