active-charging service ruledef

Configures ACS rule definitions (ruledef).

Command Mode

Exec > Global Configuration (config) > ACS Configuration (config-service-acs_name )

Syntax

ruledef ruledef_name [ rule-application ruledef_purpose ] 

rule-application ruledef_purpose

Specify the purpose of the ruledef. 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 ACS.

ruledef ruledef_name

Specify name of the ruledef. 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 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 ACS.

Example

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