BOD Service Quota Management

BOD services support a duration quota, a traffic volume quota, or a combination of duration and traffic volume quotas. If both duration and traffic volume quotas are delivered, they take effect together. An action is triggered if either of the quotas is exhausted. When the RADIUS or Diameter server delivers a new quota, BOD services use the new quota; when the RADIUS server delivers zero quotas, BOD services go offline; when the RADIUS server does not deliver a quota, the BRAS determines whether to log out BOD services based on the configuration. By default, BOD services remain online.

After a user goes online, the RADIUS server uses a CoA message to deliver Huawei No. 95 attribute carrying a BOD service policy name. The standard No. 27 attribute is used to deliver a duration quota, and Huawei No. 15 attribute is used to deliver a traffic volume quota. The BRAS uses a CCR-I message (Diameter protocol) to notify the server that the user goes online. The Diameter server returns a CCA-I message carrying the service that the user subscribed to and a service quota.

After a BOD service goes online successfully, the process for quota exhaustion is as follows:

Action after quota exhaustion

Procedure

A new quota is delivered after quota exhaustion.

  1. When a user's quota is exhausted, the BRAS sends a real-time accounting request to the RADIUS server. The BRAS sends a CCR-U request to the Diameter server.
  2. The RADIUS or Diameter server delivers a new quota to the BRAS, and the user continues to use the new quota.

Zero quotas are delivered after quota exhaustion.

  1. When a user's quota is exhausted, the BRAS sends a real-time accounting request to the RADIUS server. The BRAS sends a CCR-U request to the Diameter server.
  2. The RADIUS server delivers zero quotas to the BRAS. The Diameter server responds to the BRAS with a CCA-T message carrying zero quotas.
  3. The service goes offline, and the BRAS sends an accounting stop request to the RADIUS server. The BRAS sends a CCR-T request to the Diameter server.
  4. The RADIUS server sends an accounting stop response to the BRAS. The Diameter server sends a CCA-T response to the BRAS.

No quota is delivered after quota exhaustion.

  1. When a user's quota is exhausted, the BRAS sends a real-time accounting request to the RADIUS server. The BRAS sends a CCR-U request to the Diameter server.
  2. The RADIUS or Diameter server does not deliver a quota, and the BRAS determines whether to log out the service based on the configuration. By default, the service remains online.
  3. If the service is configured to go offline, the BRAS sends an accounting stop request to the RADIUS server. The BRAS sends a CCR-T request to the Diameter server.
  4. The RADIUS server sends an accounting stop response to the BRAS. The Diameter server sends a CCA-T response to the BRAS.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >