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.

Interface next hop routes

This command can be used to configure state tracking of one or more Path Monitor monitor/policy pairs on a static interface route.

Do not associate monitor/policy pairs with a static route that the given monitor requires to reach its target.

Syntax

set {routing routing-instance <instance>} protocols static {interface-route | interface-route6} <prefix> {next-hop-routing-instance <instance>} next-hop-interface <interface> path-monitor monitor <monitor> policy <policy> { state <compliant | non-compliant> }

Where the {routing routing-instance <instance>} is the routing instance in which to configure the static route, if omitted the default routing instance is used.

Where the {interface-route | interface-route6} is to configure an IPv4 (interface-route) or IPv6 (interface-route6) static interface route.

Where <prefix> is the IPv4 or IPv6 destination prefix.

Where next-hop-routing-instance <instance> is to specify a non-default routing instance used to reach the next hop (inter-VRF route).

Where next-hop-interface <interface> is the next hop interface.

Where monitor <monitor> policy <policy> is the path monitor monitor/policy pair which this route should track. This option may be given multiple times to track multiple pairs. The monitor and policy must be configured and associated under the "service path-monitor" configuration.

Where { state <compliant | non-compliant> } configures which path monitor state will cause the route to be activated. When the monitor/policy pair is in the configured state then the route may be eligible to be activated, else it will be marked as inactive. There is a default value of "compliant".

Attempting to track the state of a policy which has not been associated with the monitor:

[protocols static interface-route 10.10.10.0/24 next-hop-interface dp0p1s10 path-monitor monitor DC-1 policy bar]

The following path must exist:
  [service path-monitor monitor policy bar]

[[protocols static interface-route 10.10.10.0/24 next-hop-interface dp0p1s10 path-monitor monitor DC-1 policy bar]] failed.

Commit failed!

Attempting to track the state of an unknown monitor and/or policy:

[protocols static interface-route 10.10.10.0/24 next-hop-interface dp0p1s10 path-monitor monitor foo]

The following path must exist:
  [service path-monitor monitor name foo]

[[protocols static interface-route 10.10.10.0/24 next-hop-interface dp0p1s10 path-monitor monitor foo]] failed.
[protocols static interface-route 10.10.10.0/24 next-hop-interface dp0p1s10 path-monitor monitor foo policy bar]

The following path must exist:
  [service path-monitor monitor policy bar]

[[protocols static interface-route 10.10.10.0/24 next-hop-interface dp0p1s10 path-monitor monitor foo policy bar]] failed.