collector (Inline Monitoring)
Syntax (Junos OS)
collector collector-name { destination-address destination-IP-address; destination-port destination-port-number; dscp dscp; forwarding-class forwarding-class; routing-instance routing-instance-name; sampling-rate sampling-rate; source-address source-IP-address; }
Syntax (Junos OS Evolved)
collector collector-name { destination-address destination-IP-address; destination-port destination-port; source-address source-IP-address; }
Hierarchy Level
[edit services inline-monitoring instance instance-name]
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.
|
dscp dscp |
(Junos OS only) DSCP value.
|
forwarding-class forwarding-class |
(Junos OS only) Forwarding class for exported frames.
|
routing-instance routing-instance-name |
(Junos OS only) Name of the routing instance.
|
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 For example, if you specify 1000, then 1 packet out of every 1000 packets is sampled.
|
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.