Skip to main content

DLink Configuration

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

Commands for sFlow Export Configuration

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 MENFA {timeout infinite collector address <192.16.18.2> collector port <9996>}
note

192.16.18.2 is the NFA server IP, and 9996 is the 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