track (VRRP group)

Syntax

track OBJECT-ID

no track OBJECT-ID

Description

Sets the track object ID (1-128) for the group. The track object is first configured globally for the interface and then attached to the VRRP virtual router.
NOTE:

The track object must not track the same interface for which a VRRP group is configured.

The no form of this command removes the track object ID from the group.

Command context

config

Authority

Administrators

Examples

Setting the track object ID for the group:

switch(config)#interface 1/1/1
switch(config-if)#vrrp 1 address-family ipv4
switch(config-if-vrrp)# track 1

Removing the track object ID from the group:

switch(config)#interface 1/1/1
switch(config-if)#vrrp 1 address-family ipv4
switch(config-if-vrrp)# no track 1