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.

Non-default table 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 table <id> {interface-route | interface-route6} <prefix> {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 table <id> is the static routing table in which to configure the static route.

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-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 table 20 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 table 20 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 table 20 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 table 20 interface-route 10.10.10.0/24 next-hop-interface dp0p1s10 path-monitor monitor foo]] failed.
[protocols static table 20 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 table 20 interface-route 10.10.10.0/24 next-hop-interface dp0p1s10 path-monitor monitor foo policy bar]] failed.

Commit failed!