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.

How to configure a path monitor

An example of how to configure a path monitor.

  1. Create a path monitor host named dc and configure the parameters for probe sessions to this host.
    vyatta@vyatta# set service path-monitor host dc target 1.1.1.1
    For a ping probe:
    vyatta@vyatta# set service path-monitor host dc type ping
    For a twping probe:
    vyatta@vyatta# set service path-monitor host dc type twping
  2. Create a policy named voip and set the round trip time threshold to 5 ms and the tolerance to 10 ms.
    vyatta@vyatta# set service path-monitor policy voip requires type ping round-trip-time threshold 5
    vyatta@vyatta# set service path-monitor policy voip requires type ping round-trip-time tolerance 10
    

    When the average measured round trip time is at or below the 5 ms threshold, then the path complies with the voip policy.

    When the measured round trip time is more than 15 ms (5 ms threshold + 10 ms tolerance), then the path does not comply with the voip policy.

    If the path complies with a path monitor policy and the path monitor measures a round trip time that is more than 5 ms and less than 15 ms, then the monitor reports the state as Marginally Compliant.

  3. Create the following associations:
    • A policy association between provider-a, a ping path monitor, and the voip policy
    • A ping association between provider-a and the dc host
    • A ping association between provider-a and the routing instance provider-a
    Note: A path monitor must have exactly one host and one or more SLA policies.
    vyatta@vyatta# set service path-monitor monitor provider-a policy voip
    vyatta@vyatta# set service path-monitor monitor provider-a type ping host dc
    vyatta@vyatta# set service path-monitor monitor provider-a type ping routing instance provider-a
  4. Create similar associations for provider-b.
    vyatta@vyatta# set service path-monitor monitor provider-b policy voip
    
    vyatta@vyatta# set service path-monitor monitor provider-b type ping host dc
    vyatta@vyatta# set service path-monitor monitor provider-b type ping instance provider-b
  5. Create similar associations for provider-c.
    vyatta@vyatta# set service path-monitor monitor provider-c policy voip
    vyatta@vyatta# set service path-monitor monitor provider-c type ping host dc
    vyatta@vyatta# set service path-monitor monitor provider-c type ping instance provider-c
  6. Commit the configuration.
    vyatta@vyatta# commit [edit]
  7. Optional: View the configuration.
    vyatta@vyatta# show service path-monitor monitor
    
    monitor provider-a {
            policy voip
            type {
                    ping {
                            host dc
                            interface dp0p161p1
                    }
            }
     }
     monitor provider-b {
            policy voip
            type {
                    ping {
                            host dc
                            interface dp0p224p1
                    }
            }
     }
     monitor provider-c {
            policy voip
            type {
                    ping {
                            host dc
                            interface dp0p256p1
                    }
            }
     }
    [edit]