Related Documentation
- EX, J, M, MX, PTX, T Series
- [edit services rpm] Hierarchy Level
- M, MX, PTX, T Series
- Real-Time Performance Monitoring Services Overview
- Examples: Configuring Real-Time Performance Monitoring
Configuring RPM Timestamping
To account for latency in the communication of probe messages, you can enable timestamping of the probe packets. You can timestamp the following RPM probe types: icmp-ping, icmp-ping-timestamp, udp-ping, and udp-ping-timestamp.
On M Series and T Series routers with an Adaptive Services (AS) or Multiservices PIC, and MX Series routers with a Multiservices DPC, and on EX Series switches, you can enable hardware timestamping of RPM probe messages. The timestamp is applied on both the RPM client router (the router or switch that originates the RPM probes) and the RPM probe server and applies only to IPv4 traffic. It is supported on the following:
- Layer 2 services package on all Mulitservices PICs and DPCs.
- Layer 3 service package on AS and Multiservices PICs and Multiservices DPCs.
- Extension-provider services package on M Series, MX Series, and T Series services PICs that support the Extension-Provider packages (In Junos OS releases earlier than 12.3, the extension-provider packages were variously referred to as Junos Services Framework (JSF), MP-SDK, and eJunos.)
- Layer 2, Layer 3, SDK Services, and PFE RPM timestamping
interoperate with each other. Here, the RPM client can be on the Layer
3 sp- interface and the RPM server can be on an SDK Services
package.
Note: Hardware timestamping is not supported on PTX Series Packet Transport Routers.
Two-way timestamping is available on sp- and ms- interfaces. To configure two-way timestamping on M Series and T Series routers, include the destination-interface statement at the [edit services rpm probe probe-owner test test-name] hierarchy level:
Specify the RPM client router and the RPM server router on the adaptive services logical interface or the multiservices interface by including the rpm statement at the [edit interfaces interface-name unit logical-unit-number] hierarchy level:
The logical interface must be dedicated to the RPM task. It requires configuration of the family inet statement and a /32 address, as shown in the example. This configuration is also needed for other services such as NAT and stateful firewall. You cannot configure RPM service on unit 0 because RPM requires a dedicated logical interface; the same unit cannot support both RPM and other services. Because active flow monitoring requires unit 0, but RPM can function on any logical interface, a constraint check prevents you from committing an RPM configuration there.
![]() | Note: If you configure RPM timestamping on an AS PIC, you cannot configure the source-address statement at the [edit services rpm probe probe-name test test-name] hierarchy level. |
On MX Series routers and EX Series switches, you include the hardware-timestamp statement at the [edit services rpm probe probe-name test test-name] hierarchy level to specify that the probes are to be timestamped in the Packet Forwarding Engine host processor:
On the client side, these probes are timestamped in the Packet Forwarding Engine host processor on the egress DPC on the MX Series router or EX Series switch originating the RPM probes (RPM client). On the responder side (RPM server), the RPM probes to be timestamped are handled by the Packet Forwarding Engine host processor, which generates the response instead of the RPM process. The RPM probes are timestamped only on the router that originates them (RPM client). As a result, only round-trip time is measured for these probes.
![]() | Note: The Packet Forwarding Engine-based RPM feature does not support any stateful firewall configurations. If you need to combine RPM timestamping with a stateful firewall, you should use the interface-based RPM timestamping service described earlier in this section. Multiservices DPCs support stateful firewall processing as well as RPM timestamping. |
To configure one-way timestamping, you must also include the one-way-hardware-timestamp statement at the [edit services rpm probe probe-owner test test-name] hierarchy level:
![]() | Note: If you configure RPM probes for a services interface (sp-), you need to announce local routes in a specific way for the following routing protocols:
For more information about these configurations, see the Routing Policy Feature Guide for Routing Devices or the Junos OS Routing Protocols Library for Routing Devices. |
Routing the probe packets through the adaptive services or Multiservices PIC also enables you to filter the probe packets to particular queues. The following example shows the RPM configuration and the filter that specifies queuing:
For more information about firewall filters, see the Routing Policy Feature Guide for Routing Devices; for more information about queuing, see the Junos OS Class of Service Library for Routing Devices.
Related Documentation
- EX, J, M, MX, PTX, T Series
- [edit services rpm] Hierarchy Level
- M, MX, PTX, T Series
- Real-Time Performance Monitoring Services Overview
- Examples: Configuring Real-Time Performance Monitoring
Published: 2013-08-29
Related Documentation
- EX, J, M, MX, PTX, T Series
- [edit services rpm] Hierarchy Level
- M, MX, PTX, T Series
- Real-Time Performance Monitoring Services Overview
- Examples: Configuring Real-Time Performance Monitoring