Trackers

Overview

Trackers are used to monitor the reachability of various network elements, such as interfaces, IP addresses, or other trackers. They can be used to implement logical conditions based on the state of these monitored elements.

Path monitoring trackers (ICMP)

See Path Monitoring for details on ICMP trackers.

BFD trackers

See BFD Configuration for details on BFD trackers.

Logical trackers

Logical trackers allow you to create a logical condition based on the state of multiple trackers. They can be used to implement complex reachability conditions, such as requiring multiple trackers to be up or down.

Supported logical operators are:

  • and: The logical tracker is up only if all sub trackers are up.

  • or: The logical tracker is up if at least one sub tracker is up.

We will create two trackers named tracker-name-1 and tracker-name-2 that monitor the reachability of two different IP addresses.

vsr running config# / tracker icmp tracker-name-1 vrf main address 10.100.0.1
vsr running config# / tracker icmp tracker-name-2 vrf main address 10.200.0.1

Then, we will create a logical tracker that requires both trackers to be up.

vsr running config# / tracker logical logical-tracker-name operator and
vsr running config#! / tracker logical logical-tracker-name sub-tracker tracker-name-1
vsr running config#! / tracker logical logical-tracker-name sub-tracker tracker-name-2

The logical tracker will be up only if both tracker-name-1 and tracker-name-2 are up.

To display the logical tracker state:

vsr> show state / tracker logical logical-tracker-name
logical logical-tracker-name
    operator and
    sub-tracker tracker-name-1
    sub-tracker tracker-name-2
    state up
    ..

In this example, if the tracker-name-1 or tracker-name-2 goes down, the logical will also go down.

Which would give the following state:

vsr> show state / tracker logical logical-tracker-name
logical logical-tracker-name
    operator and
    sub-tracker tracker-name-1
    sub-tracker tracker-name-2
    state down
    ..