Device Integration: Enabling NetFlow on MX series router

Modified on Mon, 18 May at 2:01 PM

TABLE OF CONTENTS


Overview

When you configure a device to send sFlow to a collector, you simply set a source IP address (IP address of the collector), sample-rate, polling interval, UDP port, and interface to capture from. There is no opportunity to filter or choose what data gets sent from the device side. 


Steps Of Configuration

The following is an example configuration snippet to configure an MX series router to send sFlow packets.

set sflow collector 10.234.32.46 udp-port 5600


set sflow interfaces ge-0/0/0
set sflow polling interval 20
set sflow sample-rate egress 1000
set sflow interfaces ge-0/0/1 polling-interval 10 sample-rate ingress 1000


The following is an example configuration snippet to configure an EX series switch to send sFlow packets.

set sflow collector 10.234.32.46 udp-port 5600


set sflow interfaces ge-0/0/0
set sflow polling interval 20
set sflow sample-rate egress 1000


The following example shows the output from a switch already configured to send sFlow packets to a collector at IP address.


user@switch# show
    polling-interval 20;
    sample-rate egress 1000;
    collector 10.204.32.46 
    {
        udp-port 5600;
    }
    interfaces ge-0/0/0.0;


Verification (MSSP Only)

Login to the CCE server and run the below command 

sudo tcpdump -i any port 6343 and host <IP Of Device>


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article