active-charging service ruledef

Configures ACS rule definitions (ruledef).

Syntax

ruledef ruledef_name [ rule-application ruledef_purpose ] 

rule-application ruledef_purpose

Specify the purpose of the ruledef, such as for charging, post-processing, routing, and so on. When a ruledef is evaluated, if the multi-line-or all-lines command is configured, the logical OR.

Must be one of the following:

  • charging : Specify that the current ruledef is for charging purposes.

  • post-processing : Specify that the current ruledef is for post-processing purposes. This enables processing of packets even if the rule matching for them has been disabled.

  • routing : Specify that the current ruledef is for routing purposes. Up to 256 ruledefs can be defined for routing in an Active Charging Service.

ruledef_name

Specify the ruledef name. If the named ruledef does not exist, it is created, and the CLI mode changes to the ACS Ruledef Configuration Mode wherein the ruledef can be configured. If the named ruledef already exists, the CLI mode changes to the ACS Ruledef Configuration Mode for that ruledef.

Must be a string.

Usage Guidelines

Use this command to create/configure/delete an ACS ruledef. A ruledef represents a set of matching conditions across multiple L3 L7 protocol based on protocol fields and state information. Each ruledef can be used across multiple rulebases within the active charging service.

Example

The following command creates/configures an ACS ruledef named test1:
ruledef test1