xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
276
33
S
F
LOW
sFlow is a feature that allows users to monitor network traffic running through the switch to identify network problems through
packet sampling and packet counter information of the Switch. The Switch itself is the sFlow agent where packet data is retrieved
and sent to an sFlow Analyzer where it can be scrutinized and utilized to resolve the problem.
The Switch can configure the settings for the sFlow Analyzer but the remote sFlow Analyzer device must have an sFlow utility
running on it to retrieve and analyze the data it receives from the sFlow agent.
The Switch will take sample packets from the normal running traffic of the Switch based on a sampling interval configured by the
user. Once this information has been gathered by the switch, it is packaged into a packet called an sFlow datagram, which is then sent
to the sFlow Analyzer for analysis.
The sFlow commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the following table.
Command Parameters
enable sflow
disable sflow
create sflow analyzer_server
<value 1-4> owner <name 16> {timeout [<sec 1-2000000 | infinite]
collectoraddress <ipaddr> | collectorport <udp_port_number 1-65535>
| maxdatagramsize <value 300-1400>}
config sflow analyzer_server
<value 1-4> {timeout [<sec 1-2000000 | infinite] collectoraddress
<ipaddr> | collectorPort <udp_port_number 1-65535> |
maxdatagramsize <value 300-1400>}
delete sflow analyzer_server
<value 1-4>
show sflow analyzer_server
create sflow counter_poller ports
[<portlist> | all] analyzer_server_id <value 1-4> {internal [disable | <sec
20-120>]}
config sflow counter_poller ports
[<portlist> | all] interval [disable | <sec 20-120>]
delete sflow counter_poller ports
[<portlist> | all]
show sflow counter_poller
create sflow flow_sampler ports
[<portlist> | all] analyzer_server_id <value 1-4> {rate <value 0-65535>
| maxheadersize <value 18-256>
config sflow flow_sampler ports
[<portlist> | all] {rate <value 0-65535> | maxheadersize <value 18-
256>
delete sflow flow_sampler ports
[<portlist> | all]
show sflow flow_sampler
show sflow
Each command is listed, in detail, in the following sections.