action priority
This command allows you to configure the action priority for a ruledef / group-of-ruledefs in the current rulebase.
Product
ACS
Privilege
Security Administrator, Administrator
Mode
Exec > ACS Configuration > Rulebase Configuration
active-charging service service_name > rulebase rulebase_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-rule-base)#
Syntax
action priority action_priority { [ dynamic-only [ adc [ mute ] ] | static-and-dynamic | timedef timedef_name ] { group-of-ruledefs ruledefs_group_name | ruledef ruledef_name } charging-action charging_action_name [ monitoring-key monitoring_key ] [ description description ] }
no action priority action_priority
no
If previously configured, deletes the specified action priority configuration from the current rulebase.
priority action_priority
Specifies a priority for the specified ruledef / group-of-ruledefs in the current rulebase.
action_priority must be unique in the current rulebase, and must be an integer from 1 through 65535.
The priority controls the order in which this instance of the CLI command will be examined. Lower numbered priorities are examined first.
Up to 2048 instances may be configured, totaled among all rulebases in releases prior to 21.1. In 21.1 and later releases, up to 2500 instances can be configured.
Important |
If there are any changes to action priority and the Override Control/Inheritance feature is enabled, then execute the CLI command "update active-charging override-control rulebase-config ". For more information on this command, see the Command Line Interface Reference. |
dynamic-only
Enables matching of dynamic rules with static rules for this action priority on a flow.
Configuring the dynamic-only keyword causes the configuration to be defined, but not enabled. If enabled, the action associated with this option will not be matched against a flow until it is enabled from a dynamic charging interface like Gx. Gx can disable or enable this action entry in the rulebase using Gx messages.
Default: Disabled
adc
Specifies the ruledef to-be given as ADC rule. This keyword is optional and only visible when configured with the dynamic-only keyword.
Default: Disabled
mute
Disables application reporting to PCRF. This keyword is optional and visible only after configuring the adc keyword.
Default: Disabled
static-and-dynamic
The static-and-dynamic option causes the configuration to be defined and enabled, and allows a dynamic protocol (such as the Gx interface) to disable or re-enable the configuration.
Default: Enabled
Important |
When R7 Gx is enabled, "static-and-dynamic" rules behave exactly like "dynamic-only" rules. That is, they must be activated explicitly by the Policy and Charging Rules Function (PCRF). When Gx is not enabled, "static-and-dynamic" rules behave exactly like static rules. |
timedef timedef_name
Important |
This keyword is only available in StarOS 8.1 and StarOS 9.0 and later releases. |
Associates the specified time definition with the ruledef / group-of-ruledefs. Timedefs activate or deactivate ruledefs / groups-of-ruledefs, making them available for rule matching only when they are active.
timedef_name must be the name of a timedef, and must be an alphanumeric string of 1 through 63 characters.
A timedef can be used with several ruledefs / group-of-ruledefs. When a packet is received, and a ruledef / group-of-ruledefs is eligible for rule matching, if a timedef is associated with the ruledef / group-of-ruledefs, before rule matching the packet-arrival time is compared with the timeslots configured in the timedef. If the packet arrived in any of the timeslots configured in the associated timedef, rule matching is undertaken, else the next ruledef / group-of-ruledefs is considered.
Important |
The time considered for timedef matching is the system's local time. |
ruledef ruledef_name
Adds the specified ruledef to the current rulebase.
ruledef_name must be the name of a ruledef, and must be an alphanumeric string of 1 through 63 characters.
If the specified ruledef does not exist, there will be no ruledef triggers for this action priority within the current rulebase.
Important |
If the ruledef specified here is deleted or is not configured, the system accepts it without applying any ruledef under current rulebase for this action priority. |
group-of-ruledefs ruledefs_group_name
Adds the specified group-of-ruledefs to the current rulebase.
ruledefs_group_name must be the name of a group-of-ruledefs, and must be an alphanumeric string of 1 through 63 characters.
When a group-of-ruledefs is specified, if any of the ruledefs within the group matches, the specified charging-action is applied, any more of the action instances are not processed.
Important |
If the group-of-ruledefs specified here is deleted or is not configured, the system accepts it without applying any ruledefs under current rulebase for this action priority. |
charging-action charging_action_name
Specifies the charging action.
charging_action_name must be the name of a charging action, and must be an alphanumeric string of 1 through 63 characters.
If the specified charging action does not exist, there will be no charging action triggers for this action priority within the current rulebase.
Important |
If the charging action specified here is not configured or is later deleted, the system will not apply any charging action under current rulebase for this action priority. |
monitoring-key monitoring_key
Associates the specified monitoring-key with ruledefs for usage monitoring.
monitoring_key must be an integer from 1 through 4000000000.
description description
Adds specified text to the rule and action.
description must be an alphanumeric string of 1 through 63 characters.
Usage Guidelines
Use this command to configure action priorities for ruledefs / group-of-ruledefs in a rulebase.
This CLI command can be entered multiple times to specify multiple ruledefs and charging actions. The ruledefs are examined in priority order, until a match is found and the corresponding charging action is applied.
Example
action priority 23 ruledef test charging-action test1