xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
301
sFlow Commands
The sFlow commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
enable sflow
disable sflow
show sflow
create sflow flow_sampler
ports
[<portlist> | all] analyzer_server_id <value 1-4> {rate <value 0-65535> |
maxheadersize <value 18-256>}
config sflow flow_sampler
ports
[<portlist> | all] {rate <value 0-65535> | maxheadersize <value 18-256>}
delete sflow flow_sampler
ports
[<portlist> | all]
show sflow flow_sampler
create sflow counter_poller
ports
[<portlist> | all] analyzer_server_id <value 1-4> {interval [disable | <sec 20-120>]}
config sflow counter_poller
ports
[<portlist> | all] interval [disable | <sec 20-120>]
delete sflow counter_poller
ports
[<portlist> | all]
show sflow counter_poller
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> }
config sflow analyzer_server
< value 1-4 > { timeout [<sec 1-2000000> | infinite] | collectoraddress <ipaddr> |
collectorport <udp_port_number 1-65535> | maxdatagramsize < value 300-
1400> }(1)
delete sflow analyzer_server
< value 1-4 >
show sflow analyzer_server
Each command is listed, in detail, in the following sections.
enable sflow
Purpose
Used to enable the sFlow function.
Syntax
enable sflow
Description
This command enables the sFlow function.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable sflow:
DES-3528:admin# enable sflow
Command: enable sflow
Success.
DES-3528:admin#