track-port

Configures network reachability tracking for a specific Virtual Router Redundancy Protocol (VRRP) or VRRP Extended (VRRP-E) port.

track-port { ethernet stackid/slot/port | lag lag-id | ve num } [ priority num ]
no track-port { ethernet stackid/slot/port | lag lag-id | ve num } [ priority num ]

The network reachability of VRRP and VRRP-E ports or IPsec tunnels is not tracked.

ethernet stackid slot port
Configures network reachability tracking for a specific Ethernet interface. A forward slash “/” must be entered between the stackid, slot, and port numbers.
lag lag-id
Configures network reachability tracking for a specific LAG virtual interface. The LAG is identified by a decimal number.
ve number
Configures network reachability tracking for a virtual Ethernet interface. Valid values range from 1 through 255.
priority num
Sets the track priority. Valid numbers are from 1 through 254. The tracking priority number is used when a tracked interface up or down event is detected. For VRRP, if the tracked interface becomes disabled, the current router priority is reduced to the track-port priority. (For VRRP only, interface tracking does not have any effect on an owner router; the owner priority can not be changed under configuration from 255.) For VRRP-E, if the tracked interface becomes disabled, the current router priority is reduced by the track-port priority. For VRRP, the default is 2, and for VRRP-E, the default is 5.

VRID interface configuration mode

This command can be used to track interfaces for VRRP or VRRP-E.

For VRRP, the tracked interface can be any valid Ethernet, or virtual Ethernet interface other than the one on which this command is issued. The maximum number of interfaces you can track per virtual router is 8.

Enter the no track-port command with the specified options to remove the tracked port configuration.

The following example configures network reachability tracking on interface 1/1/6 and sets the track priority to 60.


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.3/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 60