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

Reminder

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

upgrade

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 Sampling

Configuring sFlow Sampling

An sFlow agent provides two sampling modes: flow sampling and counter sampling.
  • Flow sampling: An sFlow agent samples packets in a direction on a specified interface based on a sampling rate, encapsulates the analysis result into sFlow packets, and then sends the sFlow packets to an sFlow collector.
  • Counter sampling: An sFlow agent periodically collects traffic statistics on interfaces, processor, and memory, encapsulates collected information into sFlow packets, and sends the sFlow packets to an sFlow collector.

Flow sampling and counter sampling are independent of each other. Flow sampling obtains information about flows of a specified service, whereas counter sampling obtains traffic statistics on an interface.

# Set the flow sampling rate on 10GE1/0/1 to 32768.
<HUAWEI> system-view
[~HUAWEI] interface 10ge/0/1
[~HUAWEI-10GE1/0/1] sflow sampling collector 1 rate 32768 inbound outbound
[*HUAWEI-10GE1/0/1] commit
# Configure counter sampling on 10GE1/0/1 and retain the default sampling interval 20s.
<HUAWEI> system-view
[~HUAWEI] interface 10ge/0/1
[~HUAWEI-10GE1/0/1] sflow counter collector 1
[*HUAWEI-10GE1/0/1] commit
Translation
Download
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 192630

Downloads: 3212

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