xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
1107
Example
To display sFlow analyzer server information:
DGS-3620-28PC:admin#show sflow analyzer_server
Command: show sflow analyzer_server
sFlow Analyzer_server Information
------------------------------
Server ID : 1
Owner : admin
Timeout : 400
Current Countdown Time: 400
Collector Address :
Collector Port : 6343
Max Datagram Size : 1400
Total Entries: 1
100-8 create sflow flow_sampler ports
Description
This command is used to create the sFlow flow sampler.
Format
create sflow flow_sampler ports [<portlist> | all] analyzer_server_id <value 1-4> {rate <value
0-65535> | tx_rate <value 0-65535> | maxheadersize <value 18-256>}
Parameters
<portlist> - Enter the list of ports to be configured.
all - Specifies to configure all ports.
analyzer_server_id - Specifies the ID of an analyzer server where the packet will be forwarded.
<value 1-4> - Enter the ID of an analyzer server where the packet will be forwarded.
rate - (Optional) Specifies the sampling rate for the received packets sampled on the port.
<value 0-65535> - Enter the sampling rate for received 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 – (Optional) Specifies the sampling rate for the transmitted packet sampled on the port.
<value 0-65535> - Enter the sampling rate for transmitted 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.
maxheadersize - (Optional) Specifies 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> - Enter 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