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, OCX Series, PTX Series, and QFX Series)

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

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, for PTX Series routers and QFX Series switches (previously introduced for MX Series routers).