< Home

daily-statistic start-hour

Function

The daily-statistic start-hour specifies the start time for the collection of daily traffic quota and daily online duration quota statistics.

The undo daily-statistic start-hour resets the start time to 0 o'clock midnight for the collection of daily traffic quota and daily online duration quota statistics.

Format

daily-statistic start-hour start-hour

undo daily-statistic start-hour

Parameters

Parameter Description Value
start-hour start-hour Start time for the collection of daily traffic quota and daily online duration quota statistics The value is an integer ranging from 0 to 23. The default value is 0.

Views

Quota profile view

Default Level

2: Configuration level

Usage Guidelines

You can configure the start time for the collection of daily traffic quota and daily online duration quota statistics if the statistics are not collected on natural days (for example, from 07:00 on each day to 07:00 on the next day).

Example

# Set the start time for the collection of daily traffic quota and daily online duration quota statistics to 7:00 each day in quota_profile.

<sysname> system-view
[sysname] quota-policy
[sysname-policy-quota] profile quota_profile
[sysname-policy-quota-profile-quota_profile] daily-statistic start-hour 7
Info: To prevent the daily statistics start hour modification from affecting the normal Internet access of users, it is recommended that you reset the daily 
quota statistics of all users who belong to the current policy.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >