Charging Action Configuration for L7 Protocols for DPI
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).
The charging action configuration is used to define the QoS and charging related parameters associated with ruledefs.
configure
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 ]
NOTES:
-
charging-action charging_action_name : Specifies 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 [ pci pci_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 : Specifies 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: Specifies 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 : Configures the billing action for packets that match specific rule definitions.
-
cca charging credit : Enables or disables credit control charging credit behaviour.
-
content-id : Configures the rating group.
-
flow action : Specifies the action to take on packets that match rule definitions.
-
discard [ downlink | uplink ] : Specifies to discard downlink or uplink packets.
-
redirect-url redirect_url : Specifies the URL to be redirected.
-
terminate-flow : Specifies to terminate the flow.
-
-
flow limit-for-bandwidth : Configures the QoS parameters such as MBR, GBR, and so on.
-
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 ,: Configures the nexthop forwarding address.
-
qos-class-identifier qos_class_identifier : Configures the QCI for a charging action. qos_class_identifier must be an integer value in the range of 1-9 or from 128-254 (Operator specific).
-
service_identifier service_id : Configures the service identifier to use in generated billing records.service_id must be an integer value in the range of 1-2147483647.
-
tft packet-filter packet_filter_name : Specifies the packet filter to add or remove from the current charging action. packet_filter_name must be the name of a packet filter, and 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 : Configures the Type of Service (ToS) octets.