collector

 

List of Syntax

Syntax (EX Series)

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

Syntax (EX Series)

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

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.3 for EX Series switches.

Statement introduced in Junos OS Release 11.3 for the QFX Series.

Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.

Statement introduced in Junos OS Release 17.2R1 for the ACX5000 line of routers.

Statement introduced in Junos OS Release 18.1R1 for MX Series routers.

Statement introduced in Junos OS Release 18.2R1 for PTX Series routers.

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).

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 dscpConfigure 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-classConfigure 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-numberConfigure 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.