EFH interim credit can be specified in two ways:
as a single volume interim credit value that is assigned to all rating groups of the Diameter Gy session with active EFH and that have no default credits configured
configure subscriber-mgmt
diameter-application-policy <application-policy-name> create
gy
extended-failure-handling
interim-credit
volume <credits> {bytes|kilobytes|megabytes|gigabytes}
as a single volume or time interim credit value per rating group (default credit)
The activity threshold configured in the category map also applies to all rating groups that have time-based interim credit assigned while EFH is active.
configure subscriber-mgmt
category-map <category-map-name> create
activity-threshold <kilobits-per-second>
category <category-name> create
default-credit time <seconds>
default-credit volume <credits> <bytes|kilobytes|megabytes|gigabytes>
A single validity time value can be specified and applied to all rating groups that have interim credit assigned, regardless of whether the interim credit is configured for all rating groups in the Diameter application policy or per rating group in the category map.
configure subscriber-mgmt
diameter-application-policy <application-policy-name> create
gy
extended-failure-handling
interim-credit
validity-time <seconds>
The maximum number of times that interim credit is assigned to all rating groups of a Diameter Gy session when EFH is active can be limited in the configuration. The max-attempts value also corresponds with the maximum number of attempts to establish a new Diameter Gy session with the OCS (the default maximum attempts = 10).
configure subscriber-mgmt
diameter-application-policy <application-policy-name> create
gy
extended-failure-handling
interim-credit
max-attempts <count>
max-attempts infinite
An attempt to establish a new Diameter Gy session with the OCS is made when one of the following conditions occurs.
The assigned interim credit for one of the rating groups is used.
The validity time of the interim credit for one of the rating groups expires.
When the maximum number of attempts is reached and a new Diameter Gy session is not yet successfully established, then the user session is terminated; that is, the corresponding subscriber hosts are deleted from the system.
The reporting of used EFH interim credit can be enabled using the following CLI command:
configure subscriber-mgmt
diameter-application-policy <application-policy-name> create
gy
extended-failure-handling
interim-credit
[no] reporting
With reporting enabled, the following accumulated used credit is reported when a new Diameter Gy session is established with the OCS and usage reporting is triggered for a rating group:
unreported used credit granted via the initial Diameter Gy session that caused the EFH activation
used interim credit when EFH was active
used credit granted via the new Diameter Gy session
By default, reporting is disabled and all the used credit from the initial Gy session and all used interim credit are discarded.