D-Link DGS-3700 Series Reference Manual page 131

Layer 2 managed gigabit ethernet switch
Hide thumbs Also See for DGS-3700 Series:
Table of Contents

Advertisement

DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
create sflow flow_sampler ports
Restrictions
Example usage:
To create sflow flow_sampler:
DGS-3700-12:5#create sflow flow_sampler ports all analyzer_server_id 1 rate 10
maxheadersize 100
Command: create sflow flow_sampler ports all analyzer_server_id 1 rate 10 maxheadersize
100
Success.
DGS-3700-12:5#
config sflow flow_sampler
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To configure sflow flow_sampler:
DGS-3700-12:5#config sflow flow_sampler ports all rate 10 maxheadersize 100
Command: config sflow flow_sampler ports all rate 10 maxheadersize 100
Success.
DGS-3700-12:5#
delete sflow flow_sampler
Purpose
where the packet will be forwarded.
rate – The sampling rate for packet sampling. The configured rate value multiplied by
256 is the actual rate. For example, if the rate is 20, the actual rate 5120. One
packet will be sampled from about 5120 packets. If set to 0, the sampler is
disabled. If the rate is not specified, its default value is 0.
maxheadersize – The maximum number of leading bytes in the packet which has been
sampled that will be encapsulated and forwarded to the server. If not specified, the
default value is 128.
Only Administrator and Operator-level users can issue this command.
Used to configure the sflow flow_sampler parameters.
config sflow flow_sampler ports [<portlist> | all] {rate <value 0-65535> |
maxheadersize <value 18-256>}
This command is used to configure the sflow flow sampler parameters. If the user
wants the change the analyzer server ID, the user needs to delete the flow sampler
and create a new one.
ports – Specifies the list of ports to be configured.
rate – The sampling rate for packet sampling. The configured rate value multiplied by
256 is the actual rate. For example, if the rate is 20, the actual rate is 5120. One
packet will be sampled from about 5120 packets. If set to 0, the sampler is
disabled. If the rate is not specified, its default value is 0.
maxheadersize – The maximum number of leading bytes in the packet which has been
sampled that will be encapsulated and forwarded to the server. If not specified, the
default value is 128.
Only Administrator and Operator-level users can issue this command.
Used to delete the sflow flow_sampler.
Page | 131

Advertisement

Table of Contents
loading

Table of Contents