add-ruledef
This command allows you to add or remove ruledefs from a group-of-ruledefs.
Important |
A maximum of 128 ruledefs can be added to a group-of-ruledefs. |
Product
ACS
Privilege
Security Administrator, Administrator
Mode
Exec > ACS Configuration > ACS Group-of-Ruledefs Configuration
active-charging service service_name > group-of-ruledefs group_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-acs-group-of-ruledefs)#
Syntax
add-ruledef priority ruledef_priority ruledef ruledef_name
no add-ruledef priority ruledef_priority
no
If previously configured, specifies that the ruledef associated with the specified priority number be removed from the current group-of-ruledefs.
priority ruledef_priority
Specifies priority of the ruledef in the current group-of-ruledefs.
ruledef_priority must be unique in the group-of-ruledefs, and must be an integer from 1 through 10000.
ruledef ruledef_name
Specifies name of the ruledef to add to the current group-of-ruledefs.
ruledef_name must be the name of an ACS ruledef, and must be an alpha and/or numeric string of 1 through 63 characters.
Usage Guidelines
Use this command to add/remove ruledefs from a group-of-ruledefs.
A group-of-ruledefs can contain optimizable ruledefs. Whether a group is optimized or not is decided on whether all the ruledefs in the group-of-ruledefs can be optimized, and if the group is included in a rulebase that has optimization turned on, then the group will be optimized.
When a new ruledef is added, it is checked if it is included in any group-of-ruledefs, and whether it needs to be optimized, etc.
Example
add-ruledef priority 3 ruledef ruledef23