The following commands configure a ZyXEL switch, sampling packets at 1-in-1024, polling counters every 30 seconds and sending sFlow to an analyzer (CCE IP) over UDP using the default sFlow port (6343):
sysname(config)# sflow sysname(config)# sflow collector <CCE IP> udp-port 6343 sysname(config)# interface port-channel 1-24 sysname(config-interface)# sflow collector <CCE IP> poll-interval 30 sampling-rate 1024 sysname(config-interface)# exit sysname(config)# exit