DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 132
delete sflow flow_sampler
Syntax
delete sflow flow_sampler ports [<portlist> | all]
Description
This command is used to delete the sflow flow sampler that has been configured for
the specified port.
Parameters
ports
– Specifies the list of ports to be configured.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete all the sflow flow_sampler:
DGS-3700-12:5#delete sflow flow_sampler ports all
Command: delete sflow flow_sampler ports all
Success.
DGS-3700-12:5#
show sflow flow_sampler
Purpose
Used to show the sflow flow_sampler information of ports which have been created.
Syntax
show sflow flow_sampler
Description
This command is used to show the sFlow flow_sampler which has been configured
for ports. The actual value rate is 256 times the displayed rate value. There are two
types of rates. ConfigRate is configed by the user. In order to limit the number of
packets sent to the CPU when the rate of traffic to the CPU is high, the sampling
rate will be decreased. This is specified as the active rate.
Parameters
None
.
Restrictions
None.
Example usage:
To show the sflow flow_sampler:
DGS-3700-12:5#show sflow flow_sampler
Command: show sflow flow_sampler
Port Analyzer Server ID Configured Rate Active Rate Max Header Size
---- ------------------ --------------- ----------- ---------------
1 1 20 80 140
2 2 10 40 100
Total Entries: 2
DGS-3700-12:5#
create sflow counter_poller
Purpose
Used to create the sflow counter_poller.
Syntax
create sflow counter_poller ports [<portlist> | all] analyzer_server_id < value 1-
4> {interval [disable | <sec 20-120>]}
Description
This command is used to create the sflow counter_poller. With the poller function, the
statistic counter information with respect to a port will be forwarded to the server
at the configured interval. These counters are RFC 2233 counters.
Parameters
ports
– Specifies the list of ports to be configured.
analyzer_server_id
– The analyzer_server_id is the id of a analyzer_server.