Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

export-profile (Junos Telemetry Interface)

Syntax

Hierarchy Level

Description

Configure the parameters of the export process for data generated through Junos Telemetry Interface sensors. You can create one or more export profiles. Each profile can be associated with one or more sensors that define the system resource to monitor and stream data. You can associate only one export profile with a specific sensor configuration.

The IP layer delivers the exported data to the remote server. The export profile configuration allows you to specify a format for exported data, a transport protocol, the rate which the system generates data, and the local source port and IP address that are used to define the transport headers in the exported packets.

To enable Junos Telemetry Interface, you must also configure a sensor that defines the parameters of the system resource to monitor and stream data, and a server to collect the data. To configure a sensor, include the sensor sensor-name statement at the [edit services analytics] hierarchy level. To configure the server that functions as a data collector, include streaming-server server-name statement at the [edit services analytics] hierarchy level.

Note:

Junos Telemetry Interface was introduced in Junos OS Release 15.1F3 on MX Series routers with interfaces configured on MPC1 through MPC6E and on PTX Series routers with interfaces configured on FPC3. Starting in Junos OS Release 15.1F5, Junos Telemetry Interface is also supported on MPC7E, MPC8E, and MPC9E on MX Series routers.

Starting with Junos OS Release 16.1R3, FPC1 and FPC2 on PTX Series routers are also supported.

Starting with Junos OS Release 17.2R1, QFX10000 switches and PTX1000 routers are also supported.

Options

name

Name of export profile.

Note:

To associate this export profile with a configured sensor, include the name you configure for the export-profile statement at the [edit services analytics sensor sensor-name export-name] hierarchy level.

dscp value

Specify the DSCP value for the exported packets.

  • Range: 0 through 63.

  • Default: 0

    Note:

    Any interface-level DSCP rewrite rules you have configured override the DSCP value you specify for the export profile. You need to specify a DSCP value for the export profile only if you do not configure DSCP rewrite rules on the outgoing interface. For more information, see Configuring Rewrite Rules.

format

Specify the format to define the structure of exported data.

gpb

Google protocol buffers format.

json-gnmi

JavaScript Object Notation (JSON) encoding. JSON is an open standard file format and data interchange format that provides a good balance of usability and performance. It uses human-readable text to store and transmit data objects consisting of attribute–value pairs and array data types.

forwarding-class (assured-forwarding | best-effort | expedited-forwarding | network-control)

(Packet Forwarding Engine sensors only) Specify the forwarding class for exported packets.

  • Default: best-effort

loss-priority (high | low | medium-high | medium-low) (MX Series only)

Specify the loss priority for exported packets. Loss priority settings help determine which packets are dropped from the network during periods of congestion.

local-address ip-address

Specify the source address of exported packets.

local-port number

Specify the source port for the exported packets.

payload-size bytes (Optional)

Specify the maximum size of exported packets.

Note:

The payload-size option is supported only on the following sensors:

  • /junos/system/linecard/interface/

  • /junos/system/linecard/interface/logical/usage/

  • /junos/system/linecard/firewall/

  • Default: 5000 bytes.

  • Range: For the QFX5100 line of switches, 3000 through 9192 bytes. For all other supported platforms, 1400 through 9192 bytes

    Note:

    Junos Telemetry Interface does not export packets larger than 9192 bytes.

reporting-rate seconds

Specify the interval at which the Junos Telemetry Interface sensor generates data to export to the collector.

As the configured interval expires, the most recent sample collected by the sensor is gathered and forwarded to the server configured to collect data.

Note:

For Packet Forwarding Engine sensors, the minimum reporting rate is 2 seconds.

  • Range: 1 through 3600 (1 hour)

transport protocol-name

Specify the transport protocol to use to carry the telemetry data in the IP packets.

udp

User Datagram Protocol.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 15.1F3.

payload-size bytes option introduced in Junos OS Release 16.1R3.

loss-priority option introduced in Junos OS Release 17.3R1 for MX Series routers only.

Statement introduced in Junos OS Release 17.4R1 for virtual MX Series (vMX) routers.