D-Link xStack DGS-3420 Series Reference Manual page 858

Layer 2 managed stackable gigabit switch cli
Hide thumbs Also See for xStack DGS-3420 Series:
Table of Contents

Advertisement

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
sampled that will be encapsulated and forwarded to the server. If not specified, the default
value is 128.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To create the sFlow flow sampler:
DGS-3420-28SC:admin#create sflow flow_sampler ports 1 analyzer_server_id 1 rate 200
maxheadersize 120
Command: create sflow flow_sampler ports 1 analyzer_server_id 1 rate 200
maxheadersize 120
Success.
DGS-3420-28SC:admin#
12-5
config sflow flow_sampler ports
Description
This command is used to configure the sFlow flow sampler parameters.
Format
config sflow flow_sampler ports [<portlist> | all] {rate <value 0-65535> | tx_rate <value 0-65535>
| maxheadersize <value 18-256>}(1)
Parameters
<portlist> - Specify the list of ports to be configured.
all - Specify to configure all ports.
rate - Specify the sampling rate for packet sampling.
<value 0-65535> - Specify 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 every 5120 packets. If set to 0, the sampler is disabled. If the rate
is not specified, its default value is 0.
tx_rate – Specifies the transmit rate.
<value 0-65535> - Enter the transmit rate used here. This value must be between 0 and 65535.
maxheadersize - Specify the maximum number of leading bytes in the packet which has been
sampled that will be encapsulated and forwarded to the server.
<value 18-256> - Specify 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.
Restrictions
Only Administrator and Operator-level users can issue this command.
853

Advertisement

Table of Contents
loading

Table of Contents