![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg187.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
387
enable sflow
Purpose Used to enable the sFlow function on the switch.
Syntax
enable sflow
Description This command, along with the disable sflow command, is used to enable the sFlow
function on the switch without altering configurations.
Parameters None.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the sFlow function:
DGS-3426:5#enable sflow
Command:enable sflow
Success.
DGS-3426:5#
disable sflow
Purpose Used to disable the sFlow function on the switch.
Syntax
disable sflow
Description This command, along with the enable sflow command, is used to disable the sFlow
function on the switch without altering configurations.
Parameters None.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the sFlow:
DGS-3426:5#disable sflow
Command:disable sflow
Success.
DGS-3426:5#
create sflow analyzer_server
Purpose Used to create the analyzer server for the sFlow functions.
Syntax
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>}
Description This command is used to create the remote sFlow Analyzer (collector) that will be used to
gather and analyze sFlow Datagrams that originate from the Switch. Users must have the
proper sFlow software set on the Analyzer in order to receive datagrams from the switch
to be analyzed, and to analyze these datagrams. Users may specify up to four unique
analyzers to receive datagrams, yet the virtual port used must be unique to each entry.
Parameters
<value 1-4> − Enter a value from 1 to 4 to identify the sFlow server being created here.
owner <name 16> − Enter the owner of the entry made here. The user that added this
sFlow analyzer configures this name.