track by

Syntax

track by OBJECT-ID

no track by OBJECT-ID

Description

Specifies an interface to be tracked when changes in the state of the interface affect the priority of a VRRP group. Once track is associated with an interface, the track state reflects the interface forwarding state.

The no form of this command removes an interface from tracking, affecting VRRP states of any interfaces associated with VRRP groups.
NOTE:

The vlan interface 1 is always tracked.

Command context

config

Parameters

<OBJECT-ID>

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

Authority

Administrators or local user group members with execution rights for this command.

Example

Specifying an interface to be tracked:

switch (config)# interface 1/1/1
switch (config-if)# track by 1