Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
{ "lCode": "en_US", "lName": "English", "folder": "en_US" }
English
 

collector

date_range 10-Jul-20

List of Syntax

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

Syntax (EX Series)

content_copy zoom_out_map
collector ip-v4/v6-address {
udp-port port-number;
}

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

content_copy zoom_out_map
collector ip-v4/v6-address {
dscp dscp;
forwarding-class forwarding-class;
udp-port port-number;
}

Hierarchy Level

content_copy zoom_out_map
[edit protocols sflow]

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.

footer-navigation