home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Interfaces <intf type> <intf name> vrrp vrrp-group <N> track path-monitor <monitor name> policy <policy name>

There are two possible configurations for the tracking of a monitor/policy combination.

$ set interface <intf_type> <intf_name> vrrp vrrp-group <N> track path-monitor monitor <monitor_name> policy <policy_name>
This first configuration will change the state of the VRRP group to FAULT if the monitor/policy pair is non-compliant.
$ set interface <intf_type> <intf_name> vrrp vrrp-group <N> track path-monitor monitor <monitor_name> policy <policy_name> weight type <increment|decrement>

$ set interface <intf_type> <intf_name> vrrp vrrp-group <N> track path-monitor monitor <monitor_name> policy <policy_name> weight value <1..254]
The second configuration will change the priority of the VRRP group.
  • An increment type is a positive number that adds to the VRRP priority when the monitor/path pair is compliant.

  • A decrement type is a negative number that subtracts from the VRRP priority when the monitor/path pair is noncompliant.

This is an artefact of the existing tracking functionality in VRRP.

A single VRRP group can track multiple monitor/policy pairs, a tracked pair without a weighting will move the VRRP group to fault when that pair is non-compliant no matter what other pairs are tracked.

Errors and exceptions in path monitor

The commands for attempting to track and monitor and policy that doesn't exist are displayed.

Attempting to track a monitor that doesn't exist.
vyatta@vm-vrrp-pm-2# set vrrp vrrp-group 1 track path-monitor monitor monitor policy policy
[edit interfaces dataplane dp0p1s2]
vyatta@vm-vrrp-pm-2# commit
 
[interfaces dataplane dp0p1s2 vrrp vrrp-group 1 track path-monitor monitor monitor]
 
The following path must exist:
  [service path-monitor monitor name monitor]
 
[[interfaces dataplane dp0p1s2 vrrp vrrp-group 1 track path-monitor monitor monitor]] failed.
 
Commit failed!
Attempting to track a policy that doesn't exist.
vyatta@vm-vrrp-pm-2# set vrrp vrrp-group 1 track path-monitor monitor test_monitor policy policy
[edit interfaces dataplane dp0p1s2]
vyatta@vm-vrrp-pm-2# commit
 
[interfaces dataplane dp0p1s2 vrrp vrrp-group 1 track path-monitor monitor test_monitor policy policy]
 
The following path must exist:
  [service path-monitor monitor policy policy]
 
[[interfaces dataplane dp0p1s2 vrrp vrrp-group 1 track path-monitor monitor test_monitor policy policy]] failed.
 
Commit failed!