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 } 

      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.

  • 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 
   charging-server ch1 
      fqdn abc.com 
      capacity 10 (default : 10) 
      priority 1 (default: 1) 
      ip-address 127.0.0.1 
      port 1234 
      ! 
      ! 
   dnn-profile dnn1 
      charging-server-name [ chserv1 ] 
      charging-profile chProf1 
      ! 
   profile charging ch1 
      limit volume tot 2000 
      limit duration 20 
      limit rating-group volume tot 4000 
      limit rating-group duration 40 
      triggers session [ ambr-change qos-change] 
   max-charging-condition 20 
      max-deferred-urr 100 
      reporting-level service-id 
      requested-service-unit time 20 volume downlink 8000 uplink 2000 total 10000 
      ! 
   profile charging-characteristics 1 
   charging-profile ch1 
   !