DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
595
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 Administrators and Operators can issue this command.
Example
To configure the host 10.90.90.90 to be the sFlow analyzer server with the ID 1:
DWS-3160-24PC:admin# config sflow analyzer_server 1 collectoraddress
10.90.90.90
Command: config sflow analyzer_server 1 collectoraddress 10.90.90.90
Success.
DWS-3160-24PC:admin#
64-9
delete sflow_analyzer_server
Description
This command is used to delete a specified analyzer server.
Format
delete sflow analyzer_server <value 1-4>