DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
403
config sflow flow_sampler ports
Purpose
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.
Syntax
config sflow flow_sampler ports [<portlist> | all] [rate <int 0-
65535> | tx_rate <int 0-65535> | maxheadersize <int 18-256>]
Description
The
config sflow flow_sampler ports
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.
Parameters
<portlist> | all –
Specify the list of ports or all port to be configured.
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.
Restrictions
Only Administrator, operator and power user-level users can issue
this command.
Example usage:
To configure the sFlow sampler the rate of port 1 to be 0:
DGS-1210-28MP/ME:5# config sflow flow_sampler ports 1 rate 0 maxheadersize 18
Command: config sflow flow_sampler ports 1 rate 0 maxheadersize 18
Success.
DGS-1210-28MP/ME:5#
delete sflow flow_sampler ports
Purpose
Used to delete the sFlow flow sampler.
Syntax
delete sflow flow_sampler ports [<portlist> | all]
Description
The
delete sflow flow_sampler ports
command is used to delete
the sFlow flow sampler.
Parameters
<portlist> | all –
Specify the list of ports or all ports to be deleted.
Restrictions
Only Administrator, operator and power user-level users can issue
this command.
Example usage:
Содержание DGS-1210/ME series
Страница 61: ...DGS 1210 ME Metro Ethernet Switch CLI Reference Guide 41 Sending mail please wait Success DGS 1210 28MP ME 5 ...
Страница 186: ...DGS 1210 Metro Ethernet Managed Switch CLI Reference Guide 166 DGS 1210 28MP ME 5 ...
Страница 190: ...DGS 1210 Metro Ethernet Managed Switch CLI Reference Guide 170 Success DGS 1210 28MP ME 5 ...
Страница 386: ...DGS 1210 Metro Ethernet Managed Switch CLI Reference Guide 366 Port Max Group 1 v6 256 3 v6 256 DGS 1210 28MP ME 5 ...