sflow enable sflow agent-config ipv4-address 10.0.0.254 sflow collector-config ipv4-address 10.0.0.50 6343For each interface:
interface gei_1/1 sflow-sample-rate ingress 1024 sflow-sample-rate egress 1024 exitA previous posting discussed the selection of sampling rates. Additional information can be found on the ZTE web site.
Note: For bi-directional sampling, the ingress and egress sampling rates must be set to the same value since sFlow doesn't support asymmetric sampling on an interface. Ingress only or egress only sampling is supported, so you can disable sampling in either direction. The ZTE documentation doesn't describe how to configure counter polling. Counter export is a required component of the sFlow protocol, so this is either an omission in documentation, or a defect that should be fixed in a future release.
See Trying out sFlow for suggestions on getting started with sFlow monitoring and reporting.