Skip to main content

DLink(sFlow) Configuration

This document outlines the commands to configure sFlow export on DLink devices.

Configuration Steps

Enable sFlow on the device:

enable sflow

Create an sFlow analyzer server:

create sflow analyzer_server owner {timeout [ | collectorport | maxdatagramsize ]}

Create an sFlow counter poller:

create sflow counter_poller ports [ | all] analyzer_server_id {interval [disable | ]}

Configure the sFlow counter poller:

config sflow counter_poller ports [ | all] interval [disable | ]

Enable sFlow:

enable sflow

Create the sFlow analyzer server (replace the placeholders with actual values):

create sflow analyzer_server 1 owner MEMFE {timeout infinite collector address <192.16.18.2> collector port <6343>}
note

192.16.18.2 is the MFE server IP, and 6343 is the default sFlow listener port with a default datagram size of 1400.

Create the flow sampler:

create sflow flow_sampler ports all analyzer_server_id 1 rate 20
note

The actual rate is the configured rate value multiplied by 256. For example, if the rate is 20, the actual rate is 5120.

Create the counter poller:

create sflow counter_poller ports all analyzer_server_id 1 interval 60

After completing the configuration, navigate to Menu > Flow Explorer and select the Event Source(s) and the associated Interface(s) from the drop-downs to view the active flow data.