Device Integration: Juniper Switches sFlow

Modified on Wed, 5 Aug at 2:44 PM

TABLE OF CONTENTS


Overview

This guide explains how to integrate NetFlow (sFlow) from Juniper switches into ADR SIEM (aiSIEM/aiXDR). Flows from Juniper devices are exported to the CCE (Collection and Control Engine) and forwarded to the APE (Analytics and Policy Engine) for comprehensive visibility, proactive threat detection, and traffic analytics.


Prerequisites

  • SSH or Telnet access to the Juniper switch.
  • Privileged (configure) mode access on the switch.
  • Correct system date/time and timezone on the switch.
  • Valid SSH/Telnet credentials with management privileges.
  • ADR CCE server IP address.
  • UDP port 6343 (default sFlow port) open between the Juniper switch and the CCE.


Configuration Steps

Step 1: Connect to Switch

SSH into the Juniper switch:

ssh admin@<Switch_IP>

Step 2: Enter Configuration Mode

configure

Step 3: Configure sFlow Agent

(Optional but recommended for device identification)

set protocols sflow agent-id <Switch_Management_IP>

Step 4: Configure Collector (CCE)

set protocols sflow collector <CCE_IP> udp-port 6343

Step 5: Enable sFlow on Interfaces


Apply sFlow to the required interfaces:

set protocols sflow interfaces <interface>

Example:

set protocols sflow interfaces ge-0/0/0

Step 6: Configure Sampling and Polling


Set sampling rates and polling intervals (adjust as per network load):

set protocols sflow polling-interval 60
set protocols sflow sample-rate ingress 1024
set protocols sflow sample-rate egress 1024

Here, 1024 means 1 out of every 1024 packets is sampled.


Step 7: Commit Changes

commit

Verify Settings on Juniper CLI

On Juniper Switch (CLI)

Run the following commands to verify settings:

show sflow collector
show sflow interface

These confirm collector configuration, enabled interfaces, and active sampling.


Verification (MSSP Only)

On ADR CCE (Collector)

  1. Log in to the CCE server.
  2. Run:
    sudo tcpdump -i any port 6343 and host <Juniper_Switch_IP> -AAA

    This confirms sFlow packets are arriving from the switch.

On ADR SIEM UI

  1. Log in to the ADR SIEM UI with admin rights.
  2. Navigate: System → Logs and Flows Collection Status.
  3. Verify that the Juniper switch IP appears under Source Device IP.

  4. Ensure flows are being collected in near real time.

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