The time-daily command sets a daily online duration quota and a reminder threshold.
The undo time-daily command deletes the configured daily online duration quota and reminder threshold.
By default, no daily online duration quota or reminder threshold is set.
time-daily time-value [ reminder-threshold reminder-threshold-value ]
undo time-daily [ reminder-threshold ]
| Parameter | Description | Value |
|---|---|---|
| time-value | Specifies the quota of the daily Internet access duration. | The value is an integer ranging from 1 to 1439, in minutes. |
| reminder-threshold reminder-threshold-value | Specifies a reminder threshold for the quota usage. | The value is an integer ranging from 1 to 99, in percentages. |
You can run the time-daily command to set a daily online duration quota. After the daily online duration quota of a user reaches 100%, the device pushes a portal page to the user's browser to remind the exhaustion of the daily online duration quota, and the user cannot continue accessing the Internet.
You can also set a reminder threshold for the quota usage. If the daily online duration quota usage reaches the preset reminder threshold, the device pushes a portal page to the user's browser to remind the user of the quota usage.
The Internet access resource quota is individually configured for each user. If the quota control policy involves multiple users or user groups, each user exclusively enjoys this quota.
# Set the daily online duration quota to 500 minutes in quota_profile and set the quota usage reminder threshold to 80%.
<sysname> system-view [sysname] quota-policy [sysname-policy-quota] profile quota_profile [sysname-policy-quota-profile-quota_profile] time-daily 500 reminder-threshold 80