xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
946
Format
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>}
Parameters
analyzer_server - The ID of analyzer server.
<value 1-4> - Enter the analyzer server ID here.
owner - The entity making use of this sFlow analyzer_server. When owner is set or modified, the
timeout value will become 400 automatically.
<name 16> - Enter the owner name here. This name can be up to 16 characters long.
timeout - (Optional) The seconds to wait before the server is timed out. When the analyzer
server times out, all of the flow_samplers and counter_pollers associated with this analyzer
server will be deleted. The default value is 400 seconds.
<sec 1-2000000> - Enter the time-out value here. This value must be between 1 and 2000000
seconds.
infinite - Indicates the analyzer server never timeout.
collectoraddress - (Optional) The IP address of the analyzer server. If this is set to 0 or not
specified, the IP address is 0 and the entry is not active.
<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. The specified UDP port number can NOT conflict with
other applications.
<udp_port_number 1-65535> - Enter the destination UDP port number here. This value must
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
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To create the analyzer server:
DGS-3120-24TC:admin# create sflow analyzer_server 2 owner monitor timeout
infinite collectoraddress 10.0.0.1 collectorport 65524 maxdatagramsize 300
Command: create sflow analyzer_server 2 owner monitor timeout infinite
collectoraddress 10.0.0.1 collectorport 65524 maxdatagramsize 300
Success.
98-8 config sflow analyzer_server
Description
This command is used to configure the receiver information. You can specify more than one
collector with the same IP address if the UDP port numbers are unique.