xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
388
create sflow analyzer_server
timeout <sec 1-2000000> − Used to specify the timeout for the Analyzer server. When
the server times out, all sFlow samples and counter polls associated with this server will
be deleted. The user may set a time between 1 and 2000000 seconds with a default
setting of 400 seconds. If it is specified as infinite, the server will never timeout.
collectoraddress <ipaddr> − The IP address of the sFlow Analyzer Server. If this field is
not specified, the entry will become 0.0.0.0 and therefore the entry will be inactive. Users
must set this field.
collectorport <udp_port_number 1-65535> − The destination UDP port where sFlow
datagrams will be sent. The default setting for this field is 6343. Only one Analyzer Server
address can be set for one UDP Collector Port.
maxdatagramsize <value 300-1400> − This field will specify the maximum number of
data bytes that can be packaged into a single sFlow datagram. Users may select a value
between 300 and 1400 bytes with a default setting of 1400 bytes.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To create the sFlow server:
DGS-3426:5#create sflow analyzer_server 1 owner monitor
Command: create sflow analyzer_server 1 owner monitor
Success.
DGS-3426:5#
config sflow analyzer_server
Purpose Used to configure the analyzer server for the sFlow functions.
Syntax
config sflow analyzer_server <value 1-4> {timeout [<sec 1-2000000 | infinite]
collectoraddress <ipaddr> | collectorport <udp_port_number 1-65535> |
maxdatagramsize <value 300-1400>} (1)
Description This command is used to configure the settings for 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 configured
here.
timeout <sec 1-2000000> − Used to specify the timeout for the Analyzer server. When the
server times out, all sFlow samples and counter polls associated with this server will be
deleted. The user may set a time between 1 and 2000000 seconds with a default setting
of 400 seconds. If specified as infinite, the server will never timeout.
collectoraddress <ipaddr> − The IP address of the sFlow Analyzer Server. If this field is
not specified, the entry will become 0.0.0.0 and therefore the entry will be inactive. Users
must set this field.
collectorport <udp_port_number 1-65535> − The destination UDP port where sFlow
datagrams will be sent. The default setting for this field is 6343. Only one Analyzer Server
address can be set for one UDP Collector Port.
maxdatagramsize <value 300-1400> − This field will specify the maximum number of data
bytes that can be packaged into a single sFlow datagram. Users may select a value
between 300 to 1400 bytes with a default setting of 1400 bytes.
Restrictions Only Administrator and Operator-level users can issue this command.