D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
621
82
SFLOW COMMANDS
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
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>
config sflow flow_sampler ports [<portlist> | all] {rate <value 0-65535> | tx_rate <value 0-65535> |
maxheadersize < value 18-256 >}(1)
delete sflow flow_sampler ports [<portlist> | all]
create sflow counter_poller ports [<portlist> | all] analyzer_server_id < value 1-4> {interval [ disable | <sec
20-120>]}
config sflow counter_poller ports [<portlist> | all] interval [disable | <sec 20-120>]
delete sflow counter_poller ports [<portlist> | all]
create sflow analyzer_server < value 1-4 > owner<name 16> {timeout [<sec 1-2000000> | infinite] |
collectoraddress [<ipaddr> | <ipv6addr>] | collectorport <udp_port_number 1-
65535> | maxdatagramsize < value m-n>}
config sflow analyzer_server < value 1-4 > {timeout [<sec 1-2000000 > | infinity] | collectoraddress [ <ipaddr>
| <ipv6addr>] | collectorport <udp_port_number 1-65535> | maxdatagramsize <
value 300-1400 >}(1)
delete sflow analyzer_server < value 1-4 >
enable sflow
disable sflow
show sflow
show sflow flow_sampler
show sflow counter_poller
show sflow analyzer_server
Each command is listed, in detail, in the following sections.
create sflow flow_sampler
Purpose Used to create the sFlow flow_sampler.