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

S12700 V200R010C00 Configuration Guide - Interface Management

This document describes the principles and configurations of interfaces and provides configuration examples.
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 the Device to Count the IFG and Preamble Traffic Statistics

Configuring the Device to Count the IFG and Preamble Traffic Statistics

Context

You can run the display interface command to view the running status and traffic statistics on an interface. The Last 300 seconds input rate or Last 300 seconds output rate field in the command output indicates the inbound or outbound traffic rate on the interface in the last 300 seconds.

  • If you want to obtain the total number of bytes passing through an interface in a period, configure the device to count the bytes in the interframe gap (IFG) and preamble when collecting traffic statistics on the interface. The interface traffic rate is as follows:

    Interface traffic rate = (Original packet length + IFG + Preamble) x Number of packets passing through the interface every second

  • If you want to obtain only the number of packet bytes passing through an interface in a period, configure the device not to count the bytes in the IFG and preamble when collecting traffic statistics on the interface. The interface traffic rate is as follows:

    Interface traffic rate = Original packet length x Number of packets passing through the interface every second

    By default, the IFG has a fixed value of 12 bytes and the preamble has a fixed value of 8 bytes. You can run the ifg command to configure the IFG.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Run:

    set flow-statistics include-interframe

    The device is configured to count the bytes in the IFG and preamble when collecting traffic statistics on the interface.

    By default, traffic statistics on an interface contain the IFG and preamble.

Translation
Download
Updated: 2019-04-18

Document ID: EDOC1000142085

Views: 20786

Downloads: 69

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