Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

ip-monitoring (Services)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
ip-monitoring {
    policy policy-name {
        match {
            rpm-probe [probe-name];
        }
        no-preempt ;
        then {
            interface interface-name (disable | enable);
            preferred-route {
                withdraw;
                route destination-address {
                    direct-next-hop
                    discard
                    next hop next-hop;
                    preferred-metric metric;
                    }
                routing-instances name;
            }
        }
    }
    traceoptions {
        file {
            filename;
            files number;
            match regular-expression;
            size maximum-file-size;
            (world-readable | no-world-readable);
        }
        flag flag; 
        no-remote-trace;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit services] 

Description

Configure IP monitoring.

Options

withdraw—Remove the primary routes when RPM fails to probe the destination. So, the traffic can choose other routes in the route table. If no other route exists, then the traffic is dropped. When you run the show services ip-monitoring status command, in the output, the status of the route WITHDRAWED indicates that this route is removed. See show services ip-monitoring status for more details.

direct-next-hop-This configuration requests the next hop, which must be direct. This configuration ignores the other kind of hops.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

services—To view this statement in the configuration.

services-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 10.4.

Support added for the discard option starting from Junos OS Release 15.1X49-D60.

Support added for the withdraw option starting from Junos OS Release 20.3R1.

direct-next-hop is introduced in Junos OS Release 20.4R1.

footer-navigation