Create Sflow Flow_Sampler Ports - D-Link DGS-1210/ME Series Reference Manual

Metro ethernet switches
Hide thumbs Also See for DGS-1210/ME Series:
Table of Contents

Advertisement

To display the sFlow information:
DGS-1210-28MP/ME:5# show sflow
Command: show sflow
sFlow Version
sFlow Address
sFlow AddressV6: ::
sFlow State
DGS-1210-28MP/ME:5#

create sflow flow_sampler ports

Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To create sFlow flow sampler:
DGS-1210-28MP/ME:5# 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-1210-28MP/ME:5#
DGS-1210 Metro Ethernet Managed Switch CLI Reference Guide
: V5
: 10.90.90.90
: Enabled
Used to create the sFlow sampler. By configuring the sampling
function for a port, a sample packet received by this port will be
encapsulated and forwarded to analyzer server at the specified
interval.
create sflow flow_sampler ports [<portlist> | all]
analyzer_server_id <int 1-4> {rate <int 0-65535>} {tx_rate <int 0-
65535>} {maxheadersize <int 18-256>}
The create sflow flow_sampler ports command is used to create
the sFlow sampler.
<portlist> | all – Specify the list of ports or all port to be configured.
analyzer_server_id <int 1-4> – Specify the ID of a server analyzer
where the packet will be forwarded. The value is between 1 and 4.
rate <int 0-65535> – 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. This value must be between 0 and 65535, and the
default value is 0.
tx_rate <0-65535> – The sampling rate for packet Tx sampling. This
value must be between 0 and 65535, and the default value is 0.
maxheadersize <int 18-256> – The maximum number of leading
bytes in the packet which has been sampled that will be
encapsulated and forwarded to the server. This value must be
between 18 and 256, and the default value is 128.
Only Administrator, operator and power user-level users can issue
this command.
402

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents