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.


S12700 V200R011C10 Configuration Guide - User Access and Authentication

This document describes the working mechanisms, configuration procedures, and configuration examples of User Access and Authentication features, such as AAA, DAA, NAC, PPPoE, Policy Association, and IP session.
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-based Accounting

Configuring Traffic-based Accounting


Traffic-based accounting means that the authentication device collects traffic statistics during a user's online period, and sends statistics result to the accounting server. The accounting server then performs accounting for the user based on traffic statistics result. The accounting server can perform accounting based on traffic statistics result for the users going online through 802.1X, MAC address, Portal, or PPPoE authentication.

After the traffic identification rule and tariff level are configured, the device marks tariff levels on different types of traffic. If a traffic statistics collection policy is configured for a tariff level, the device can collect statistics on the upstream and downstream traffic at this tariff level. If the accounting function is enabled, the device sends an accounting packet carrying the statistics result to the accounting server, and then the accounting server performs accounting.


  1. Run system-view

    The system view is displayed.

  2. Run qos-profile name profile-name

    A QoS profile is created and the QoS profile view is displayed.

    By default, no QoS profile is configured.

  3. Run statistic enable

    Traffic statistics collection is enabled in the QoS profile.

    By default, traffic statistics collection is disabled in a QoS profile.

  4. Run quit

    Return to the system view.

  5. Run aaa

    The AAA view is displayed.

  6. Run domain domain-name

    The domain view is displayed.

    The device has two default domains: default and default_admin. The default domain is used by common access users and the default_admin domain is used by administrators.

  7. Run tariff-level tariff-level { qos-profile profile-name | accounting-on } *

    The QoS profile and accounting function are configured for the tariff level.

    By default, the QoS profile and accounting function are not configured for the tariff level.

Updated: 2019-10-21

Document ID: EDOC1000178117

Views: 117793

Downloads: 55

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