Configuring ip monitoring with interface failover using boolean conditions – techlibrary – juniper systems

Using IP monitoring with interface failover, it’s possible

to include AND as well as conditions for monitored IP addresses. For

the probe to fail, each test that produces confirmed probe must fail

(AND logic). If the probes specified for any given IP-monitoring

policy fail then your IP-monitoring action is triggered (OR logic).

The next example shows using revoltions per minute probes and IP-monitoring

to apply AND as well as combinations. Suppose you need to mention

a backup interface when both IP addresses 11.1.1.1 and 11.1.1.2 are

unreachable as well as mention the backup interface when Ip

12.1.1.1 is unreachable, this scenario could be expressed because the

following Boolean statement– “If (11.1.1.1

is unreachable AND 11.1.1.2 is unreachable) OR (12.1.1.1 is unreachable)

then let the backup interface”.

Configuring ip monitoring with interface failover using boolean conditions - techlibrary - juniper systems then let the backup interface

The configuration below implements the logic needed for that

scenario. The next instructions show the way the Junos features are substituted

into within the above statement and map towards the configuration. Probe1 and

probe2 are defined within the example configuration below. Probe1 consists

of two tests that are connected along with the boolean AND condition.

If (probe1 fails OR probe2 fails) then let the backup interface.

Configuring ip monitoring with interface failover using boolean conditions - techlibrary - juniper systems for monitored

Resourse: https://juniper.internet/documentation/en_US/release-independent/nce/topics/task/configuration/

How to fix Failure Configuring Windows Updates stuck at 35%