Gx-Plus for Provisioning Subscribers Overview
Gx-Plus is a Diameter-based application that extends the capability of the Gx interface. The 3rd Generation Partnership Project (3GPP) defined Gx as the online policy interface between the Policy Control and Charging Rules Function (PCRF) and the Policy and Charging Enforcement Function (PCEF). to provide control over policy and flow-based charges for subscribers. The PCRF is a centralized policy decision point that deploys business policy rules to allocate broadband network resources and manages flow-based charges for subscribers and services.
Gx-Plus is a notification application; it is not used for subscriber admission control. Gx-Plus notifies the PCRF about subscriber login and termination. When Gx-Plus provisioning is configured, subscriber login is not contingent on whether the PCRF responds to the provisioning request or on the content of the received response. Login proceeds regardless.
Gx-Plus exchanges Diameter Credit-Control Application (DCCA) messages with a PCRF residing on a server to request credit authorization and service provisioning for authenticated subscribers. When an application requests AAA to activate a subscriber’s session, the router sends a Credit-Control-Request (CCR) message to determine whether the subscriber has credit for the desired services and to request provisioning of those services from the PCRF policy manager. Subscriber access itself is granted immediately, often even before the CCR message is sent.
The PCRF responds with a Credit-Control-Answer (CCA) message that indicates success or failure for credit authorization. All other message content is ignored. If the subscriber has sufficient credit for the requested services, credit is authorized. If the subscriber has insufficient credit for the services, credit authorization fails. If the Result-Code is not included in the CCA, or if the response times out, then the router interprets this as a provisioning authorization failure and the services are not provided to the subscriber.
When a subscriber client application, such as DHCP, sends a subscriber logout notice to AAA, the router in turn sends a CCR message to the PCRF to request subscriber termination. The PCRF acknowledges the logout with a CCA message.
Different Diameter message types exchanged by Gx-Plus and the PCRF contain different sets of attribute-value pairs (AVPs). If data for an AVP is not available for a request to the PCRF, that AVP is omitted from the message. If the PCRF subsequently has insufficient information to decide on the request, it automatically denies the request.
![]() | Note: An exception to this flexibility exists in Junos OS Release 11.2, where subscribers must have a valid IPv4 address to be presented to the PCRF. This means that Gx-Plus does not generate a request for the PCRF when no IPv4 address or NAS-Port-Id is associated with the subscriber. Gx-Plus sessions are established that correspond to IPv4 DHCP sessions on dual-stack IPv6/IPv4 or IPv4-only subscriber interfaces, depending on the access profile. However, IPv6 information is not communicated to the PCRF. Consequently, Gx-Plus sessions are not established that correspond to DHCPv6 sessions on IPv6-enabled subscriber interfaces and on dual-stack IPv6/IPv4-enabled interfaces. |
Gx-Plus includes the following fault tolerance and recovery capabilities:
- Unlimited retries of unacknowledged provisioning requests
- Unlimited retries of logout requests
- Router event notification
- Router discovery
![]() | Note: More than one Diameter-based application (function) can run on a router simultaneously. |
