Charging Profile Configuration
Use the following configuration to configure the charging profile parameters for SMF charging.
config
profile charging profile_name
limit [ rating-group ] { duration duration_value | volume volume_value }
max-charging-condition max_cc_value
max-deferred-urr max_urr_value
method { none | offline | online }
offline zero-usage [ drop { cdr | uuc } | measurement { duration | volume } | trigger { external | final | internal } ]
query-all-urr { false | true }
quota request [ always | standard ]
quota suppress triggers [ qht ]
reporting-level { offline | online { [rating-group]
| rating-group | service-id }
requested-service-unit time seconds volume downlink downlink_value
uplink uplink_value total total_value
tight-interworking-mode { false | true }
triggers session session_level_triggers
end
NOTES:
-
limit : Specifies the threshold limit.
-
duration : Specifies the duration threshold for charging. The threshold value ranges from 0 through 2147483647.
-
volume : Specifies the volume threshold for charging. The threshold value ranges from 0 through 9223372036854775807.
-
rating-group : Specifies the volume and duration threshold for a Rating Group.
-
max-charging-condition max_cc_value : Specifies the maximum number of changes to the charging condition. max_cc_value must be an integer ranging from 0 through 500. The default value is 20.
-
max-deferred-urr max_urr_value : Specifies the maximum number of deferred USU containers. max_urr_value must be an integer ranging from 0 through 200. The default value is 50.
-
method : Specifies the charging method. The default charging method is offline.
-
offline zero-usage { drop | measurement | trigger } : The SMF suppresses the offline URR with zero volume and duration. By default, the zero usage drop configuration is disabled on SMF.
-
drop { cdr | uuc } : The SMF suppresses the CDR or UUC with zero usage. If there are mutiple reports, then the SMF drops only the reports with zero usage. Note that there is no impact on the online reporting.
If the drop command is not configured, the SMF stops sending UUC for the offline usage report.
-
measurement { duration | volume } : The SMF specifies the measurement method of the network usage for suppression. The measurement method is based on volume and duration.
If the measurement command is not configured, the SMF suppresses the records with both zero volume and zero duration, or the records with zero volume or zero duration depending on the configuration.
-
trigger { external | final | internal } : Specifies the list of triggers to be suppressed.
-
external : The SMF suppresses the usage reports that are generated due to external triggers, such as QoS Change, RAT change, User Location change, and PLMN Change.
-
final : The SMF suppresses the usage reports that are generated at the end of a context.
-
internal : The SMF suppresses the usage reports that are generated due to internal triggers such as, volume limit, time limit, and tariff change.
-
-
-
query-all-urr { false | true } : Specify to query all URRs. By default, this configuration is enabled (set to true).
If this CLI command is disabled (configured to false) or the CC trigger is not armed at session level, the SMF will send QUERY_URR and report CC events along with usage report.
-
quota request [ always | standard ] : Controls the requesting of quota from the CHF for online charging services based on the configuration. If the quota request always is configured, the SMF always requests for quota. If the no quota request or quota request standard CLI command is configured, then the SMF requests the quota for specific trigger types as defined in standard, which is the default behaviour.
-
quota suppress triggers [ qht ] : Suppresses the quota from the CHF upon configuring the usage report trigger type "qht".
-
reporting-level : Specifies the reporting level configuration to be used for offline and online charging.
The default value is [rating-group] level.
-
requested-service-unit: Configures the value for the requested service units.
-
time seconds : Configures the time quota value in seconds from 1 through 4000000000.
-
downlink downlink_value : Configures the downlink volume in bytes from 1 through 4000000000.
-
uplink uplink_value : Configures the uplink volume in bytes from 1 through 4000000000.
-
total total_value : Configures the total volume in bytes from 1 through 4000000000.
-
-
tight-interworking-mode : Configuration to enable tight interworking mode for online or offline charging methods.
-
triggers : Specifies the list of triggers to be configured.
-
session session_level_triggers : Specifies the list for Session Level Triggers. The list of Session Level Triggers is as follows:
-
repor3gpp-ps-change
-
ambr-change
-
max-number-of-changes-in-charging-conditions
-
plmn-change
-
qos-change
-
rat-change
-
serv-node-change
-
tarrif-time-change
-
ue-pra-change
-
ue-time-change
-
upf-add
-
upf-rem
-
user-loc-change
-
The following is a sample configuration for SMF Charging:
config
profile dnn intershat1
charging-profile chgprf1
exit
profile charging chgprf2
limit volume 15000
limit duration 90
limit rating-group volume 12000
limit rating-group duration 80
triggers session [ ambr-change qos-change max-number-of-changes-in-charging-conditions ]
max-charging-condition 1
max-deferred-urr 3
reporting-level online service-id
reporting-level offline service-id
exit