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 
      session-failover { false | true } 
      send charging-initial  { session-start | traffic-start } 
      dynamic-rules request-quota { on-receiving-rule | on-traffic-match } 
      quota validity-time  validity_time 
      quota volume-threshold percent  volume_threshold_percent 
      usage-reporting quota-to-report based-on-grant { report-only-granted-volume } 
      mscc-final-unit-action terminate session 
      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

  • session-failover { false | true } : Enable Diameter session failover for Gy. The default value of this configuration is false .

  • send charging-initial { session-start | traffic-start } : Specify whether to send CCR-I message towards OCS when dynamic and predefined rules are received, otherwise CCR-I message sends the usage report received with the start of traffic. The default value is session-start .

  • dynamic-rules request-quota { on-receiving-rule | on-traffic-match } : Specify whether to send CCR-I message with RSU when dynamic rules received, otherwise CCR-I message sends the usage report received with start of traffic along with RSU. The default value is on-receiving-rule .

  • quota validity-time validity_time : Specify the validity lifetime of the quota in seconds 1 through 4000000.

  • quota volume-threshold percent volume_threshold_percent : Specify the volume threshold value as a percentage of the volume quota 1 through 100.

  • usage-reporting quota-to-report based-on-grant { report-only-granted-volume } : The based-on-grant option specifies the report volume or duration in Used Service Unit to OCS if only it is granted in Granted Service Unit by OCS server. The report-only-granted-volume option specifies the filter for sending Used Volume quota to OCS base on Input, Output, or Total Octets granted in Granted Service Unit by OCS server.

  • mscc-final-unit-action terminate session : Terminate the session when MSCC final unit action is terminate.

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
   session-failover   true
   quota validity-time 200
   quota volume-threshold percent 80
   dynamic-rules request-quota on-traffic-match
   send charging-initial traffic-start
   usage-reporting quotas-to-report based-on-grant
   mscc-final-unit-action terminate session
exit