grant total volume to Min of # bytes and # percent used for select quota using monitoring key

Syntax

grant volume-type volume to extrema of number bytes and percent percent for quota-type using mon-key

Parameters

volume-type
One of the following:
  • total (default)
  • uplink
  • downlink
extrema
One of the following:
  • Min (default)—Specifies that the calculation sets the minimum level for the quota.
  • Max—Specifies that the calculation sets the maximum level for the quota.
number
A numeric value.
percent
An integer value between 0 and 100.
quota-type
One of the following:
  • used (default)—Calculates the quota to grant by subtracting the specified amount in bytes from the initial quota limit minus the quota used so far.
  • initial—Calculates the quota to grant by subtracting the specified amount in bytes from the initial quota limit.
quota-name
Name(s) of quota defined in the CMP database.
mon-key
Name(s) of a monitoring key in the CMP database.

Description

Grants a user the specified service-specific units for the requested service. See Managing Quotas for information on quotas.

Example

where the user is using less than 100 percent of total volume for DATA_Plan quota
grant total volume to Min of 20M bytes and 100 percent used for DATA_Plan using SESS
continue processing message