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 126.96.36.199 and 188.8.131.52 are
unreachable as well as mention the backup interface when Ip
184.108.40.206 is unreachable, this scenario could be expressed because the
following Boolean statement– “If (220.127.116.11
is unreachable AND 18.104.22.168 is unreachable) OR (22.214.171.124 is unreachable)
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.