< Home

statistic enable (AAA domain view)

Function

The statistic enable command enables traffic statistics collection for domain users.

The undo statistic enable command disables traffic statistics collection for domain users.

By default, traffic statistics collection is disabled for domain users.

Format

statistic enable

undo statistic enable

Parameters

None

Views

AAA domain view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To implement traffic-based accounting, you can use this command to enable traffic statistics collection for a domain. Then the device collects traffic statistics for the users in the domain. If an accounting server is configured, the device sends traffic statistics to the accounting server through accounting packets so that the server performs accounting for the users based on traffic statistics.

After this function is enabled, the FW reports traffic statistics about IPSec VPN access users and L2TP VPN access users to the RADIUS server, so that the server can charge the users according to their traffic statistics. Traffic statistics can be reported only to the RADIUS server.After this function is enabled, the FW reports traffic statistics about IPSec VPN access users and L2TP VPN access users to the RADIUS server, so that the server can charge the users according to their traffic statistics. Traffic statistics can be reported only to the RADIUS server.

All models except USG6635E/6655E, USG6680E and USG6712E/6716E support this command.

Follow-up Procedure

Run the display access-user command to view traffic statistics of users.

Example

# Enable traffic statistics collection for domain users.

<sysname> system-view
[sysname] aaa
[sysname-aaa] domain huawei
[sysname-aaa-domain-huawei] statistic enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >