< Home

stream-monthly

Function

The stream-monthly command sets a monthly traffic quota and a reminder threshold.

The undo stream-monthly command deletes the configured monthly traffic quota and reminder threshold.

By default, no monthly traffic quota or reminder threshold is set.

Format

stream-monthly stream-value [ reminder-threshold reminder-threshold-value ]

undo stream-monthly [ reminder-threshold ]

Parameters

Parameter Description Value
stream-value Specifies the monthly traffic quota. The value is an integer ranging from 1 to 300000, in MBytes.
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.

Views

Quota profile view

Default Level

2: Configuration level

Usage Guidelines

You can run the stream-monthly command to set a monthly traffic quota. After the monthly traffic quota of a user reaches 100%, the device pushes a portal page to the user's browser to remind the exhaustion of the monthly traffic quota, and the user cannot continue accessing the Internet.

You can also set a reminder threshold for the quota usage. If the monthly traffic 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.

The monthly traffic quota set in a quota channel cannot be smaller than the daily traffic quota set in the same channel.

In the usage of the undo stream-monthly command, note that:
  • To delete the configured quota usage reminder threshold, run the undo stream-monthly reminder-threshold command.
  • To delete the configured monthly traffic quota, run the undo stream-monthly command. Note that the quota usage reminder threshold will be deleted as well.

Example

# Set the monthly traffic quota to 3000 MB 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] stream-monthly 3000 reminder-threshold 80
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >