Local Policy Actiondef Configuration Mode Commands

The Local Policy Actiondef Configuration Mode is used to define the action definitions to be used for local QoS policies.


Mode:

Exec > Global Configuration > Local Policy Service Configuration > Local Policy Actiondef Configuration

configure > local-policy-service service_name > actiondef actiondef_name

Entering the above command sequence results in the following prompt:

[context_name]host_name(config-local-policy-actiondef)#

IMPORTANT:

The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).

action

This command configures the action priority for an actiondef.

Product:

P-GW

SAEGW


Privilege:

Security Administrator, Administrator


Mode:

Exec > Global Configuration > Local Policy Service Configuration > Local Policy Actiondef Configuration

configure > local-policy-service service_name > actiondef actiondef_name

Entering the above command sequence results in the following prompt:

[context_name]host_name(config-local-policy-actiondef)#

Syntax
action priority priority action_name
argumentsno action priority priority
priority priority

Specifies a priority for the specified action.

priority must be a unique integer from 1 to 2048.

action_name arguments
The following actions are supported. arguments specify a set of parameters to be used when invoking the action.
  • activate-ambr uplink bandwidth downlink bandwidth
    Sets the aggregated maximum bit rate (AMBR) for the APN.
    Configures uplink and downlink bandwidth. bandwidth must be an integer from 1 to 1000000000.
  • activate-flow-detection { initiation | termination } ruledef ruledef_name
    Detects a flow and takes action.
    initiation ruledef: Checks for flow initiation and adds a rule definition.
    termination ruledef: Checks for flow termination and adds a rule definition.
    ruledef_name must be an existing ruledef.
  • activate-policy-group
    This keyword is not supported in this release.
  • activate-rule name rule_name
    Activates a rule within ECS rulebase for a subscriber.
    rule_name must be an existing rule within this local QoS policy service expressed as an alphanumeric string of 1 through 63 characters.
  • activate-rulebase name rulebase_name
    Associates the session with a specific rulebase.
    rulebase_name must be an existing rulebase within this local QoS policy service expressed as an alphanumeric string of 1 through 63 characters.
  • allow-requested-qos
    Allow a specific UE initiated QoS request.
  • allow-session
    Allows the session to continue.
  • create-bearer qci value arp value uplink-mbr mbr_rate downlink-mbr mbr_rate [ uplink-gbr gbr_rate ] downlink-gbr gbr_rate
    Creates a bearer with a specific QCI and BANDWIDTH.
    qci value must be an integer from 1 through 254.
    arp value must be an integer from 1 through 15 (StarOS v12.1 and earlier) or 1 through 127 (StarOS v12.2 and later).
    uplink-mbr: Uplink maximum bitrate. mbr_rate must be an integer from 1 through 1000000000.
    downlink-mbr: Downlink maximum bitrate. mbr_rate must be an integer from 1 through 1000000000.
    uplink-gbr: Uplink guaranteed bitrate. gbr_rate must be an integer from 1 through 1000000000.
    downlink-gbr: Downlink guaranteed bitrate. gbr_rate must be an integer from 1 through 1000000000.
  • deactivate-ambr
    Removes AMBR control for the specific session.
  • deactivate-flow-detection { initiation | termination } ruledef ruledef_name
    Deactivates detection of flow and takes action.
    initiation ruledef: Checks for flow initiation and adds a rule definition.
    termination ruledef: Checks for flow termination and adds a rule definition.
    ruledef_name must be an existing ruledef.
  • deactivate-policy-group
    This keyword is not supported in this release.
  • deactivate-rule name rule_name
    Deactivates a rule within ECS.
    rule_name must be an existing rule within this local QoS policy service expressed as an alphanumeric string of 1 through 63 characters.
  • deactivate-rulebase name rulebase_name
    Disassociates the rulebase from a session.
    rulebase_name must be an existing rulebase within this local QoS policy service expressed as an alphanumeric string of 1 through 63 characters.
  • default-qos qci value arp value
    Sets the default QoS parameters for the session
    qci value must be an integer from 1 through 254.
    arp value must be an integer from 1 through 15 (StarOS v12.1 and earlier) or 1 through 127 (StarOS v12.2 and later).
  • delete-bearer qci value arp value
    Deletes a bearer.
    qci value must be an integer from 1 through 254.
    arp value must be an integer from 1 through 15 (StarOS v12.1 and earlier) or 1 through 127 (StarOS v12.2 and later).
  • reconnect-to-server
    Reconnects to the PCRF server to handle fallback scenario. That is, when the session falls back to local policy, this action specifies to retry connecting to the PCRF server.
  • reject-requested-qos
    Rejects UE QoS resource request.
  • retry-count value
    Retry action. This applies to start-timer/activate-rule/activate-ruledef.
    value must be an integer from 0 through 65535.
  • start-timer name duration value retry-count value
    Starts a named timer. On expiry of this timer, the local policy engine is contacted to initiate the appropriate action, such as termination of a session.
    duration value: Enter a timer duration from 0 through 28800 seconds. A value of 0 can be used to leave the local policy until the subscriber disconnects. Default timer value is 14400 (seconds).
    retry-count specifies the maximum number of times the server will be retried before terminating the call.
    retry-count value must be an integer from 0 through 65535. Default retry count is 3.
  • stop-timer name
    Stops the designated timer.
  • terminate-session
    Terminates the session.
no action priority priority

Deletes the specified action.


Usage:

Use this command to enable the setting of parameters to be used when invoking actions. Actions are a series of operations that are triggered by activated rules.

This command can be entered multiple times to configure multiple actions for an actiondef. The actions are examined in priority order until a match is found and the corresponding action is applied.


Example:
The following command creates an action to allow a session to continue with priority set to 125:
action priority 125
allow-session
end

Exits the current configuration mode and returns to the Exec mode.

Product:

All


Privilege:

Security Administrator, Administrator


Syntax
end

Usage:

Use this command to return to the Exec mode.

exit

Exits the current mode and returns to the parent configuration mode.

Product:

All


Privilege:

Security Administrator, Administrator


Syntax
exit

Usage:

Use this command to return to the parent configuration mode.