Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

collector (Inline Monitoring)

Syntax (Junos OS)

Syntax (Junos OS Evolved)

Hierarchy Level

Description

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, starting with the Ethernet header. The IPFIX format exports information on the original packet size, and the incoming or outgoing interface for further processing on the collector.

Options

collector-name

Name of the collector.

destination-address destination-IP-address

IPv4 destination IP address.

destination-port destination-port-number

Destination port value.

  • Range: 1 through 65535

dscp dscp

(Junos OS only) DSCP value.

  • Default: 0

  • Range: 0 through 63

forwarding-class forwarding-class

(Junos OS only) Forwarding class for exported frames.

  • Default: best-effort

routing-instance routing-instance-name

(Junos OS only) Name of the routing instance.

  • Default: default.inet

sampling-rate sampling-rate

(Junos OS only) Rate at which the packets are sampled. In Junos OS Evolved, you do not specify the sampling rate here; you specify the sampling rate at the [edit services inline-monitoring instance instance-name] hierarchy level.

For example, if you specify 1000, then 1 packet out of every 1000 packets is sampled.

  • Range: 1 through 16000000

  • Default: 1

source-address source-IP-address

IPv4 source IP address.

Required Privilege Level

system—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS 19.4R1.

Statement introduced in Junos Evolved OS Release 22.2R1.