Configuring Charging Action

This section describes how to configure charging action. The charging action represents actions to be taken when a configured rule is matched. Actions could range from generating an accounting record (for example, an EDR) to dropping the IP packet, and so on. The charging action will also determine the metering principle—whether to count retransmitted packets and which protocol field to use for billing (L3, L4, L7, and so on).

To define the QoS and charging related parameters associated with ruledefs, use the following sample configuration.

config 
    active-charging service service_name 
       charging-action charging_action 
          allocation-retention-priority priority  [ pci pci_value 
          | pvi pvi_value billing-action egcdr cca 
          charging credit [ rating-group coupon_ id  
          ] [ preemptively-request ] 
          content-id content_id 
          flow action { discard [ downlink | uplink ] | redirect-url  
          redirect_url | terminate-flow } 
          flow limit-for-bandwidth { { direction { downlink | uplink }  
          peak-data-rate bps peak-burst-size bytes violate-action  
          { discard | lower-ip-precedence } [ committed-data-rate  
          bps committed-burst-size bytes 
          [ exceed-action { discard | lower-ip-precedence  
          } ] ] } | { id id } } 
          nexthop-forwarding-address ipv4_address/ipv6_address 
          qos-class-identifier qos_class_identifier 
          service-identifier service_id 
          tft packet-filter packet_filter_name 
          tft-notify-ue 
          tos { af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32  
          | af33 | af41 | af42 | af43 | be | ef | lower-bits tos_value  
          } [ downlink | uplink ] 
          end 

NOTES:

  • charging-action charging_action_name : Specify the name of a charging action. charging_action_name must be an alphanumeric string of 1 to 63 characters and can contain punctuation characters. Each charging action must have a unique name.

  • If the named charging action does not exist, it is created, and the CLI mode changes to the ACS Charging Action Configuration Mode wherein the charging action can be configured.

  • If the named charging action already exists, the CLI mode changes to the ACS Charging Action Configuration Mode for that charging action.

  • allocation-retention-priority priority [ pcipci_value | pvi pvi_value : Configures the Allocation Retention Priority (ARP). priority must be an integer value in the range of 1-15.

    • pci pci_value : Specify the Preemption Capability Indication (PCI) value. The options are:

      • MAY_PREEMPT—Flow can be preempted. This is the default value.

      • NOT_PREEMPT—Flow cannot be preempted.

    • pvi pvi_value : Specify the Preemption Vulnerability Indication (PVI) value. The options are:

      • NOT_PREEMPTABLE—Flow cannot be preempted. This is the default value.

      • PREEMPTABLE—Flow can be preempted.

  • billing-action : Configure the billing action for packets that match specific rule definitions.

  • cca charging credit : Enable or disable Credit Control Application (CCA) and configure the RADIUS/Diameter prepaid charging behavior.

  • content-id : Configure the rating group.

  • flow action : Specify the action to take on packets that match rule definitions.

  • flow limit-for-bandwidth : Configure the QoS parameters, such as MBR and GBR.

    • peakdatarate(MBR): Default is 3000 bps

    • peakburstsize: Default is 3000 bytes

    • committedDataRate(GBR): Default is 144000 bps

    • committedBurstSize: Default is 3000 bytes

  • nexthop-forwarding-address ipv4_address/ipv6_address : Configure the nexthop forwarding address.

  • qos-class-identifier qos_class_identifier : Configure the QoS Class Identifier (QCI) for a charging action. qos_class_identifier must be an integer in the range of 1–9 or from 128–254 (operator specific).

  • service_identifier service_id : Configure the service identifier to use in generated billing records. service_id must be an integer in the range of 1–2147483647.

  • tft packet-filter packet_filter_name : Specify the packet filter to add or remove from the current charging action. packet_filter_name must be an alphanumeric string of 1 to 63 characters.

  • tft-notify-ue : Control the TFT updates towards the UE based on certain trigger conditions.

  • tos : Configure the Type of Service (ToS) octets.