collector
Syntax (ACX Series, MX Series, PTX Series, and QFX Series)
collector ip-v4/v6-address { dscp dscp; forwarding-class forwarding-class; udp-port port-number; }
Syntax (PTX10001-36MR, PTX10002-36QDD, PTX10003, PTX10004, PTX10008, PTX10016, QFX5230-64CD, QFX5240-64OD, and QFX5240-64QD)
collector ip-v4/v6-address { dscp dscp; forwarding-class forwarding-class; routing-instance routing-instance name; udp-port port-number; }
Hierarchy Level
[edit protocols sflow]
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.
|
| routing-instance routing-instance name | Configure the routing instance on which collector is reachable. Options:
|
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.2R1.