Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

collector

Syntax (EX Series)

Syntax (ACX Series, MX Series, PTX Series, and QFX Series)

Syntax (QFX5230-64CD, QFX5240-64OD, and QFX5240-64QD))

Hierarchy Level

Description

Configure a remote collector for sFlow network traffic monitoring. The device sends sFlow UDP datagrams to this collector for analysis. You can configure up to four collectors on the device. You configure a collector by specifying its IP address and a UDP port.

Options

dscp dscp

Configure Differentiated Services Code Point (DSCP) values per collector. These values are applied to all the packets destined for that collector. A change in the DSCP configuration resets all the counters for the collector and the new configuration comes into effect.

forwarding-class forwarding-class

Configure forwarding class values per collector. These values are applied to all the packets destined for that collector. A change in the forwarding-class configuration does not reset the counters. The collector maintains its state and the new configuration comes into effect.

ip-address (ipv4-address | ipv6-address)

Configure the IP address.

(ipv4-address | ipv6-address)

(EX Series only) Set the IPv4 or IPv6 address.

udp-port port-number

Configure the collector UDP port number.

  • Default: 6343

routing-instance routing-instance name

Configure the routing instance on which collector is reachable. Options:

  • mgmt_default

  • mgmt_junos

  • any user-defined VPN routing and forwarding (VRF) routing instance

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 9.3.

dscp and forwarding-class options introduced in Junos OS Release 19.1R1.

routing-instance options introduced in Junos OS Evoloved Release 24.4R1.