xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
629
Example
Configure the sFlow sampler the rate of port 1 to be 0:
DGS-3120-24TC:admin#config sflow flow_sampler ports 1:1 rate 0 maxheadersize 18
Command: config sflow flow_sampler ports 1:1 rate 0 maxheadersize 18
Success.
DGS-3120-24TC:admin#
69-3
delete sflow flow_sampler
Description
This command is used to delete the sFlow flow sampler.
Format
delete sflow flow_sampler ports [<portlist> | all]
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.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
Delete the sFlow sampler port 1:
DGS-3120-24TC:admin#delete sflow flow_sampler ports 1:1
Command: delete sflow flow_sampler ports 1:1
Success.
DGS-3120-24TC:admin#
69-4
create sflow counter_poller
Description
This command is used to create the sFlow counter poller. The poller function instructs the Switch
to forward statistics counter information with respect to a port.
Format
create sflow counter_poller ports [<portlist> | all] analyzer_server_id <value 1-4> {interval
[disable | <sec 20-120>]}