threshold(Prepaid profile view)

Function

The threshold command configures the threshold that determines when the pre-paid service sends the application for quotas.

The undo threshold cancels the configuration.

By default, the threshold is 0 for either time or volume.

This command is supported only on the NetEngine 8000 F1A.

Format

threshold { time time-threshold seconds | volume volume-threshold { kbytes | mbytes | bytes } }

undo threshold { time [ time-threshold seconds ] | volume [ volume-threshold { kbytes | mbytes | bytes } ] }

Parameters

Parameter Description Value
time time-threshold

Use a certain period of time as the threshold.

The value is an integer that ranges from 0 to 4294967295.

seconds

Configure the unit to be second.

-

volume volume-threshold

Use a certain quantity of volume as the threshold.

The value is an integer that ranges from 0 to 4294967295. The default value is 0.

kbytes

Configure the unit to be Kbyte.

-

mbytes

Configure the unit to be Mbyte.

-

bytes

Configure the unit to be Byte.

-

Views

Prepaid profile view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vas write

Usage Guidelines

Usage Scenario

This command can avoid the quotas from leaking out since a service still possesses the quotas during the time it is sending the application for more quotas to the server. With this command, the service can deliver the application for time or traffic quotas beforehand.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Create a pre-paid-profile template named test and configure the time threshold as 10s.
<HUAWEI> system-view
[~HUAWEI] prepaid-profile test
[~HUAWEI-prepaid-profile-test] threshold time 10 seconds
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >