Configuring Flow Exports on Juniper EX2300, EX3400, and EX4300 Switches
For NetFlow analysis, you need to configure your devices to export flows to Site24x7 On-Premise Poller, which is the NetFlow collector. The On-Premise Poller will be listening to the particular port to receive flows. Learn how to find the port number of your On-Premise Poller.
Configure flows (sFlow) on Juniper EX2300, EX3400, and EX4300 switches using the following commands:
set sflow collector {NETFLOW_SERVER_IP} udp-port
{NETFLOW_SERVER_LISTENER_PORT}
Enter global configuration mode on the router or Multilayer Switch Feature Card (MSFC), and issue the following commands for each interface on which you want to enable flow:
set sflow interfaces {INTERFACE_NAME}
set sflow polling-interval 20
set sflow sample-rate 1000