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.


Configuration Guide - Network Management and Monitoring

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, RMON2, LLDP, Performance Management, iPCA, NQA, Service Diagnosis, Mirroring, Packet Capture, NetStream, sFlow, TWAMP Light, NETCONF, ECA, Intelligent Video O&M, eMDI, and Network Deception.
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).
NetStream Packet Sampling

NetStream Packet Sampling

Packet sampling takes samples of incoming and outgoing traffic in adjustable intervals so that only the statistics of sampled packets are collected. This reduces the impact of NetStream on device performance and the statistics show the flow status of the entire network.

The switch supports packet-based regular sampling. In this mode, one packet is sampled out of a fixed number of packets. For example, if the number of packets is set to 100 and packet sampling starts from the 5th packet, the 105th packet is sampled and so on. This mode is applicable to accounting based on traffic volume.

Calculation of the NetStream Sampling Ratio

The NetStream sampling ratio is related to the packet processing capability of NetStream, number of interfaces with NetStream sampling configured, sampling direction, interface rate, and average packet length on the network.

The minimum NetStream sampling ratio is calculated as follows:

  • When NetStream sampling is configured only in the outbound or inbound direction, the forwarding bandwidth (in Gbit/s) is calculated as follows:

    Forwarding bandwidth = Number of interfaces with NetStream sampling configured x Interface rate

    When NetStream sampling is configured in both the outbound and inbound directions, the forwarding bandwidth is calculated as follows:

    Forwarding bandwidth = Number of interfaces with NetStream sampling configured x Interface rate x 2

    For example, when NetStream sampling is configured on four XGE interfaces in the inbound direction and on another six XGE interfaces in the outbound and inbound directions, and these interfaces work at the maximum rate, the forwarding bandwidth is 160 (4 x 10 + 6 x 10 x 2) Gbit/s.

  • The average packet length specifies the average length of packets on the network, in bytes.
  • 20 indicates the length of the interframe gap (IFG) and preamble, in bytes.
  • The packet processing capability of NetStream is described as follows.
    • S5720HI: 7.5 Mpps
    • S6720HI: 4.5 Mpps
    • S5730HI: 2.25 Mpps
Updated: 2019-04-20

Document ID: EDOC1100065680

Views: 53234

Downloads: 504

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