< Home

statistic enable (QoS profile view)

Function

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

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

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

Format

statistic enable

undo statistic enable

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Parameters

None

Views

QoS profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The statistic enable command collects traffic statistics of successfully authenticated online users.

Precautions

When users connected to the device through an Eth-Trunk go online through Portal authentication, the S5720-EI, S6720-EI, and S6720S-EI cannot provide traffic statistics for the users.

Example

# Enable traffic statistics in the QoS profile huawei.

<HUAWEI> system-view
[HUAWEI] qos-profile name huawei
[HUAWEI-qos-huawei] statistic enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic