The sFlow commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters).
- enable sflow
disable sflow
create sflow analyzer_server <value 1-4> owner <name 16> {timeout [<sec 1-2000000 | infinite] collectoraddress <NetFlow-Auditor-ipaddr> | collectorport <udp_port_number 1-65535> | maxdatagramsize <value 300-1400>}
note: udp_port_number can be 1-65535. Use 6343 for easy CySight default setup
config sflow analyzer_server <value 1-4> {timeout [<sec 1-2000000 | infinite] collectoraddress <NetFlow-Auditor-ipaddr> | collectorPort <udp_port_number 6343> | maxdatagramsize <value 300-1400>}
delete sflow analyzer_server <value 1-4>
show sflow analyzer_server
create sflow counter_poller ports [<portlist> | all] analyzer_server_id <value 1-4> {internal [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 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
show sflow