This command enables
the setting of event rules. An event is something that occurs in
the system which would trigger a set of actions to take place, such
as new-call or rat-change.
Privilege:
Security Administrator,
Administrator
Syntax
rule priority priority [ event list_of_events ] ruledef ruledef_name actiondef actiondef_name [ continue ]
no rule priority priority
priority priority
Specifies a priority
for the specified rule.
priority must
be unique and an integer from 1 to 2048.
event list_of_events
The event is defined
by any of the following events. Upon triggering the event, the rules
specified in the eventbase are executed.
- default-qos-change:
The event is triggered as a result of a default QoS change.
- location-change:
The event is triggered as a result of any change relating to location.
- new-call:
This event is initiated when a new call is established.
- out-of-credit:
This event is initiated on out of OCS credit.
- realloc-of-credit:
This event is initiated on OCS reallocation of credit
- request-qos:
This event is initiated as the result of UE requested QoS.
- service-flow:
The event is triggered as a result of a new service flow being detected
for the subscriber.
ruledef ruledef_name
Associates the rule
with a specific ruledef.
ruledef_name must
be an existing ruledef within this local QoS policy service.
actiondef actiondef_name
Associates the rule
with a specific actiondef.
actiondef_name must
be an existing actiondef within this local QoS policy service expressed as
an alphanumeric string of 1 through 63 characters.
continue
Subsequent rules
are also matched; otherwise, rule evaluation is terminated on first
match.
no rule priority priority
Deletes the specified
rule.
Usage:
Use this command to
create, configure, or delete event rules.
The rules are executed
in priority order, and if the rule is matched the action specified
in the actiondef is executed. If an event qualifier is associated
with a rule, the rule is matched only for that specific event. If
a qualifier of continue is
present at the end of the rule, the subsequent rules are also matched;
otherwise, rule evaluation is terminated on first match.
This command can be
entered multiple times to configure multiple rules for an eventbase.
IMPORTANT:
A maximum 256 rules
are suggested in an eventbase for performance reasons.
Example:
The following command
creates a rule with priority set to
2 and associated
with
ruledef rule5 and
actiondef action7:
rule priority 2 ruledef
rule5 actiondef action7