Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


collector (Inline Monitoring)



Hierarchy Level

Release Information

Statement introduced in Junos OS 19.4R1 .


Configure an collector for inline monitoring. The monitored packets are exported to the collector in an IPFIX format. The actual packet is exported in an IPFIX format up to the configured clip length. By default, Junos OS supports a maximum packet length of 126 bytes beginningstarting with the Ethernet header. The IPFIX format exports information on the original packet size, and incoming or outgoing interface for further processing on the collector.


nameName of collector.
destination-addressIPv4 destination IP address.
destination-portDestination port value.

Range: 1 through 65535

dscpDSCP value.

Default: 0

Range: 0 through 63

forwarding-classForwarding class for exported frames.

Default: best-effort

routing-instanceName of routing instance.

Default: default.inet

sampling-rateSampling rate.

Range: 1 through 16000000

Default: 1

source-addressIPv4 source IP address.

Required Privilege Level