Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Dynamic Tunnel Statistics Support

Starting with Junos OS Release 17.4R1, you can export counter statistics for Packet Forwarding Engine dynamic tunnels to an outside collector. Use either native (UDP) or OpenConfig telemetry sensors through Junos Telemetry.

The statistics report various network element performance metrics in a scalable, efficient way and provide visibility into Packet Forwarding Engine errors and drops.

All exported data includes a timestamp indicating when the counters were last reset. Collectors can use the timestamp to determine if and when a reset event happened. For example, if the Packet Forwarding Engine hardware restarts.

Exported statistics are similar to the output of the operational mode command show nhdb hw dynamic-ip-tunnels.

To provision statistics export through gRPC, use the telemetrySubcribe RPC to create a subscription and specify telemetry parameters. Include the resource path /junos/services/ip-tunnel[name='tunnel-name']/usage/counters[name='counter-name']/ in the subscription.

Streaming telemetry data through gRPC also requires the OpenConfig for Junos OS module.

To configure the export of statistics through UDP, include the /junos/services/ip-tunnel/usage/ in the sensor (Junos Telemetry Interface) sensor in the (Junos Telemetry Interface) configuration statement. Place it at the [edit services analytics] hierarchy level. All parameters for UDP sensors are configured at that hierarchy level. MX80 and MX104 routers support only UDP streaming. They do not support gRPC.