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

AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
Statistics Configuration Commands

Statistics Configuration Commands

statistic enable (traffic behavior view)

Function

The statistic enable command enables the traffic statistics function in a traffic behavior.

The undo statistic enable command disables the traffic statistics function in a traffic behavior.

By default, the traffic statistics function in a traffic behavior is disabled.

Format

statistic enable

undo statistic enable

Parameters

None

Views

Traffic behavior view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To view the statistics on a traffic policy, you can use the statistic enable command to enable the statistics function. After the statistics function is enabled, you can use the display traffic policy statistics command to view the statistics.

Follow-up Procedure

Run the traffic policy command to create a traffic policy and run the classifier behavior command in the traffic policy view to bind the traffic classifier to the traffic behavior containing the traffic statistics collection function.

Example

# Enable the statistics function in a traffic behavior test.

<Huawei> system-view
[Huawei] traffic behavior test
[Huawei-behavior-test] statistic enable

statistics enable (QoS profile view)

Function

The statistics enable command enables traffic statistics in a QoS profile.

The undo statistics enable command disables traffic statistics in a QoS profile.

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

Format

statistics enable

undo statistics enable

Parameters

None

Views

QoS profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command collects traffic statistics of successfully authenticated online users. Then the device sends the statistics result to the accounting server, and the accounting server performs accounting based on the statistics result.

Follow-up Procedure

Apply the QoS profile in the AAA service scheme view.

Example

# Enable traffic statistics in the QoS profile huawei.

<Huawei> system-view
[Huawei] qos-profile huawei
[Huawei-qos-profile-huawei] statistics enable
Related Topics
Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 53089

Downloads: 102

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