The following commands configure a ZyXEL switch, sampling packets at 1-in-1024, polling counters every 30 seconds and sending sFlow to an analyzer (10.0.0.50) over UDP using the default sFlow port (6343):
See Trying out sFlow for suggestions on getting started with sFlow monitoring and reporting.
sysname(config)# sflowA previous posting discussed the selection of sampling rates. Additional information can be found on the ZyXEL web site.
sysname(config)# sflow collector 10.0.0.50 udp-port 6343
sysname(config)# interface port-channel 1-24
sysname(config-interface)# sflow collector 10.0.0.50 poll-interval 30 sampling-rate 1024
sysname(config-interface)# exit
sysname(config)# exit
See Trying out sFlow for suggestions on getting started with sFlow monitoring and reporting.