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 NetStream Original Flow Statistics Exporting

Configuring NetStream Original Flow Statistics Exporting

NetStream collects packet statistics based on flows. After sampling packets, the NetStream module analyzes the sampled packets and creates flows based on key information in packets. The switch stores flows in the buffer and exports statistics about the aging flows to the specified NetStream server. Exporting original flow statistics means that the switch directly exports the flows generated based on key information in packets to a NetStream server. Then the NetStream server obtains details about each flow.

Original flow statistics include IPv4 and IPv6 original flow statistics. This section describes how to export IPv4 original flow statistics.

# Configure NetStream sampling for the incoming and outgoing traffic on 10GE1/0/1 and set the sampling interval to 8192.
<HUAWEI> system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] netstream sampler random-packets 8192 inbound
[*HUAWEI-10GE1/0/1] netstream sampler random-packets 8192 outbound
[*HUAWEI-10GE1/0/1] quit
[*HUAWEI] commit
# Set the NetStream inactive aging time to 100 seconds. The default active aging time is 30 minutes.
[~HUAWEI] netstream timeout ip inactive 100
[*HUAWEI] commit
# Set the source IP address of the exported packets carrying original flow statistics to, destination IP address to, and destination port number to 6000.
[~HUAWEI] netstream export ip source
[*HUAWEI] netstream export ip host 6000
[*HUAWEI] commit
# Enable NetStream original flow statistics collection on 10GE1/0/1.
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] netstream outbound ip
[*HUAWEI-10GE1/0/1] netstream inbound ip
[*HUAWEI-10GE1/0/1] quit
[*HUAWEI] commit
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 192624

Downloads: 3212

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