xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
1104
Example
To display the sFlow information:
DGS-3620-28PC:admin#show sflow
Command: show sflow
sFlow Version : V5
sFlow Address : 10.90.90.90
sFlow AddressV6: FE80::201:2FF:FE03:400
sFlow State : Enabled
100-4 create sflow analyzer_server
Description
This command is used to create the sFlow flow sampler ports.
Format
create sflow analyzer_server <value 1-4> owner<name 16> {timeout [<sec 1-2000000> |
infinite] | collectoraddress [<ipaddr> | <ipv6addr>] | collectorport <udp_port_number 1-
65535> | maxdatagramsize <value 300-1400>}
Parameters
<value 1-4> - Enter a value between 1 and 4.
owner - Specifies 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 entity making use of this sflow analyzer server. When owner is set or
modified, the timeout value will become 400 automatically.
timeout - (Optional) Specifies the length of time 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. If not specified, its default value is 400. If it is specified as
infinite, the server will never time out.
<sec 1-2000000> - Enter the time out value, in seconds, between 1 and 2000000.
infinite - Specifies to never time out.
collectoraddress - (Optional) Specifies the IP address of the analyzer server.
<ipaddr> - Enter the IP address of the analyzer server. If not specified, the address will be
0.0.0.0, which means that the entry will be inactive.
<ipv6addr> - Enter the IPv6 address of the analyzer server.
collectorport - (Optional) Specifies the destination UDP port for sending the sFlow datagrams.
<udp_port_number 1-65535> - Enter the destination UDP port for sending the sFlow
datagrams. If not specified, the default value is 6343.
maxdatagramsize - (Optional) Specifies the maximum number of data bytes that can be packed
in a single sample datagram.
<value 300-1400> - Enter the maximum number of data bytes that can be packed in a single
sample datagram. If not specified, the default value is 1400.
Restrictions
Only Administrators and Operators can issue this command.