xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
524
DGS-3450:admin# create sflow analyzer_server 2 owner monitor timeout infinite collect
oraddress 10.0.0.1 collectorport 65524 maxdatagramsize 300
Command: create sflow analyzer_server 2 owner monitor timeout infinite collector
address 10.0.0.1 collectorport 65524 maxdatagramsize 300
Success.
DGS-3450:admin#
config sflow analyzer_server
Purpose
Used to config the analyzer server information.
Syntax
config sflow analyzer_server <value 1-4> {timeout [<sec 1-2000000 > | infinity] |
collectoraddress [ <ipaddr> | <ipv6addr>] | collectorport <udp_port_number 1-65535>
| maxdatagramsize < value 300-1400 >}(1)
Description
Configures the receiver information. You can specify more than one collector with the same
IP address if the UDP port numbers are unique.
Parameters
timeout
- 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.
collectoraddress
- The IP address of the server.
If not specified or set a 0 address, sFlow packets will not be sent to this server.
collectorport
- The destination port for sending sFlow datagrams
maxdatagramsize
- The maximum number of data bytes that can be packed in a single
sample datagram.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
Configure the sFlow analyzer server to be 10.90.90.90:
DGS-3450:admin# config sflow analyzer_server 1 collectoraddress 10.90.90.90
Command: config sflow analyzer_server 1 collectoraddress 10.90.90.90
Success.
DGS-3450:admin#
delete sflow_analyzer_server
Purpose
Used to delete the analyzer_server.
Syntax
delete sflow analyzer_server < value 1-4 >
Description
Used to delete the analyzer_server.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To delete the analyzer_server: