Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Understanding Using Probes for Real-Time Performance Monitoring on M, T, ACX, MX, and PTX Series Routers, EX and QFX Switches

Real-time performance monitoring (RPM) enables you to configure active probes to track and monitor traffic. Probes collect packets per destination and per application, including PING Internet Control Message Protocol (ICMP) packets, User Datagram Protocol and Transmission Control Protocol (UDP/TCP) packets with user-configured ports, user-configured Differentiated Services code point (DSCP) type-of-service (ToS) packets, and Hypertext Transfer Protocol (HTTP) packets. RPM provides Management Information Base (MIB) support with extensions for RFC 2925, Definitions of Managed Objects for Remote Ping, Traceroute, and Lookup Operations. For more information about SNMP MIBs that Juniper supports, see SNMP MIB Explorer.

Overview

When RPM is configured on a device, the device calculates network performance based on packet response time, jitter, and packet loss. The device gathers RPM statistics by sending out probes to a specified probe target, identified by an IP address. When the target receives a probe, it generates responses that are received by the device. A test can contain multiple probes. The probe type specifies the packet and protocol contents of the probe. You can use the history of the most recent 50 probes to analyze trends in your network and predict future needs.

With probes, you can monitor:

  • Average round-trip time

  • Jitter of the round-trip time—The difference between the minimum and maximum round-trip time

  • Maximum round-trip time

  • Minimum round-trip time

  • Standard deviation of the round-trip time (Junos OS only)

One-way measurements for ICMP timestamp probes include:

  • Minimum, maximum, standard deviation, and jitter measurements for egress and ingress times

  • Number of probe responses received

  • Number of probes sent

  • Percentage of lost probes

You can set thresholds to trigger SNMP traps when the values are exceeded. You can configure the following RPM thresholds:

  • Ingress/egress delay

  • Jitter

  • Round-trip time

  • Standard deviation (Junos OS only)

  • Successive lost probes

  • Total lost probes (per test)

You can also configure CoS classifiers and prioritization of RPM packets over regular data packets received on an input interface with the dscp-code-points configuration statement.

Hardware Timestamps

To account for latency or jitter in the communication of probe messages, you can enable timestamping of the probe packets (hardware timestamps). If hardware timestamps are not configured, timers are generated at the software level that are less accurate than they would have been with hardware timestamps.

Note:

QFX Series switches do not support hardware timestamps.

Note:

On the EX4300 switch, RPM timestamping is performed in the software. The RPM probes at the requester and responder devices are timestamped in the Packet Forwarding Engine instead of the Junos OS process (rmopd) that runs on the Routing Engine. This timestamping method is referred to as pseudo-hardware timestamping.

Note:

EX Series switches support hardware timestamps for UDP and ICMP probes. EX Series switches do not support hardware timestamps for HTTP or TCP probes.

You can timestamp the following RPM probes to improve the measurement of latency or jitter.

  • ICMP ping

  • ICMP ping timestamp

  • UDP ping

  • UDP ping timestamp

Note:

icmp-ping is the default probe type on devices running Junos OS.

The probe packets are time-stamped with the times at which they are sent and received at both the source and destination endpoints.

You should configure the requester (the RPM client) with hardware timestamps (see Figure 1) to get more meaningful results than you would get without the timestamps. The responder (the RPM server) does not need to be configured to support hardware timestamps. If the responder supports hardware timestamps, it timestamps the RPM probes. If the responder does not support hardware timestamps, RPM can only report round-trip measurements that include the processing time on the responder.

Note:

On the EX4300 switch, you must configure the switch as both the requester (the RPM client) and the responder (the RPM server) to timestamp the RPM packet.

Figure 1 shows the timestamps:

Figure 1: RPM Timestamps RPM Timestamps
  • T1 is the time the packet leaves the requester port.

  • T2 is the time the responder receives the packet.

  • T3 is the time the responder sends the response.

  • T4 is the time the requester receives the response.

The round-trip time is T4 – T1 – (T3 – T2). If the responder does not support hardware timestamps, then the round-trip time is (T4 – T1), and thus includes the processing time of the responder.

You can use RPM probes to find the following time measurements:

  • Minimum round-trip time

  • Maximum round-trip time

  • Average round-trip time

  • Standard deviation of the round-trip time

  • Jitter of the round-trip time—Difference between the minimum and maximum round-trip time

The RPM feature provides a configuration option to set one-way hardware timestamps. Use one-way timestamps when you want information about one-way time, rather than round-trip times, for packets to traverse the network between the requester and the responder. As shown in Figure 1, one-way timestamps represent the time T2 – T1 and the time from T4 – T3. Use one-way timestamps when you want to gather information about delay in each direction and to find egress and ingress jitter values.

Note:

For correct one-way measurement, the clocks of the requester and responder must be synchronized. If the clocks are not synchronized, one-way jitter measurements and calculations can include significant variations, in some cases orders of magnitude greater than the round-trip times.

When you enable one-way timestamps in a probe, the following one-way measurements are reported:

  • Minimum, maximum, standard deviation, and jitter measurements for egress and ingress times

  • Number of probes sent

  • Number of probe responses received

  • Percentage of lost probes

Junos OS Support

Starting in Junos OS Release 17.3R1, you can apply RPM to IPsec tunnels and GRE tunnels for PIC-based and Routing Engine-based RPM clients and servers if you are using MS-MPCs or MS-MICs. Packet Forwarding Engine-based RPM is not supported for IPsec tunnels. Support of RPM on IPSec tunnels enables service level agreement (SLA) monitoring for traffic transported in IPSec tunnels.

Note:

RPM is not supported on logical systems.

In Junos OS, you can also configure RPM services to determine automatically whether a path exists between a host device and its configured BGP neighbors. You can view the results of the discovery using an SNMP client. Results are stored in pingResultsTable, jnxPingResultsTable, jnxPingProbeHistoryTable, and pingProbeHistoryTable.

Starting in Junos OS Release 18.4R1 for MX Series routers, you can use RPM probes to detect link status, and change the preferred-route state on the basis of the probe results. RPM-tracked routes can be IPv4 or IPv6, and support a single IPv4 or IPv6 next hop. You configure this feature with the rpm-tracking statement at the [edit routing-options] or [edit routing-instances routing-options] hierarchy level. For example, RPM probes can be sent to an IP address to determine if the link is up, and if so, the software installs a static route in the route table. RPM-tracked static routes are installed with preference 1 and thus are preferred over any existing static routes for the same prefix. Starting in Junos OS Release 19.1R1, you can track up to 16 next hops for each IPv4 or IPv6 RPM-tracked static route, for MX Series routers. Starting in Junos OS Release 20.4R1, we've extended support to the PTX Series routers. In addition, for this feature, you can configure route preference and tag values for each IPv4 or IPv6 destination prefix. Starting in Junos OS Release 22.3R1, you can configure RPM-tracked static routes for the ACX710 and ACX5448 routers. Starting in Junos OS Release 24.2R1, you can configure RPM-tracked static routes for the EX4100, EX4400, and EX4650 switches, including multiple next hops and the setting of preference and tag values for each IPv4 or IPv6 destination prefix.

In Junos OS, probe configuration and probe results are supported by both the command-line interface (CLI) and SNMP. You set the probe options in the test test-name statement at the [edit services rpm probe owner] hierarchy level. You use the show services rpm probe-results command to view the results of the most recent RPM probes.

Note:

For ACX routers:

  • The ACX710 and ACX5448 Series routers support the hardware-timestamp statement configuration, starting in Junos OS Release 22.3R1.

  • The ACX500 Series, ACX1000 Series, ACX2000 Series, ACX4000 Series, ACX5048 router, and the ACX5096 router do not support the hardware-timestamp statement configuration.

Note:

Limitations for EX Series and QFX Series switches:

  • Two-Way Active Measurement Protocol (TWAMP) is not supported on the switches. (QFX Series only)

  • The switches do not support user-configured class-of-service (CoS) classifiers or prioritization of RPM packets over regular data packets received on an input interface.

  • Timestamps:

    • If the responder does not support hardware timestamps, RPM can only report the round-trip measurements and cannot calculate round-trip jitter. (QFX Series switches do not support hardware timestamps.)

    • EX Series switches do not support hardware timestamps or pseudo-hardware timestamps for HTTP and TCP probes.

    • Timestamps apply only to IPv4 traffic.

    • In-Service Software Upgrades (ISSU) and Nonstop Software Upgrades (NSSU) do not support pseudo-hardware timestamps.

Table 1 provides information about RPM and related timestamp support on MPC, MS-MIC/MPC, and Routing Engine:

Table 1: RPM and related timestamp support for ICMP probes

Feature

Role

IP Version

Support (Y/N)

Timestamp on Routing Engine

Timestamp on MPC (hardware-timestamp)

Timestamp on MPC (si-interface)

Timestamp on MS-MIC/MPC (delegate-probes)

RPM

Client

IPv4

Y

Y (µsec)

2000 maximum probes

Y (µsec)

2000 maximum probes

N

Y (msec)

1 million maximum probes

IPv6

Y

Y (µsec)

2000 maximum probes

N

N

Y (msec)

1 million maximum probes

Server

IPv4

Y

Y (µsec)

2000 maximum probes

Y (µsec)

2000 maximum probes

N

Y (msec)

1 million maximum probes

IPv6

Y

Y (µsec)

2000 maximum probes

N

N

Y (msec)

1 million maximum probes

Junos OS Evolved Support

Starting in Junos OS Evolved Release 20.1R1, you can configure RPM probes. For Junos OS Evolved, RPM is configured at the [edit services monitoring rpm] hierarchy level. The scope of support is limited to:

  • Probe generation and reception (client) as well as reflection (server) for the following RPM probe types:

    • http-get (added in Junos OS Evolved 23.4R1)

      You must set the offload-type statement to none to configure this probe type.

    • http-metadata-get (added in Junos OS Evolved 23.4R1)

      You must set the offload-type statement to none to configure this probe type.

    • icmp-ping

    • icmp-timestamp

    • tcp-ping (added in Junos OS Evolved 23.4R1)

      You must set the offload-type statement to none to configure this probe type.

    • udp-ping

    • udp-timestamp

  • Probe history management

  • Reporting through syslog only

Starting in Junos OS Evolved Release 21.2R1, reporting through SNMP MIB objects is supported for RPM.

Starting in Junos OS Evolved Release 24.4R1, we've extended support for static route tracking to Junos OS Evolved and included Two-Way Active Measurement Protocol (TWAMP) test support as well. You use RPM or TWAMP probes to detect link status and to change the preferred-route state on the basis of the probe results. Tracked static routes can be IPv4 or IPv6, and each IPv4 and IPv6 tracked static route supports up to 16 next hops. You can also configure the metric, route preference, and tag values for each IPv4 or IPv6 destination prefix. However, you configure this feature differently on Junos OS Evolved devices; you configure the sla-tracking statement at the [edit routing-options] hierarchy level. You also use a different command, show route sla-tracking, to see information about these routes. For Junos OS, you would configure the rpm-tracking statement at the same hierarchy level and you would use the command show route rpm-tracking to see information about these routes.

Change History Table

Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.

Release
Description
24.4R1-EVO
We've extended support for static route tracking to Junos OS Evolved and included Two-Way Active Measurement Protocol (TWAMP) test support as well. You use RPM or TWAMP probes to detect link status and to change the preferred-route state on the basis of the probe results. Tracked static routes can be IPv4 or IPv6, and each IPv4 and IPv6 tracked static route supports up to 16 next hops. You can also configure the metric, route preference, and tag values for each IPv4 or IPv6 destination prefix. However, you configure this feature differently on Junos OS Evolved devices; you configure the sla-tracking statement at the [edit routing-options] hierarchy level. For Junos OS, you would configure the rpm-tracking statement at the same hierarchy level.
24.2R1
Starting in Junos OS Release 24.2R1, you can configure RPM probes and enable timestamps on RPM probe messages in the Packet Forwarding Engine for the EX4100, EX4400, and EX4650 Series switches. You can also configure RPM-tracked static routes for these switches, including multiple next hops and the setting of preference and tag values for each IPv4 or IPv6 destination prefix.
23.4R1-EVO
Starting in Junos OS Evolved Release 23.4R1 for the ACX7024, ACX7100, ACX7348, ACX7509, PTX10001-36MR, PTX10003, PTX10004, PTX10008, PTX10016, QFX5130-32CD, QFX5130-48C, QFX5130-48CM, QFX5220, and QFX5700, you can configure tcp-ping, http-get, and http-metadata-get probes for RPM.
23.1R1-EVO
Starting in Junos OS Evolved Release 23.1R1, you can configure IPv6 source and target addresses for RPM probes for the ACX7024, ACX7100, ACX7509, PTX10001-36MR, PTX10003, PTX10004, PTX10008, PTX10016, QFX5130-32CD, QFX5220, and QFX5700. We've also added support for IPv6 addresses to the SNMP RFC2925a MIB control and results tables. For IPv6 RPM probes, you can enable timestamps only in the Routing Engine.
22.4R1-EVO
Starting in Junos OS Evolved Release 22.4R1, you can configure RPM probes for the QFX5130-CD, QFX5220, and QFX5700. We've also added reporting through MIB objects for these devices. For Junos OS Evolved, RPM is configured at the [edit services monitoring rpm] hierarchy level.
22.3R1
Starting in Junos OS Release 22.3R1, you can configure RPM probes and enable timestamps on RPM probe messages in the Packet Forwarding Engine for the ACX710 and ACX5448 Series routers.
22.3R1
Starting in Junos OS Release 22.3R1, you can configure RPM-tracked static routes for the ACX710 and ACX5448 routers, including multiple next hops and the setting of preference and tag values for each IPv4 or IPv6 destination prefix.
21.4R1
Starting in Junos OS Release 21.4R1, you can configure RPM probes and enable timestamps on RPM probe messages in the Packet Forwarding Engine for the EX9200 Series switches.
21.3R1
Starting in Junos OS Release 21.3R1, you can configure RPM probes and enable timestamps on RPM probe messages in the Packet Forwarding Engine for the QFX10002, QFX10008, and QFX10016 switches.
21.2R1-EVO
Starting in Junos OS Evolved Release 21.2R1, reporting through SNMP MIB objects is supported for RPM.
21.2R1
Starting in Junos OS Release 21.2R1, you can enable timestamps on RPM probe messages in the Packet Forwarding Engine for the PTX5000 router.
20.4R1
Starting in Junos OS Release 20.4R1, we've extended support for the RPM-tracked static routes feature to the PTX Series routers. In addition, for this feature, you can configure route preference and tag values for each IPv4 or IPv6 destination prefix.
20.1R1-EVO
Starting in Junos OS Evolved Release 20.1R1, you can configure RPM probes. For Junos OS Evolved, RPM is configured at the [edit services monitoring rpm] hierarchy level.
19.3R2
RPM is not supported when you enable Next Gen Services on an MX Series router.
19.2R1
Starting in Junos OS Release 19.2R1, you can enable timestamps on RPM probe messages in the Packet Forwarding Engine host processor for the MPC10E-15C-MRATE line card on MX240, MX480, and MX960 routers, and on the MPC11E line card on the MX2008, MX2010, and MX2020 routers.
19.1R1
Starting in Junos OS Release 19.1R1, you can track up to 16 next hops for each IPv4 or IPv6 RPM-tracked static route, for MX Series routers.
19.1R1
Starting in Junos OS Release 19.1R1, PTX Series routers support timestamping of RPM probe messages on the Packet Forwarding Engine.
18.4R1
Starting in Junos OS Release 18.4R1 for MX Series routers, you can use RPM probes to detect link status, and change the preferred-route state on the basis of the probe results. RPM-tracked routes can be IPv4 or IPv6, and support a single IPv4 or IPv6 next hop. For example, RPM probes can be sent to an IP address to determine if the link is up, and if so, the software installs a static route in the route table. RPM-tracked static routes are installed with preference 1 and thus are preferred over any existing static routes for the same prefix.
17.3R1
Starting in Junos OS Release 17.3R1, you can apply RPM to IPsec tunnels and GRE tunnels for PIC-based and Routing Engine-based RPM clients and servers if you are using MS-MPCs or MS-MICs.
12.3X51-D10
Starting in Junos OS Release 12.3X51-D10, we extended support for RPM to ACX Series routers.