track (VRRP virtual router)

Syntax

track <OBJECT-ID>

no track <OBJECT-ID>

Description

Configures a track object that can be associated with an interface. A change in interface state will then affect the priority of a VRRP group. By default, no interface is associated to a track object, so state is down.

The no form of this command deletes a tracked object for an interface. If it is not associated with a VRRP virtual router, a track object cannot be deleted.
NOTE:

Track cannot be configured by using port with no routing.

Command context

config

Parameters

<OBJECT-ID>

Specify the track object ID value. Range: 1 to 128.

Authority

Administrators

Examples

Configuring a tracked object:

switch# configure terminal
switch(config)# track 1

Deleting a tracked object:

switch# configure terminal
switch(config)# no track 1