D-Link DGS-3120-48PC Reference Manual page 632

Layer 2 managed stackable gigabit switch
Hide thumbs Also See for DGS-3120-48PC:
Table of Contents

Advertisement

®
xStack
been sampled that will be encapsulated and forwarded to the server. If not specified, the
default value is 128.
<value 18-256> - Enter the maximum header size here. This value must be between 18 and
256.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
Create sFlow flow sampler:
DGS-3120-24TC:admin# create sflow flow_sampler ports 1 analyzer_server_id 1
rate 1 maxheadersize 18
Command: create sflow flow_sampler ports 1 analyzer_server_id 1 rate 1
maxheadersize 18
Success.
DGS-3120-24TC:admin#
69-2
config sflow flow_sampler
Description
This command is used to configure the sFlow flow sampler parameters. In order to change the
analyzer_server_id, delete the flow_sampler first and create a new one.
Format
config sflow flow_sampler ports [<portlist> | all] {rate <value 0-65535> | maxheadersize
<value 18-256>}
Parameters
ports - Specify the list of ports to be configured.
<portlist> - Enter the list of ports that will be used for this configuration here.
all - Specify all ports on the Switch.
rate - (Optional) The sampling rate for packet Rx sampling. The configured rate value multiplied
by x is the actual rate, where the x is project dependent with the default value 256. If set to 0,
the sampler is disabled. If the rate is not specified, its default value is 0.
<value 0-65535> - Enter the sampling rate value here. This value must be between 0 and
65535.
maxheadersize - (Optional) 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.
<value 18-256> - Enter the maximum header size value here. This value must be between 18
and 256.
Restrictions
Only Administrator and Operator-level users can issue this command.
DGS-3120 Series Managed Switch CLI Reference Guide
628

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120 series

Table of Contents