Tracking ports and setting the VRRP priority
Configuring port tracking on an exit path interface and setting a priority on a VRRP device enables VRRP to monitor the interface. For VRRP, if the interface goes down, the device priority is set to the priority value and another backup device with a higher priority assumes the role of master. For VRRP-E, if the interface goes down, the device priority is lowered by the priority value and another backup device with a higher priority assumes the role of master.
Configure this task on the device on which the tracked interface exists.
The following example shows how to configure Ethernet interface 1/2/4 on virtual router 1 to be tracked; if the interface fails, the VRRP priority of the device becomes 20, forcing a negotiation for a new master device.
device# configure terminal device(config)# router vrrp device(config)# interface ethernet 1/1/6 device(config-if-e1000-1/1/6)# ip address 10.53.5.1/24 device(config-if-e1000-1/1/6)# ip vrrp vrid 1 device(config-if-e1000-1/1/6-vrid-1)# track-port ethernet 1/2/4 priority 20