No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring sFlow Agent and sFlow Collector

Configuring sFlow Agent and sFlow Collector

The Sampled Flow (sFlow) system involves an sFlow agent embedded in a Huawei switch and a remote sFlow collector. The sFlow agent obtains traffic statistics from an interface using sampling and encapsulates them into sFlow packets. The collector analyzes the sFlow packets received from the agent and displays traffic statistics in a report.

# Set the IP addresses of an sFlow agent and collector to and respectively, and set the sFlow packet sending mode to enhanced. Retain the default packet length 1400.
<HUAWEI> system-view
[~HUAWEI] sflow agent ip
[*HUAWEI] sflow collector 1 ip enhanced
[*HUAWEI] commit

The enhanced mode is supported by only CE12800. In V100R005C10 and V100R005C00 versions, the enhanced mode is recommended when the collector is located on the network connected to a service port. In the enhanced mode, the switch sends sFlow packets to the collector through service cards. In V100R006C00 and later versions, you do not need to configure the enhanced mode. The switch will determine to send sFlow packets through service cards or management port based on the routing information on the collector.

In the enhanced mode, the switch cannot send sFlow packets through the management port.

Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 192645

Downloads: 3212

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next