CLI Guide

Layer 3 Routing Commands 1910
console(config)#fhrp version vrrp v3
console(config)#interface gi1/0/1
console(config-if-Gi1/0/1)#vrrp group 1 address-family ipv4
console(config-if-vrrp)# address 101.1.0.10 primary
console(config-if-vrrp)#no shutdown
track interface
Use this command to configure tracking of an IP interface for the device
within a Virtual Router Redundancy Protocol version 3 (VRRPv3) group. To
disable interface tracking, use the no form of the command.
Syntax
track interface vlan vlan-id [decrement number]
no track interface vlan vlan-id [decrement number]
vlan-id—VLAN ID of the VLAN interface.
number—(Optional) Amount by which the priority is decremented.
Default Configuration
Tracking is not enabled by default.
Command Mode
VRRPv3 Group Configuration mode
User Guidelines
Once IP interface tracking is configured, the VRRPv3 feature receives
notifications when the IP interface changes state. The decrement option
decreases the priority of the switch within a VRRPv3 group by the specified
value when a route becomes unavailable.
Command History
Command introduced in version 6.6 firmware.
Example
The following example shows how to enable tracking of an IP interface for the
device within a Virtual Router Redundancy Protocol (VRRPv3) group: