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 - Interface Management

CloudEngine 12800 and 12800E V200R003C00

This document describes the interface management configuration, including basic interface configuration, Ethernet interface configuration, and logical interface configuration.

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 Traffic Statistics to Include the IFG and Preamble Statistics

Configuring Traffic Statistics to Include the IFG and Preamble Statistics

Context

You can run the display interface command to check the running status and statistics of an interface. The Last 300 seconds input rate or Last 300 seconds output rate field in the command output indicates the traffic rate in the inbound or outbound direction of the interface within the latest 300 seconds.

  • If you want to obtain the total number of bytes passing through the interface within a certain period, configure traffic statistics to include IFG and preamble statistics. The total number includes the number of bytes in packets and the payload of the preamble and inter-frame gap (IFG). In this case, Interface traffic statistics rate = (Original packet length + IFG + Preamble) x Number of packets passing through the interface every second.
  • If you want to obtain the number of packet bytes passing through the interface within a certain period, configure traffic statistics to exclude IFG and preamble statistics. The number here excludes the payload of the preamble and IFG. In this case, Interface traffic statistics rate = Original packet length x Number of packets passing through the interface every second.

    The IFG has a fixed value of 12 bytes and the preamble has a fixed value of 8 bytes. To adjust the inter-frame gap, run the ifg command.

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

    Interface traffic statistics include the IFG and preamble statistics.

    By default, interface traffic statistics include the IFG and preamble statistics.

  4. Run commit

    The configuration is committed.

Verifying the Configuration

Run the display interface [ interface-type [ interface-number ] ] command in any view or the display this interface command in the interface view to check the current interface status.

Translation
Download
Updated: 2019-05-05

Document ID: EDOC1100004195

Views: 18959

Downloads: 37

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next