
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 130
DGS-3700-12:5#enable sflow
Command: enable sflow
Success.
DGS-3700-12:5#
disable sflow
Purpose
Used to disable the sFlow function.
Syntax
disable sflow
Description
This command is used to disable the sFlow function.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable sflow:
DGS-3700-12:5#disable sflow
Command: disable sflow
Success.
DGS-3700-12:5#
show sflow
Purpose
Used to display the sFlow function.
Syntax
show sflow
Description
This command is used to display the sFlow function settings on the Swicth.
Parameters
None.
Restrictions
None.
Example usage:
To display sflow:
DGS-3700-12:5#show sflow
Command: show sflow
sFlow Version : 1.00
sFlow Address : 10.24.73.21
sFlow State : Disabled
DGS-3700-12:5#
create sflow flow_sampler ports
Purpose
Used to create the sflow flow_sampler.
Syntax
create sflow flow_sampler ports [<portlist> | all] analyzer_server_id <value 1-4>
{rate <value 0-65535> | maxheadersize <value 18-256>}
Description
This command is used to create the sFlow flow_sampler. By configuring the sampling
function for a port, a sample packet received by this port will be encapsulated and
forwarded to the analyzer server at the specified interval.
Parameters
ports
– Specifies the list of ports to be configured.
analyzer_server_id
– The analyzer_server_id specifies the ID of a server analyzer