##### IP traffic service link

Service link of this type has the same parameters as the periodic service link (see Periodic service link) plus the following specific parameters:

- Decrease prepaid traffic on creation flag enables the recalculation of prepaid traffic volume granted in the starting period according to the actual portion of the period during which the service has been provided, in a manner similar to the recalculation of periodic fee (see above).

- Decrease prepaid traffic enables similar recalculation in subsequent accounting periods to consider the time spent in blocking.

| When upgrading from earlier version of UTM (5.2.1-008 or earlier), the Decrease prepaid traffic flag from the account properties (see User account) is transferred here.

When editing an existing IP traffic service link, the Decrease prepaid traffic on creation flag is absent, and a disabled flag Prepaid traffic was recalculated is added instead to show whether a recalculation has already happened in the current period. If the account is blocked, the current type of recalculation is also displayed. The precise moment when the new (edited) recalculation type is to be applied depends on the options:

- If a recalculation has already happened, it is at the end of the current period;
- If no recalculation took place yet and the account is blocked, it is at the end of the current blocking;
- If no recalculation took place yet and the account is not blocked, it is immediately.

- IP groups that define the user’s networks. Traffic identification for further evaluation is based on the IP group parameters together with NetFlow records.

If the user is linked with a building, the first available address from the zone associated with this building stands for network address.

An IP group has the following parameters:

- IP settings tab:

- IP is the IP address and mask of the group’s network.
  - Quotas that determine upper limit of traffic to consume. Once the limit is exceeded, the user gets blocked till the end of period. Quotas may be set for different traffic classes separately. In this case each of them is equally capable of triggering the user’s blocking.

  If the end date of an accounting period gets changed while a user stays blocked by quota, the end date of blocking does not change with it.

  Parameters of the service itself are described in IP traffic service.

  After adding an IP traffic service link, one can set up additional RADIUS parameters on the Service links page. Choose a service link which you want to set up the additional RADIUS parameters for and press the button. A additional RADIUS parameters window will open. One can also add additional attributes to Dialup and Telephony service links.

  Press to add prepaid traffic. In the popup window choose a traffic class and press . Enter the desired amount of traffic and press .

  | Adding prepaid traffic is only possible when the prepaid traffic has not been consumed yet. When the prepaid traffic is consumed, one cannot add prepaid traffic any more.