> Gx Interface Support
> This chapter provides information on configuring Gx interface to support policy and charging control for subscribers in GPRS/UMTS networks.
> The IMS service provides application support for transport of voice, video, and data independent of access support. Roaming IMS subscribers in GPRS/UMTS networks require apart from other functionality sufficient, uninterrupted, consistent, and seamless user experience during an application session. It is also important that a subscriber gets charged only for the resources consumed by the particular IMS application used.
> It is recommended that before using the procedures in this chapter you select the configuration example that best meets your service model, and configure the required elements for that model as described in the Gateway GPRS Support Node Administration Guide or the IP Services Gateway Administration Guide.
> Important: The IMS Authorization Service feature described in this chapter is only available if you have purchased and installed a Dynamic Policy Interface feature license on the chassis. If you have not previously purchased this enhanced feature, contact your sales representative for more information.
> The following topics are covered in this chapter:

> • | Rel. 6 Gx Interface

> • | Rel. 7 Gx Interface

> Rel. 6 Gx Interface
> Important: The Rel 6. Gx functionality is supported on StarOS 8.0 and later.
> This section describes the following topics:

> • | Introduction

> • | Licensing

> • | Supported Standards

> • | Supported Networks and Platforms

> • | How it Works

> • | Configuring Rel. 6 Gx Interface

> • | Saving the Configuration

> Introduction
> In GPRS/UMTS networks, the client functionality lies with the GGSN/IPSG, therefore in the IMS authorization scenario it is also called Access Gateway (AGW).
> The provisioning of charging rules that are based on the dynamic analysis of flows used for the IMS session is carried out over the Gx interface. In 3GPP, Rel. 6 the Gx is an interface between Access Gateway functioning as Traffic Plane Function (TPF) and the Charging Rule Function (CRF). It is based on the Diameter base protocol (DIABASE) and the Diameter Credit Control Application (DCCA) standard. The GGSN/TPF acts as the client where as the CRF contains the Diameter server functionality.
> The AGW is required to perform query, in reply to which the servers provision certain policy or rules that are enforced at the AGW for that particular subscriber session. The CRF analyzes the IP flow data, which in turn has been retrieved from the Session Description Protocol (SDP) data exchanged during IMS session establishment.
> Important: In addition to standard Gx interface functionality, the Gx interface implemented here provides support of SBLP with additional AVPs in custom DPCA dictionaries. For more information on customer-specific support contact your local technical support representative. In view of required flow bandwidth and QoS, the system provides enhanced support for use of Service Based Local Policy (SBLP) to provision and control the resources used by the IMS subscriber. SBLP is based on the dynamic parameters such as the media/traffic flows for data transport, network conditions and static parameters, such as subscriber configuration and category. It also provides Flow-based Charging (FBC) mechanism to charge the subscriber dynamically based on content usage. With this additional functionality, the Cisco Systems Gateway can act as an Enhanced Policy Decision Function (E-PDF).
> Licensing
> This feature requires the following license to be installed on the chassis:
> [ 600-00-7585 ] Dynamic Policy Interface — license for IMS Authorization Service feature
> Supported Standards
> The Rel 6. Gx interface support is based on the following standards and request for comments (RFCs):

> • | 3GPP TS 29.210, Charging rule provisioning over Gx interface

> • | RFC 3588, Diameter Base Protocol; September 2003

> • | RFC 4006, Diameter Credit-Control Application; August 2005

> In addition to the above RFCs and standards, IMS Authorization partially supports 3GPP TS 29.212 for Policy and Charging Control over Gx reference point functionality.
> Supported Networks and Platforms
> This feature is supported on all ASR 5000 Series Platforms with StarOS Release 8.0 or later running GGSN service for the core network services.
> How it Works
> This section describes the IMS authorization and dynamic policy support in GPRS/UMTS networks.
> The following figure and table explain the IMS authorization process between a system and IMS components that is initiated by the MN.
> In the case of GGSN, the DPCA is the Gx interface to the Control and Charging Rule Function (CRF). In this context CRF will act as Enhanced Policy Decision Function (E-PDF). The CRF may reside in Proxy-Call Session Control Function (P-CSCF) or on stand-alone system.
> The interface between IMSA with CRF is the Gx interface, and between Session Manager and Online Charging Service (OCS) is the Gy interface.
> Note that the IMS Authorization (IMSA) service and Diameter Policy Control Application (DPCA) are part of Session Manager on the system, and separated in the following figure for illustration purpose only.
> Rel. 6 Gx IMS Authorization Call Flow
> Rel. 6 Gx IMS Authorization Call flow Description

> <X-Refs (online)>step <$paranum> | Description
> 1 | IMS subscriber (MN) sends request for primary PDP context activation/creation.
> 2 | Session manager allocates IP address to MN.
> 3 | Session manager sends IMS authorization request to IMS Authorization service (IMSA).
> 4 | IMSA creates a session with the CRF on the basis of CRF configuration.
> 5 | IMSA sends request to DPCA module to issue the authorization request to selected CRF.
> 6 | DPCA sends a CCR-initial message to the selected CRF. This message includes the IP address allocated to MN.
> 7 | CCA message sent to DPCA. If a preconfigured rule set for the PDP context is provided in CRF, it sends that charging rules to DPCA in CCA message.
> 8 | DPCA module calls the callback function registered with it by IMSA.
> 9 | After processing the charging rules, IMSA sends Policy Authorization Complete message to session manager.
> 10 | The rules received in CCA message are used for dynamic rule configuration structure and session manager sends the message to ECS.
> 11 | ECS installs the rules and performs credit authorization by sending CCR-Initial to Online Charging System (OCS) with CC-Request-Type set to INITIAL_REQUEST to open the credit control session. This request includes the active rule base ID and 3GPP specific attributes (e.g. APN, QoS etc.).
> 12 | OCS returns a CCA-Initial message to activate the statically configured rulebase and includes pre-emptive credit quotas.
> 13 | ECS responds to session manager with the response message for dynamic rule configuration.
> 14 | On the basis of response for the PDP context authorization, Session Manager sends the response to the MN and activates/rejects the call.

> ‌
> Configuring Rel. 6 Gx Interface
> To configure Rel. 6 Gx interface functionality:

> Step 1 | Configure the IMS Authorization Service at the context level for an IMS subscriber in GPRS/UMTS network as described in the Configuring IMS Authorization Service at Context Level section.

> Step 2 | Verify your configuration, as described in the Verifying IMS Authorization Service Configuration section.

> Step 3 | Configure an APN within the same context to use the IMS Authorization service for an IMS subscriber as described in the Applying IMS Authorization Service to an APN section.

> Step 4 | Verify your configuration as described in the Verifying Subscriber Configuration section.

> Step 5 | Save your configuration as described in the Verifying and Saving Your Configuration chapter.

> Important: Commands used in the configuration examples in this section provide base functionality to the extent that the most common or likely commands and/or keyword options are presented. In many cases, other optional commands and/or keyword options are available. Refer to the Command Line Interface Reference for complete information regarding all commands.
> Configuring IMS Authorization Service at Context Level
> Use the following example to configure IMS Authorization Service at context level for IMS subscribers in GPRS/UMTS networks:
> configure
> context <context_name>
> ims-auth-service <ims_auth_service>
> p-cscf table { 1 | 2 } row-precedence <precedence_value> { address <ip_address> | ipv6-address <ipv6_address> }
> p-cscf discovery { table { 1 | 2 } [ algorithm { ip-address-modulus | msisdn-modulus | round-robin } ] | diameter-configured }
> policy-control
> diameter origin endpoint <endpoint_name>
> diameter dictionary <dictionary>
> failure-handling cc-request-type { any-request | initial-request | terminate-request | update-request } { diameter-result-code { any-error | <result_code> [ to <end_result_code> ] } } { continue | retry-and-terminate | terminate }
> diameter host-select row-precedence <precedence_value> table { 1 | 2 } host <host_name> [ realm <realm_name> ] [ secondary host <host_name> [ realm <realm_name> ] ]
> diameter host-select reselect subscriber-limit <subscriber_limit> time-interval <duration>
> diameter host-select table { 1 | 2 } algorithm { ip-address-modulus | msisdn-modulus | round-robin }
> end
> Notes:

> • | <context_name> must be the name of the context where you want to enable IMS Authorization Service.

> • | <ims_auth_service> must be the name of the IMS Authorization Service to be configured for the Gx interface authentication.

> • | A maximum of 16 authorization services can be configured globally in a system. There is also a system limit for maximum number of total configured services.

> • | Secondary P-CSCF IP address can be configured in the P-CSCF table. Refer to the Command Line Interface Reference for more information on the p-cscf table command.

> • | To enable Rel. 6 Gx interface support, specific Diameter dictionary must be configured. For information on the Diameter dictionary to use, please contact your local service representative.

> • | Option: To configure the quality of service (QoS) update timeout for a subscriber, in the IMS Authorization Service Configuration Mode, enter the following command:

> qos-update-timeout <timeout_duration>

> • | Option: To configure signalling restrictions, in the IMS Authorization Service Configuration Mode, enter the following commands:

> signaling-flag { deny | permit }
> signaling-flow permit server-address <ip_address> [ server-port { <port_number> | range <start_number> to <end_number> } ] [ description <string> ]

> • | Option: To configure action on packets that do not match any policy gates in the general purpose PDP context, in the IMS Authorization Service Configuration Mode, enter the following command:

> traffic-policy general-pdp-context no-matching-gates direction { downlink | uplink } { forward | discard }

> • | Option: To configure the algorithm to select Diameter host table, in the Policy Control Configuration Mode, enter the following command:

> diameter host-select table { 1 | 2 } algorithm { ip-address-modulus | msisdn-modulus | round-robin }
> Verifying IMS Authorization Service Configuration
> To verify the IMS Authorization Service configuration:

> Step 1 | Change to the context where you enabled IMS Authorization Service by entering the following command:

> context <context_name>

> Step 2 | Verify the IMS Authorization Service’s configurations by entering the following command:

> show ims-authorization service name <ims_auth_service>
> Applying IMS Authorization Service to an APN
> After configuring IMS Authorization service at the context-level, an APN within the same context must be configured to use the IMS Authorization service for an IMS subscriber.
> Use the following example to apply IMS Authorization service functionality to a previously configured APN within the context configured in the Configuring IMS Authorization Service section.
> configure
> context <context_name>
> apn <apn_name>
> ims-auth-service <ims_auth_service>
> end
> Notes:

> • | <context_name> must be the name of the context in which the IMS Authorization service was configured.

> • | <ims_auth_service> must be the name of the IMS Authorization Service configured for IMS authentication in the context.

> Verifying Subscriber Configuration
> Verify the IMS Authorization Service configuration for subscriber(s) by entering the following command:
> show subscribers ims-auth-service <ims_auth_service>
> <ims_auth_service> must be the name of the IMS Authorization Service configured for IMS authentication.
> Saving the Configuration
> To save changes made to the system configuration, refer to the Verifying and Saving Your Configuration chapter.
> Rel. 7 Gx Interface
> Important: The Rel 7. Gx functionality is supported only on StarOS 8.1 and StarOS 9.0 and later.
> This section describes the following topics:

> • | Introduction

> • | Supported Networks and Platforms

> • | Licensing

> • | Supported Standards

> • | Terminology and Definitions

> • | How it Works

> • | Configuring Rel. 7 Gx Interface

> • | Saving the Configuration

> • | Gathering Statistics

> Introduction
> For IMS deployment in GPRS/UMTS networks the system uses Rel. 7 Gx interface for policy-based admission control support and flow-based charging. The Rel. 7 Gx interface supports enforcing policy control features like gating, bandwidth limiting, etc., and also supports flow-based charging. This is accomplished via dynamically provisioned Policy Control and Charging (PCC) rules. These PCC rules are used to identify Service Data Flows (SDF) and do charging. Other parameters associated with the rules are used to enforce policy control.
> The PCC architecture allows operators to perform service-based QoS policy, and flow-based charging control. In the PCC architecture, this is accomplished mainly by the Policy and Charging Enforcement Function (PCEF)/Cisco Systems GGSN and the Policy and Charging Rules Function (PCRF).
> In GPRS/UMTS networks, the client functionality lies with the GGSN, therefore in the IMS authorization scenario it is also called the Gateway. In the following figure, Gateway is the Cisco Systems GGSN, and the PCEF function is provided by Enhanced Charging Service (ECS). The Rel 7. Gx interface is implemented as a Diameter connection. The Gx messages mostly involve installing/modifying/removing dynamic rules and activating/deactivating predefined rules.
> The Rel. 7 Gx reference point is located between the Gateway and the PCRF. This reference point is used for provisioning and removal of PCC rules from the PCRF to the Gateway, and the transmission of traffic plane events from the Gateway to the PCRF. The Gx reference point can be used for charging control, policy control, or both by applying AVPs relevant to the application. The following figure shows the reference points between various elements involved in the policy and charging architecture.
> PCC Logical Architecture
> Within the Gateway, the IMSA and DPCA modules handle the Gx protocol related functions (at the SessMgr) and the policy enforcement and charging happens at ECS. The Gy protocol related functions are handled within the DCCA module (at the ECS). The following figure shows the interaction between components within the Gateway.
> PCC Architecture within Cisco PCEF
> Supported Networks and Platforms
> This feature is supported on all ASR 5000 Series Platforms with StarOS Release 8.1 and later running GGSN service for the core network services.
> Licensing
> This feature requires the following licenses to be installed on the chassis:

> • | [ 600-00-7585 ] Dynamic Policy Interface — for IMS Authorization Service feature

> • | [ 600-00-7574 ] Enhanced Charging Bundle 2 1k Sessions — for ECS functionality

> Supported Standards
> The Rel 7. Gx interface support is based on the following standards and RFCs:

> • | 3GPP TS 23.203 V7.6.0 (2008-03): 3rd Generation Partnership Project; Technical Specification Group Services and System Aspects; Policy and charging control architecture (Release 7)

> • | 3GPP TS 29.212 V7.8.0 (2009-03): 3rd Generation Partnership Project; Technical Specification Group Core Network and Terminals; Policy and Charging Control over Gx reference point (Release 7)

> • | 3GPP TS 29.213 V7.4.0 (2008-03): 3rd Generation Partnership Project; Technical Specification Group Core Network and Terminals; Policy and Charging Control signalling flows and QoS parameter mapping; (Release 7)

> • | RFC 3588, Diameter Base Protocol; September 2003

> • | RFC 4006, Diameter Credit-Control Application; August 2005

> Terminology and Definitions
> Policy Control
> The process whereby the PCRF indicates to the PCEF how to control the IP-CAN bearer.
> Policy control comprises the following functions:

> • | Binding: Binding is the generation of an association between a Service Data Flow (SDF) and the IP CAN bearer (for GPRS a PDP context) transporting that SDF.

> The QoS demand in the PCC rule, as well as the SDF template are input for the bearer binding. The selected bearer will have the same QoS Class as the one indicated by the PCC rule.
> Depending on the type of IP-CAN and bearer control mode, bearer binding can be executed either by the PCRF, or both PCRF and PCEF.

> • | For UE-only IP-CAN bearer establishment mode, the PCRF performs bearer binding. When the PCRF performs bearer binding, it indicates the bearer (PDP context) by means of Bearer ID. The Bearer ID uniquely identifies the bearer within the PDP session.

> • | For UE/NW IP-CAN bearer establishment mode, the PCRF performs the binding of the PCC rules for user controlled services, while the PCEF performs the binding of the PCC rules for the network-controlled services.

> • | Gating Control: Gating control is the blocking or allowing of packets, belonging to an SDF, to pass through to the desired endpoint. A gate is described within a PCC rule and gating control is applied on a per SDF basis. The commands to open or close the gate leads to the enabling or disabling of the passage for corresponding IP packets. If the gate is closed, all packets of the related IP flows are dropped. If the gate is opened, the packets of the related IP flows are allowed to be forwarded.

> • | Event Reporting: Event reporting is the notification of and reaction to application events to trigger new behavior in the user plane as well as the reporting of events related to the resources in the Gateway (PCEF).

> • | Event triggers may be used to determine which IP-CAN session modification or specific event causes the PCEF to re-request PCC rules. Although event trigger reporting from PCEF to PCRF can apply for an IP CAN session or bearer depending on the particular event, provisioning of event triggers will be done at session level.

> • | The Event Reporting Function (ERF) receives event triggers from PCRF during the Provision of PCC Rules procedure and performs event trigger detection. When an event matching the received event trigger occurs, the ERF reports the occurred event to the PCRF. If the provided event triggers are associated with certain parameter values then the ERF includes those values in the response back to the PCRF. The Event Reporting Function is located in the PCEF.

> Important: In this release, event triggers “IP-CAN_CHANGE” and “MAX_NR_BEARERS_REACHED” are not supported.

> • | QoS Control: QoS control is the authorization and enforcement of the maximum QoS that is authorized for a SDF or an IP-CAN bearer or a QoS Class Identifier (QCI). In case of an aggregation of multiple SDFs (for GPRS a PDP context), the combination of the authorized QoS information of the individual SDFs is provided as the authorized QoS for this aggregate.

> • | QoS control per SDF allows the PCC architecture to provide the PCEF with the authorized QoS to be enforced for each specific SDF.

> • | The enforcement of the authorized QoS of the IP-CAN bearer may lead to a downgrading or upgrading of the requested bearer QoS by the Gateway (PCEF) as part of a UE-initiated IP-CAN bearer establishment or modification. Alternatively, the enforcement of the authorized QoS may, depending on operator policy and network capabilities, lead to network-initiated IP-CAN bearer establishment or modification. If the PCRF provides authorized QoS for both, the IP-CAN bearer and PCC rule(s), the enforcement of authorized QoS of the individual PCC rules takes place first.

> • | QoS authorization information may be dynamically provisioned by the PCRF, or it can be a predefined PCC rule in the PCEF. In case the PCRF provides PCC rules dynamically, authorized QoS information for the IP-CAN bearer (combined QoS) may be provided. For a predefined PCC rule within the PCEF, the authorized QoS information takes affect when the PCC rule is activated. The PCEF combines the different sets of authorized QoS information, i.e. the information received from the PCRF and the information corresponding to the predefined PCC rules. The PCRF knows the authorized QoS information of the predefined PCC rules and takes this information into account when activating them. This ensures that the combined authorized QoS of a set of PCC rules that are activated by the PCRF is within the limitations given by the subscription and operator policies regardless of whether these PCC rules are dynamically provided, predefined, or both.

> Important: In this release, QoS Resource Reservation is not supported.
> Supported Features:

> • | Provisioning and Policy Enforcement of Authorized QoS: The PCRF may provide authorized QoS to the PCEF. The authorized QoS provides appropriate values for resources to be enforced.

> • | Provisioning of “Authorized QoS” Per IP CAN Bearer: The authorized QoS per IP-CAN bearer is used if the bearer binding is performed by the PCRF.

> • | Policy Enforcement for “Authorized QoS” per IP CAN Bearer: The PCEF is responsible for enforcing the policy-based authorization, i.e. to ensure that the requested QoS is in-line with the “Authorized QoS” per IP CAN Bearer.

> • | Policy Provisioning for Authorized QoS Per SDF: The provisioning of authorized QoS per SDF is a part of PCC rule provisioning procedure.

> • | Policy Enforcement for Authorized QoS Per SDF: If an authorized QoS is defined for a PCC rule, the PCEF limits the data rate of the SDF corresponding to that PCC rule not to exceed the maximum authorized bandwidth for the PCC rule by discarding packets exceeding the limit.

> • | Upon deactivation or removal of a PCC rule, the PCEF frees the resources reserved for that PCC rule. If the PCRF provides authorized QoS for both the IP-CAN bearer and PCC rule(s), the enforcement of authorized QoS of the individual PCC rules takes place first.

> Important: In this release, coordination of authorized QoS scopes in mixed mode (BCM = UE_NW) is not supported.

> • | Provisioning of Authorized QoS Per QCI: If the PCEF performs the bearer binding, the PCRF may provision an authorized QoS per QCI for non-GBR bearer QCI values. If the PCRF performs the bearer binding the PCRF does not provision an authorized QoS per QCI. The PCRF does not provision an authorized QoS per QCI for GBR bearer QCI values.

> • | Policy Enforcement for Authorized QoS per QCI: The PCEF can receive an authorized QoS per QCI for non GBR-bearer QCI values.

> • | Other Features:

> • | Bearer Control Mode Selection: The PCEF may indicate, via the Gx reference point, a request for Bearer Control Mode (BCM) selection at IP-CAN session establishment or IP-CAN session modification (as a consequence of an SGSN change). It will be done using the “PCC Rule Request” procedure.

> • | PCC Rule Error Handling: If the installation/activation of one or more PCC rules fails, the PCEF includes one or more Charging-Rule-Report AVP(s) in either a CCR or an RAA command for the affected PCC rules. Within each Charging-Rule-Report AVP, the PCEF identifies the failed PCC rule(s) by including the Charging-Rule-Name AVP(s) or Charging-Rule-Base-Name AVP(s), identifies the failed reason code by including a Rule-Failure-Code AVP, and includes the PCC-Rule-Status AVP.

> If the installation/activation of one or more new PCC rules (i.e., rules which were not previously successfully installed) fails, the PCEF sets the PCC-Rule-Status to INACTIVE for both the PUSH and the PULL modes.
> If a PCC rule was successfully installed/activated, but can no longer be enforced by the PCEF, the PCEF shall send the PCRF a new CCR command and include a Charging-Rule-Report AVP. The PCEF shall include the Rule-Failure-Code AVP within the Charging-Rule-Report AVP and shall set the PCC-Rule-Status to INACTIVE.

> • | Time of the Day Procedures: PCEF performs PCC rule request as instructed by the PCRF. Revalidation-Time when set by the PCRF, shall cause the PCEF to trigger a PCRF interaction to request PCC rules from the PCRF for an established IP CAN session. The PCEF shall stop the timer once the PCEF triggers a REVALIDATION_TIMEOUT event.

> Charging Control
> Charging Control is the process of associating packets belonging to a SDF to a charging key, and applying online charging and/or offline charging, as appropriate. Flow-based charging handles differentiated charging of the bearer usage based on real time analysis of the SDFs. In order to allow for charging control, the information in the PCC rule identifies the SDF and specifies the parameters for charging control. The PCC rule information may depend on subscription data.
> In the case of online charging, it is possible to apply an online charging action upon PCEF events (e.g. re-authorization upon QoS change).
> It is possible to indicate to the PCEF that interactions with the charging systems are not required for a PCC rule, i.e. to perform neither accounting nor credit control for this SDF, and then no offline charging information is generated.
> Supported Features:

> • | Provisioning of Charging-related Information for the IP-CAN Session

> • | Provisioning of Charging Addresses: Primary or secondary event charging function name (Online Charging Server (OCS) addresses)

> Important: In this release, provisioning of primary or secondary charging collection function name (Offline Charging Server (OFCS) addresses) over Gx is not supported.

> • | Provisioning of Default Charging Method

> Important: In this release, PCEF does not send the default online and offline charging method in the Credit Control Request - Initial (CCR(I)).
> Charging Correlation
> For the purpose of charging correlation between SDF level and application level (e.g. IMS) as well as on-line charging support at the application level, applicable charging identifiers and IP-CAN type identifiers are passed from the PCRF to the AF, if such identifiers are available.
> For IMS bearer charging, the IP Multimedia Core Network (IM CN) subsystem and the Packet Switched (PS) domain entities are required to generate correlated charging data.
> In order to achieve this, the Gateway provides the GGSN Charging Identifier (GCID) associated with the PDP context along with its address to the PCRF. The PCRF in turn sends the IMS Charging Identifier (ICID), which is provided by the P-CSCF, to the Gateway. The Gateway generates the charging records including the GCID as well as the ICID if received from PCRF, so that the correlation of charging data can be done with the billing system.
> PCRF also provides the flow identifier, which uniquely identifies an IP flow in an IMS session.
> Policy and Charging Control (PCC) Rules
> A PCC rule enables the detection of an SDF and provides parameters for policy control and/or charging control. The purpose of the PCC rule is to:

> • | Detect a packet belonging to an SDF.

> • | Select downlink IP CAN bearers based on SDF filters in the PCC rule.

> • | Enforce uplink IP flows are transported in the correct IP CAN bearer using the SDF filters within the PCC rule.

> • | Identify the service that the SDF contributes to.

> • | Provide applicable charging parameters for an SDF.

> • | Provide policy control for an SDF.

> The PCEF selects a PCC rule for each packet received by evaluating received packets against SDF filters of PCC rules in the order of precedence of the PCC rules. When a packet matches a SDF filter, the packet matching process for that packet is completed, and the PCC rule for that filter is applied.
> There are two types of PCC rules:

> • | Dynamic PCC Rules: Rules dynamically provisioned by the PCRF to the PCEF via the Gx interface. These PCC rules may be either predefined or dynamically generated in the PCRF. Dynamic PCC rules can be activated, modified, and deactivated at any time.

> • | Predefined PCC Rule: Rules preconfigured in the PCEF by the operators. Predefined PCC rules can be activated or deactivated by the PCRF at any time. Predefined PCC rules within the PCEF may be grouped allowing the PCRF to dynamically activate a set of PCC rules over the Gx reference point.

> Important: A third kind of rule, the static PCC rule can be preconfigured in the chassis by the operators. Static PCC rules are not explicitly known in the PCRF, and are not under control of the PCRF. Static PCC rules are bound to general purpose bearer with no Gx control.
> A PCC rule consists of:

> • | Rule Name: The rule name is used to reference a PCC rule in the communication between the PCEF and PCRF.

> • | Service Identifier: The service identifier is used to identify the service or the service component the SDF relates to.

> • | Service Data Flow Filter(s): The service flow filter(s) is used to select the traffic for which the rule applies.

> • | Precedence: For different PCC rules with overlapping SDF filter, the precedence of the rule determines which of these rules is applicable. When a dynamic PCC rule and a predefined PCC rule have the same priority, the dynamic PCC rule takes precedence.

> • | Gate Status: The gate status indicates whether the SDF, detected by the SDF filter(s), may pass (gate is open) or will be discarded (gate is closed) in uplink and/or in downlink direction.

> • | QoS Parameters: The QoS information includes the QoS class identifier (authorized QoS class for the SDF), the Allocation and Retention Priority (ARP), and authorized bitrates for uplink and downlink.

> • | Charging Key (i.e. rating group)

> • | Other charging parameters: The charging parameters define whether online and offline charging interfaces are used, what is to be metered in offline charging, on what level the PCEF will report the usage related to the rule, etc.

> Important: In this release, configuring the Metering Method and Reporting Level for dynamic PCC rules is not supported.
> PCC rules also include Application Function (AF) record information for enabling charging correlation between the application and bearer layer if the AF has provided this information via the Rx interface. For IMS, this includes the IMS Charging Identifier (ICID) and flow identifiers.
> PCC Procedures over Gx Reference Point
> Request for PCC rules
> The PCEF, via the Gx reference point, requests for PCC rules in the following instances:

> • | At IP-CAN session establishment.

> • | At IP-CAN session modification.

> PCC rules can also be requested as a consequence of a failure in the PCC rule installation/activation or enforcement without requiring an event trigger.
> Provisioning of PCC rules
> The PCRF indicates, via the Rel. 7 Gx reference point, the PCC rules to be applied at the PCEF. This may be using one of the following procedures:

> • | PULL (provisioning solicited by the PCEF): In response to a request for PCC rules being made by the PCEF, the PCRF provisions PCC rules in the CC-Answer.

> • | PUSH (unsolicited provisioning): The PCRF may decide to provision PCC rules without obtaining a request from the PCEF. For example, in response to information provided to the PCRF via the Rx reference point, or in response to an internal trigger within the PCRF. To provision PCC rules without a request from the PCEF, the PCRF includes these PCC rules in an RA-Request message. No CCR/CCA messages are triggered by this RA-Request.

> For each request from the PCEF or upon unsolicited provision the PCRF provisions zero or more PCC rules. The PCRF may perform an operation on a single PCC rule by one of the following means:

> • | To activate or deactivate a PCC rule that is predefined at the PCEF, the PCRF provisions a reference to this PCC rule within a Charging-Rule-Name AVP and indicates the required action by choosing either the Charging-Rule-Install AVP or the Charging-Rule-Remove AVP.

> • | To install or modify a PCRF-provisioned PCC rule, the PCRF provisions a corresponding Charging-Rule-Definition AVP within a Charging-Rule-Install AVP.

> • | To remove a PCC rule which has previously been provisioned by the PCRF, the PCRF provisions the name of this rule as value of a Charging-Rule-Name AVP within a Charging-Rule-Remove AVP.

> • | If the PCRF performs the bearer binding, the PCRF may move previously installed or activated PCC rules from one IP CAN bearer to another IP CAN bearer.

> Selecting a PCC Rule for Uplink IP Packets
> If PCC is enabled, the PCEF selects the applicable PCC rule for each received uplink IP packet within an IP CAN bearer by evaluating the packet against uplink SDF filters of PCRF-provided or predefined active PCC rules of this IP CAN bearer in the order of the precedence of the PCC rules.
> Important: When a PCRF-provided PCC rule and a predefined PCC rule have the same precedence, the uplink SDF filters of the PCRF-provided PCC rule is applied first.
> When a packet matches a SDF filter, the packet matching process for that packet is completed, and the PCC rule for that filter is applied. Uplink IP packets which do not match any PCC rule of the corresponding IP CAN bearer are discarded.
> Selecting a PCC Rule and IP CAN Bearer for Downlink IP Packets
> If PCC is enabled, the PCEF selects a PCC rule for each received downlink IP packet within an IP CAN session by evaluating the packet against downlink SDF filters of PCRF-provided or predefined active PCC rules of all IP CAN bearers of the IP CAN session in the order of the precedence of the PCC rules.
> Important: When a PCRF-provided PCC rule and a predefined PCC rule have the same precedence, the downlink SDF filters of the PCRF-provided PCC rule are applied first.
> When a packet matches a SDF filter, the packet matching process for that packet is completed, and the PCC rule for that filter is applied. The Downlink IP Packet is transported within the IP CAN bearer where the selected PCC rule is mapped. Downlink IP packets that do not match any PCC rule of the IP CAN session are discarded.
> The following procedures are also supported:

> • | Indication of IP-CAN Bearer Termination Implications

> • | Indication of IP-CAN Session Termination: When the IP-CAN session is being terminated (e.g. for GPRS when the last PDP Context within the IP-CAN session is being terminated) the PCEF contacts the PCRF.

> • | Request of IP-CAN Bearer Termination: If the termination of the last IP CAN bearer within an IP CAN session is requested, the PCRF and PCEF apply the “Request of IP-CAN Session Termination” procedure.

> • | Request of IP-CAN Session Termination: If the PCRF decides to terminate an IP CAN session due to an internal trigger or trigger from the SPR, the PCRF informs the PCEF. The PCEF acknowledges to the PCRF and instantly removes/deactivates all the PCC rules that have been previously installed or activated on that IP-CAN session.

> The PCEF applies IP CAN specific procedures to terminate the IP CAN session. For GPRS, the GGSN send a PDP context deactivation request with the teardown indicator set to indicate that the termination of the entire IP-CAN session is requested. Furthermore, the PCEF applies the “Indication of IP CAN Session Termination” procedure.
> Volume Reporting Over Gx
> This section describes the Volume Reporting over Gx feature.
> License Requirement
> The Volume Reporting over Gx feature is license dependant, requiring the following license:
> [ 600-00-7822 ] Charging Over Gx
> Supported Standards
> The Volume Reporting over Gx feature is based on the following standard:
> 3GPP TS 29.212 V9.1.0 (2009-12): 3rd Generation Partnership Project; Technical Specification Group Core Network and Terminals; Policy and Charging Control over Gx reference point (Release 9).
> Feature Overview
> The Volume Reporting over Gx feature provides PCRF the capability to make real-time decisions based on the data usage by subscribers.
> Important: Volume reporting over Gx is applicable only for volume quota.
> Important: Only total data usage reporting is supported. Uplink/Downlink level reporting is not supported in this release.
> Important: The PCEF only reports the accumulated usage since the last report for usage monitoring and not from the beginning.
> Important: If the usage threshold is set to zero (infinite threshold), no further threshold events will be generated by PCEF, but monitoring of usage will continue and be reported at the end of the session.
> Important: Usage reporting on Bearer termination is not supported.
> The following steps explain how Volume Reporting over Gx works:

> 1. | PCEF after receiving the message from PCRF parses the usage monitoring related AVPs, and sends the information to IMSA.

> 2. | IMSA updates the information to ECS.

> 3. | Once the ECS is updated with the usage monitoring information from PCRF, the PCEF (ECS) starts tracking the data usage.

> 4. | For session-level monitoring, the ECS maintains the amount of data usage.

> 5. | For PCC rule monitoring, usage is monitored with the monitoring key as the unique identifier. Each node maintains the usage information per monitoring key. When the data traffic is passed, the usage is checked against the usage threshold values and reported as described in the Usage Reporting section.

> 6. | The PCEF continues to track data usage after the threshold is reached and before a new threshold is provided by the PCRF. If a new usage threshold is not provided by the PCRF in the acknowledgement of an IP-CAN Session modification where its usage was reported, then usage monitoring does not continue in the PCEF for that IP CAN session.

> Usage Monitoring
> Important: In this release, the Usage-Monitoring-Informtion AVP is expected to be present without a new threshold to disable the usage monitoring after usage reporting when the threshold is breached. If no Usage-Monitoring-Informtion AVP is present in the CCA-U, the monitoring will continue with the old threshold value and the reporting happens when the threshold is breached again.

> • | Usage Monitoring at Session Level: PCRF subscribes to the session-level volume reporting over Gx by sending the Usage-Monitoring-Information AVP with the usage threshold level set in Granted-Service-Unit AVP and Usage-Monitoring-Level AVP set to SESSION_LEVEL(0). After the AVPs are parsed by DPCA IMSA updates the information to ECS. Once ECS is updated usage monitoring is started and constantly checked with the usage threshold whenever the data traffic is present.

> • | Usage Monitoring at Flow Level: PCRF subscribes to the flow-level volume reporting over Gx by sending the Usage-Monitoring-Information AVP with the usage threshold level set in Granted-Service-Unit AVP and Usage-Monitoring-Level AVP set to PCC_RULE_LEVEL(1). Monitoring Key is mandatory in case of a flow-level monitoring since the rules are associated with the monitoring key and enabling/disabling of usage monitoring at flow level can be controlled by PCRF using it. After the AVPs are parsed by DPCA, IMSA updates the information to ECS. Once ECS is updated usage monitoring is started and constantly checked with the usage threshold whenever the data traffic is present.

> Usage monitoring is supported for both predefined rules and dynamic rule definitions.

> • | Usage Monitoring for Predefined Rules: If the usage monitoring needs to be enabled for the predefined rules, PCRF sends the rule and the usage monitoring information containing the monitoring key and the usage threshold. The Monitoring key should be same as the one pre-configured in PCEF for that predefined rule. There can be multiple rules associated with the same monitoring key. Hence enabling a particular monitoring key would result in the data being tracked for multiple rules having the same monitoring key. After DPCA parses the AVPs IMSA updates the information to ECS. Once ECS is updated usage monitoring is started and constantly checked with the usage threshold whenever the data traffic is present.

> • | Usage Monitoring for Dynamic Rules: If the usage monitoring needs to be enabled for dynamic ruledefs, PCRF provides the monitoring key along with a charging rule definition and the usage monitoring information containing the monitoring key and the usage threshold. This would result in the usage monitoring being done for all the rules associated with that monitoring key. After DPCA parses the AVPs, IMSA updates the information to ECS. Once ECS is updated, the usage monitoring is started and constantly checked with the usage threshold whenever the data traffic is present. Monitoring key for dynamic ruledef is dynamically assigned by PCRF which is the only difference with predefined rules in case of usage monitoring.

> Usage Reporting
> Usage at subscriber/flow level is reported to PCRF under the following conditions:

> • | Usage Threshold Reached: PCEF records the subscriber data usage and checks if the usage threshold provided by PCRF is reached. This is done for both session and rule level reporting.

> For session-level reporting, the actual usage volume is compared with the usage volume threshold.
> For rule-level reporting the rule that hits the data traffic is used to find out if the monitoring key is associated with it, and based on the monitoring key the data usage is checked. Once the condition is met, it reports the usage information to IMSA and continues monitoring. IMSA then triggers the CCR-U if “USAGE_REPORT” trigger is enabled by the PCRF. The Usage-Monitoring-Information AVP is sent in this CCR with the “Used-Service-Unit” set to the amount of data usage by subscriber.
> If PCRF does not provide a new usage threshold in the usage monitoring information as a result of CCR from PCEF when the usage threshold is reached, the usage monitoring is stopped at PCEF and no usage status is reported.
> If the non-standard volume reporting flag is set, the usage monitoring will be stopped once the threshold is breached, else the monitoring will continue. There will be no further usage reporting until the CCA is received.

> • | Usage Monitoring Disabled: If the PCRF explicitly disables the usage monitoring with Usage-Monitoring-Support AVP set to USAGE_MONITORING_DISABLED, the PCEF stops monitoring and reports the usage information (when the monitoring was enabled) to PCRF if the usage monitoring is disabled by PCRF as a result of CCR from PCEF which is not related to reporting usage, other external triggers, or a PCRF internal trigger. If the PCRF does not provide a new usage threshold as a result of CCR from PCEF when the usage threshold is reached, the usage monitoring is stopped at PCEF and no further usage status is reported.

> • | IP CAN Session Termination: When the IP CAN session is terminated, the accumulated subscriber usage information is reported to PCRF in the CCR-T from PCEF.

> • | PCC Rule Removal: When the PCRF deactivates the last PCC rule associated with a usage monitoring key, the PCEF sends a CCR with the data usage for that monitoring key. If the PCEF reports the last PCC rule associated with a usage monitoring key is inactive, the PCEF reports the accumulated usage for that monitoring key within the same CCR command if the Charging-Rule-Report AVP was included in a CCR command; otherwise, if the Charging-Rule-Report AVP was included in an RAA command, the PCEF sends a new CCR command to report accumulated usage for the usage monitoring key.

> • | PCRF Requested Usage Report

> Important: PCRF Requested Usage Reporting is not supported in this release.

> • | Revalidation Timeout: If usage monitoring and reporting is enabled and a revalidation timeout occurs, the PCEF sends a CCR to request PCC rules and reports all accumulated usage for all enabled monitoring keys since the last report (or since usage reporting was enabled if the usage was not yet reported) with the accumulated usage at IP-CAN session level (if enabled) and at service data flow level (if enabled).

> Once the usage is reported, the usage counter is reset to zero. The PCEF continues to track data usage from the zero value after the threshold is reached and before a new threshold is provided by the PCRF. If a new usage threshold is not provided by the PCRF in the acknowledgement of an IP-CAN Session modification where its usage was reported, then usage monitoring does not continue in the PCEF for that IP CAN session.
> For information on how to configure the Volume Reporting over Gx feature, see the Configuring Volume Reporting over Gx section.
> How R7 Gx Works
> This section describes how dynamic policy and charging control for subscribers works with Rel. 7 Gx interface support in GPRS/UMTS networks.
> The following figure and table explain the IMSA process between a system and IMS components that is initiated by the UE.
> In this example, the Diameter Policy Control Application (DPCA) is the Gx interface to the PCRF. The interface between IMSA with PCRF is the Gx interface, and the interface between Session Manager (SessMgr) and Online Charging Service (OCS) is the Gy interface. Note that the IMSA service and DPCA are part of SessMgr on the system and separated in the figure for illustration purpose only.
> Rel. 7 Gx IMS Authorization Call Flow
> Rel. 7 Gx IMS Authorization Call flow Description

> <X-Refs (online)>step <$paranum> | Description
> 1 | UE (IMS subscriber) requests for primary PDP context activation/creation.
> 2 | SessMgr allocates an IP address to the UE.
> 3 | SessMgr requests IMS Authorization, if IMSA is enabled for the APN.
> 4 | IMSA allocates resources for the IP CAN session and the bearer, and selects the PCRF to contact based on the user's selection key (ex msisdn).
> 5 | IMSA requests the DPCA module to issue an auth request to the PCRF.
> 6 | DPCA sends a CCR initial message to the selected PCRF. This message includes the Context-Type AVP set to PRIMARY and the IP address allocated to the UE. The message may include the Bearer-Usage AVP set to GENERAL. The Bearer-Operation is set to Establishment. The Bearer ID is included if the PCRF does the bearer binding.
> 7 | PCRF may send preconfigured charging rules in CCA, if a preconfigured rule set for general purpose PDP context is provided in PCRF. The dynamic rules and the authorized QoS parameters could also be included by the PCRF.
> 8 | DPCA passes the charging rule definition, charging rule install, QoS information received from the PCRF, event triggers, etc. along with the Bearer ID that corresponds to the rules received from the PCRF to IMSA. IMSA stores the information. If the Bearer ID is absent, and PCRF does the bearer binding, the rule is skipped. Whereas, if the Bearer ID is absent and the PCEF does the bearer binding, the rule is passed onto the ECS to perform bearer binding.
> 9 | DPCA calls the callback function registered with it by IMSA.
> 10 | IMSA stores the bearer authorized QoS information and notifies the SessMgr. Other PCRF provided information common to the entire PDP session (event trigger, primary/secondary OCS address, etc.) is stored within the IMSA. After processing the information, IMSA notifies the SessMgr about the policy authorization complete.
> 11 | If the validation of the rules fails in IMSA/DPCA, a failure is notified to PCRF containing the Charging-Rule-Report AVP. Else, IMSA initiates creation of ECS session. The APN name, primary/secondary OCS server address, etc. are sent to the ECS from the SessMgr.
> 12 | ECS performs credit authorization by sending CCR(I) to OCS with CC-Request-Type set to INITIAL_REQUEST to open the credit control session. This request includes the active Rulebase-Id (default rulebase ID from the APN/AAA) and GPRS specific attributes (e.g. APN, UMTS QoS, etc.).
> 13 | OCS returns a CCA initial message that may activate a statically configured Rulebase and may include pre-emptive quotas.
> 14 | ECS responds to SessMgr with the response message.
> 15 | SessMgr requests IMSA for the dynamic rules.
> 16 | IMSA sends the dynamic rules to SessMgr. Note that until the primary PDP context is established, all RAR messages from the PCRF are rejected.
> 17 | SessMgr sends the dynamic rule information to the ECS. The gate flow status information and the QoS per flow (charging rule) information are also sent in the message.
> 18 | ECS activates the predefined rules received, and installs the dynamic rules received. Also, the gate flow status and the QoS parameters are updated by ECS as per the dynamic charging rules. The Gx rulebase is treated as an ECS group-of-ruledefs. The response message contains the Charging Rule Report conveying the status of the rule provisioning at the ECS. ECS performs PCEF bearer binding for rules without bearer ID.
> 19 | If the provisioning of rules fails partially, the context setup is accepted, and a new CCR-U is sent to the PCRF with the Charging-Rule-Report containing the PCC rule status for the failed rules. If the provisioning of rules fails completely, the context setup is rejected.
> 20 | Depending on the response for the PDP Context Authorization, SessMgr sends the response to the UE and activates/rejects the call. If the Charging-Rule-Report contains partial failure for any of the rules, the PCRF is notified, and the call is activated. If the Charging-Rule-Report contains complete failure, the call is rejected.
> 21 | Based on the PCEF bearer binding for the PCC rules at <X-Refs (online)>step <$paranum> 18, the outcome could be one or more network initiated PDP context procedures with the UE (Network Requested Update PDP Context (NRUPC) / Network Requested Secondary PDP Context Activation (NRSPCA)).

> ‌
> Configuring Rel. 7 Gx Interface
> To configure Rel. 7 Gx interface functionality, the IMS Authorization service must be configured at the context level, and then the APN configured to use the IMS Authorization service.
> To configure Rel. 7 Gx interface functionality:

> Step 1 | Configure IMS Authorization service at the context level for IMS subscriber in GPRS/UMTS network as described in the Configuring IMS Authorization Service at Context Level section.

> Step 2 | Verify your configuration as described in the Verifying the Configuration section.

> Step 3 | Configure an APN within the same context to use the IMS Authorization service for IMS subscriber as described in the Applying IMS Authorization Service to an APN section.

> Step 4 | Verify your configuration as described in the Verifying Subscriber Configuration section.

> Step 5 | Optional: Configure the Volume Reporting over Gx feature as described in the Configuring Volume Reporting over Gx section.

> Step 6 | Save your configuration as described in the Verifying and Saving Your Configuration chapter.

> Important: Commands used in the configuration examples in this section provide base functionality to the extent that the most common or likely commands and/or keyword options are presented. In many cases, other optional commands and/or keyword options are available. Refer to the Command Line Interface Reference for complete information regarding all commands.
> Configuring IMS Authorization Service at Context Level
> Use the following example to configure IMS Authorization service at context level for IMS subscribers in GPRS/UMTS networks:
> configure
> context <context_name>
> ims-auth-service <ims_auth_service>
> p-cscf discovery table { 1 | 2 } algorithm { ip-address-modulus | msisdn-modulus | round-robin }
> p-cscf table { 1 | 2 } row-precedence <precedence_value> { address <ip_address> | ipv6-address <ipv6_address> } [ secondary { address <ip_address> | ipv6-address <ipv6_address> } ]
> policy-control
> diameter origin endpoint <endpoint_name>
> diameter dictionary <dictionary>
> diameter request-timeout <timeout>
> diameter host-select table { { { 1 | 2 } algorithm { ip-address-modulus | msisdn-modulus | round-robin } } | prefix-table { 1 | 2 } }
> diameter host-select row-precedence <precedence_value> table { { { 1 | 2 } host <host_name> [ realm <realm_id> ] [ secondary host <host_name> [ realm <realm_id> ] ] } | { prefix-table { 1 | 2 } msisdn-prefix-from <msisdn_prefix_from> msisdn-prefix-to <msisdn_prefix_to> host <host_name> [ realm <realm_id> ] [ secondary host <sec_host_name> [ realm <sec_realm_id> ] algorithm { active-standby | round-robin } ] } } [ -noconfirm ]
> diameter host-select reselect subscriber-limit <subscriber_limit> time-interval <duration>
> failure-handling cc-request-type { any-request | initial-request | terminate-request | update-request } { diameter-result-code { any-error | <result_code> [ to <end_result_code> ] } } { continue | retry-and-terminate | terminate }
> end
> Notes:

> • | <context_name> must be the name of the context where you want to enable IMS Authorization service.

> • | <ims_auth_service> must be the name of the IMS Authorization service to be configured for Rel. 7 Gx interface authentication.

> • | A maximum of 16 authorization services can be configured globally in a system. There is also a system limit for the maximum number of total configured services.

> • | To enable Rel. 7 Gx interface support, pertinent Diameter dictionary must be configured. For information on the specific Diameter dictionary to use, please contact your local service representative.

> • | When configuring the MSISDN prefix range based PCRF selection mechanism:

> To enable the Gx interface to connect to a specific PCRF for a range of subscribers configure msisdn-prefix-from <msisdn_prefix_from> and msisdn-prefix-to <msisdn_prefix_to> with the starting and ending MSISDNs respectively.
> To enable the Gx interface to connect to a specific PCRF for a specific subscriber, configure both msisdn-prefix-from <msisdn_prefix_from> and msisdn-prefix-to <msisdn_prefix_to> with the same MSISDN.
> In StarOS 8.1 and later releases, per MSISDN prefix range table a maximum of 128 rows can be added. In StarOS 8.0 and earlier releases, a maximum of 100 rows can be added.
> The MSISDN ranges must not overlap between rows.

> • | The Round Robin algorithm for PCRF selection is effective only over a large number of PCRF selections, and not at a granular level.

> • | Option: To configure the Quality of Service (QoS) update timeout for a subscriber, in the IMS Authorization Service Configuration Mode, enter the following command:

> qos-update-timeout <timeout_duration>

> • | Option: To configure signalling restrictions, in the IMS Authorization Service Configuration Mode, enter the following commands:

> signaling-flag { deny | permit }
> signaling-flow permit server-address <ip_address> [ server-port { <port_number> | range <start_number> to <end_number> } ] [ description <STRING> ]

> • | Option: To configure action on packets that do not match any policy gates in the general purpose PDP context, in the IMS Authorization Service Configuration Mode, enter the following command:

> traffic-policy general-pdp-context no-matching-gates direction { downlink | uplink } { forward | discard }

> • | To configure the PCRF host destinations configured in the GGSN/PCEF, use the diameter host-select CLI commands.

> • | To configure the GGSN/PCEF to use a pre-defined rule when the Gx fails, set the failure-handling cc-request-type CLI to continue. Policies available/in use will continue to be used and there will be no further interaction with the PCRF.

> Verifying the Configuration
> To verify the IMS Authorization service configuration:

> Step 1 | Change to the context where you enabled IMS Authorization service by entering the following command:

> context <context_name>

> Step 2 | Verify the IMS Authorization service’s configurations by entering the following command:

> show ims-authorization service name <ims_auth_service>
> Applying IMS Authorization Service to an APN
> After configuring IMS Authorization service at the context-level, an APN within the same context must be configured to use the IMS Authorization service for an IMS subscriber.
> Use the following example to apply IMS Authorization service functionality to a previously configured APN within the context configured in the Configuring Rel. 7 Gx Interface section.
> configure
> context <context_name>
> apn <apn_name>
> ims-auth-service <ims_auth_service>
> active-charging rulebase <rulebase_name>
> end
> Notes:

> • | <context_name> must be the name of the context in which the IMS Authorization service was configured.

> • | <ims_auth_service> must be the name of the IMS Authorization service configured for IMS authentication in the context.

> • | For Rel. 7 Gx, the ECS rulebase must be configured in the APN.

> • | Provided interpretation of the Gx rulebase is chosen to be ECS group-of-ruledefs, configure the following command available in the Active Charging Service Configuration Mode:

> policy-control charging-rule-base-name active-charging-group-of-ruledefs
> Verifying Subscriber Configuration
> Verify the IMS Authorization service configuration for subscriber(s) by entering the following command:
> show subscribers ims-auth-service <ims_auth_service>
> <ims_auth_service> must be the name of the IMS Authorization service configured for IMS authentication.
> Configuring Volume Reporting over Gx
> This section describes the configuration required to enable Volume Reporting over Gx.
> To enable Volume Reporting over Gx, use the following configuration:
> configure
> active-charging service <ecs_service_name>
> rulebase <rulebase_name>
> action priority <priority> dynamic-only ruledef <ruledef_name> charging-action <charging_action_name> monitoring-key <monitoring_key>
> end
> Notes:

> • | The maximum accepted monitoring key value by the PCEF is 4294967295. If the PCEF sends a greater value, the value is converted to an Unsigned Integer value.

> Saving the Configuration
> To save changes to the configuration, refer to the Verifying and Saving Your Configuration chapter.
> Gathering Statistics
> This section explains how to gather Rel. 7 Gx statistics and configuration information.
> In the following table, the first column lists what statistics to gather, and the second column lists the action to perform.
> Gathering Rel. 7 Gx Statistics and Information

> Statistics/Information | Action to perform
> Information and statistics specific to policy control in IMS Authorization service. | show ims-authorization policy-control statistics
> Information and statistics specific to the authorization servers used for IMS Authorization service. | show ims-authorization servers ims-auth-service
> Information of all IMS Authorization service. | show ims-authorization service all
> Statistics of IMS Authorization service. | show ims-authorization service statistics
> Information, configuration, and statistics of sessions active in IMS Authorization service. | show ims-authorization sessions all
> Complete information, configuration, and statistics of sessions active in IMS Authorization service. | show ims-authorization sessions full
> Summarized information of sessions active in IMS Authorization service. | show ims-authorization sessions summary
> Complete statistics for active charging service sessions. | show active-charging sessions full
> Information for all rule definitions configured in the service. | show active-charging ruledef all
> Information for all rulebases configured in the system. | show active-charging rulebase all
> Information on all group of ruledefs configured in the system. | show active-charging group-of-ruledefs all
> Information on policy gate counters and status. | show ims-authorization policy-gate { counters | status }

> ‌

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883