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

Configuration Guide - Network Management and Monitoring

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, LLDP, NQA, Service Diagnosis, Mirroring, Packet Capture, sFlow, and NETCONF.
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).
Calculation of the NetStream Sampling Rate

Calculation of the NetStream Sampling Rate

The NetStream sampling rate is configured by using the netstream sampler random-packets packet-interval { inbound | outbound } command. In the command, packet-interval specifies the NetStream sampling rate.

CE12800&12800E (Configured with FD-X Series Cards) Switches

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

The recommended minimum NetStream sampling rate is calculated as follows:

In this formula:
  • 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 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 x Interface rate x 2

    Here, the interfaces have sampling function configured.

    The interface rate is the rate of the interface.

    For example, when NetStream sampling is configured on four 10GE interfaces in the inbound direction and another six 10GE interfaces in the outbound and inbound directions, and the interface rate reaches the upper limit, the forwarding bandwidth is calculated as follows:

    Forwarding bandwidth = 4 x 10 + 6 x 10 x 2

  • 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 a card is expressed in pps. A card can use the CPU to perform NetStream sampling in non-enhanced mode or performs NetStream sampling in enhanced mode. Different sampling modes require different packet processing capabilities of the card.
    • Non-enhanced mode: The maximum packet processing capability of a card is 10,000 pps. You are advised to use 5000 pps to reduce the impact on the CPU. In this mode, a card uses the CPU for NetStream sampling.

    • Enhanced mode: The packet processing capability of a card is about 1,500,000 pps. You are advised to use 1,500,000 pps. You can run the assign forward enp netstream enable command to enable NetStream sampling in enhanced mode. A card does not use the CPU for NetStream sampling in this mode, which has no impact on the CPU.

NOTE:
  • The following cards support NetStream sampling in enhanced mode: FD-X series cards, CE-L36LQ-FD, CE-L36CQ-FD, CE-L36CQ-FG, CE-L36CQ-FD1, CE-L36CQ-SD, CE-L16CQ-FD, CE-L08CF-FG1, CE-L48XS-FG, CE-L48XS-FD1, CE-L24LQ-FD, or CE-L12CQ-FD.

  • In enhanced mode, when NetStream is configured in outbound and inbound directions on all the interfaces of a card and the interface rate reaches the upper limit, if the calculated NetStream sampling rate is less than 2048, you are advised to set the NetStream sampling rate to at least 2048. In other cases, calculate the NetStream sampling rate according to the formula.

  • The recommended NetStream sampling rate is a power of 2. If the calculated value is not a power of 2, the NetStream sampling rate is suggested to be greater than the calculated value and a power of 2. For example, if the calculated value is 1020, the recommended NetStream sampling rate is 1024. If the configured NetStream sampling rate is lower than the calculated value, the CPU usage may be high, affecting the other services.

CE12800E Switches (Configured with ED-E, EG-E, and EGA-E Series Cards)

The NetStream sampling rate is related to the packet processing capability of a card, number of interfaces with NetStream sampling configured, sampling direction, interface bandwidth, and whether NetStream is used together with other services. When NetStream is used together with Layer 2 and Layer 3 forwarding services, the recommended NetStream sampling rate is 1024. When more services are used together with NetStream, configure a larger NetStream sampling rate.

It is recommended that the number of NetStream-enabled sub-interfaces be less than or equal to 16k. Otherwise, the forwarding capability of the switch will be affected.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 20678

Downloads: 22

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