Vyatta NOS documentation

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

IP next hop routes

Use this command to configure state tracking of one or more path monitor monitor/policy pairs on a static 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 {route | route6} <prefix> {next-hop-routing-instance <instance>} next-hop <ip> path-monitor monitor <monitor> policy <policy> { state <compliant | non-compliant> }

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

Where {route | route6} is to configure an IPv4 (route) or IPv6 (route6) static 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 <ip> is the IP address of the next hop.

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 route 10.10.10.0/24 next-hop 1.1.1.1 path-monitor monitor DC-1 policy bar]

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

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

Commit failed!

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

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

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

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

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

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

Commit failed!