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

CLI-based Configuration Guide - Network Management and Monitoring

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

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).
Enabling IP Accounting

Enabling IP Accounting

Context

The router provides common IP accounting and IP precedence accounting:

  • Common IP accounting: collects packet statistics based on source IP addresses, destination IP addresses, protocol numbers, number of packets, number of bytes, and data flow update time. Each data flow is stored as one record in the statistics tables.
  • IP precedence accounting: collects packet statistics based on IP precedences, number of packets, and number of bytes. The packets with the same IP precedence are stored as one record in the statistics tables.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ip accounting { input-packets | output-packets }

    Common IP accounting is enabled on the router.

  4. (Optional) Run ip accounting precedence { input-packets | output-packets }

    IP precedence accounting is enabled on the router.

    NOTE:
    The directions to which common IP accounting and IP precedence accounting apply must be the same.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174072

Views: 101619

Downloads: 335

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