![D-Link xStack DGS-3120-48PC Reference Manual Download Page 637](http://html.mh-extra.com/html/d-link/xstack-dgs-3120-48pc/xstack-dgs-3120-48pc_reference-manual_76212637.webp)
xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
633
Format
config sflow analyzer_server <value 1-4> {timeout [<sec 1-2000000> | infinite] |
collectoraddress <ipaddr> | collectorport <udp_port_number 1-65535> | maxdatagramsize
<value 300-1400>}
Parameters
analyzer_server
- The ID of analyzer server.
<value 1-4>
- Enter the analyzer server ID here. This value must be between 1 and 4.
timeout
- (Optional) The time (in seconds) remaining before the sample is released and stops
sampling. When the analyzer_server times out, all of the flow_samplers and counter_pollers
associated with this analyzer_server will be deleted.
<sec 1-2000000>
- Enter the time-out value here. This value must be between 1 and 2000000
seconds.
infinity
- Indicates the analyzer server never timeout
collectoraddress
- (Optional) The IP address of the server. If not specified or set a 0 address,
sFlow packets will not be sent to this server.
<ipaddr>
- Enter the IP address used for the configuration here.
collectorport
- (Optional) The destination UDP port for sending the sFlow datagram. If not
specified, the default value is 6364
<udp_port_number 1-65535>
- Enter the destination port number here. This value must be
between 1 and 65535.
maxdatagramsize
- (Optional) The maximum number of data bytes that can be packed in a
single sample datagram. If not specified, the default value is 1400 bytes.
<value 300-1400>
- Enter the maximum datagram size here. This value must be between 300
and 1400.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
Configure the host 10.90.90.90 to be the sFlow analyzer server with the ID 1:
DGS-3120-24TC:admin# config sflow analyzer_server 1 collectoraddress
10.90.90.90
Command: config sflow analyzer_server 1 collectoraddress 10.90.90.90
Success.
DGS-3120-24TC:admin#
69-9
delete sflow_analyzer_server
Description
This command is used to delete a specified analyzer server.
Format
delete sflow analyzer_server <value 1-4>