User Tools

Site Tools


sflow:dlinkswitch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sflow:dlinkswitch [2025/04/22 12:19] – created santhanasflow:dlinkswitch [2025/04/22 13:37] (current) santhana
Line 3: Line 3:
 =====Overview===== =====Overview=====
  
-sFlow is a feature on D-Link switches that allows for monitoring network traffic by sampling packets and sending them to an sFlow analyzer for analysis. This document provides a brief guide on configuring sFlow on D-Link switches using the Command Line Interface (CLI).+sFlow is a feature on D-Link switches that allows for monitoring network traffic by sampling packets and sending them to an sFlow analyzer for analysis. This document provides a brief guide on configuring sFlow on D-Link switches using the Command Line Interface (CLI). Make sure that the port numbers match the expected configuration where UDP port number is 6343 (default for sflow)
  
 =====Configuring sFlow===== =====Configuring sFlow=====
Line 9: Line 9:
 **Enable sFlow**: enable sflow **Enable sFlow**: enable sflow
  
-**Create an sFlow analyzer server**: create sflow analyzer_server <id 1-4> owner <name 16> {timeout <sec 1-2000000> | collectoraddress <ipaddr>collectorport <udp_port_number 1-65535> | maxdatagramsize <value 300-1400>}+**Create an sFlow analyzer server**: create sflow analyzer_server <value 1-4> owner <name 16> {timeout <sec 1-2000000> | collectoraddress <ipaddr>collectorPort <udp_port_number 1-65535> | maxdatagramsize <value 300-1400>}
  
-**Configure the sFlow analyzer server**: config sflow analyzer_server <id 1-4> {timeout <sec 1-2000000> | collectoraddress <ipaddr>collectorport <udp_port_number 1-65535> | maxdatagramsize <value 300-1400>}+**Configure the sFlow analyzer server**: config sflow analyzer_server <value 1-4> {timeout <sec 1-2000000> | collectoraddress <ipaddr>collectorPort <udp_port_number 1-65535> | maxdatagramsize <value 300-1400>}
  
-**Create a counter poller**: create sflow counter_poller ports [<portlist> | all] analyzer_server_id <id 1-4> {interval [disable | <sec 20-120>]}+**Create a counter poller**: create sflow counter_poller ports [<portlist> | all] analyzer_server_id <value 1-4> {interval [disable | <sec 20-120>]}
  
-**Create a flow sampler**: create sflow flow_sampler ports [<portlist> | all] analyzer_server_id <id 1-4> {rate <value 0-65535> | maxheadersize <value 18-256>}+**Create a flow sampler**: create sflow flow_sampler ports [<portlist> | all] analyzer_server_id <value 1-4> {rate <value 0-65535> | maxheadersize <value 18-256>}
  
 =====Displaying sFlow Settings===== =====Displaying sFlow Settings=====
Line 32: Line 32:
 </code> </code>
  
-**Tips and Reminders**+<note tip>**Tips and Reminders**
  
   * Make sure to configure the sFlow analyzer server with a valid IP address and UDP port number.   * Make sure to configure the sFlow analyzer server with a valid IP address and UDP port number.
   * Configure the counter poller and flow sampler settings according to your network monitoring needs.   * Configure the counter poller and flow sampler settings according to your network monitoring needs.
   * Use the show commands to verify your sFlow settings.   * Use the show commands to verify your sFlow settings.
 +</note>
 +
 +**DLink sFlow Configuration Reference Doc**: [[https://www.dlink.com/-/media/business_products/dgs/dgs-3627g/additional-downloads/dgs_3627g_cli_manual_fr.pdf|This Link points to source file]].
  
sflow/dlinkswitch.1745304570.txt.gz · Last modified: 2025/04/22 12:19 by santhana