# 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.

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.
Platform:

ASR 5000
Product:

P-GW
Privilege:

Security Administrator, Administrator
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 specifies 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_nameDetects 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-groupNot supported in this release.
- activate-rule name rule_nameActivates 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_nameAssociates 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-qosAllow a specific UE initiated QoS request.
- allow-sessionAllows 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_rateCreates 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 .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-ambrRemoves AMBR control for the specific session.
- deactivate-flow-detection { initiation | termination } ruledef ruledef_nameDeactivates 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-groupNot supported in this release.
- deactivate-rule name rule_nameDeactivates 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_nameDisassociates 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 valueSets the default QoS parameters for the sessionqci value must be an integer from 1 through 254.arp value must be an integer from 1 through 15 .
- delete-bearer qci value arp valueDeletes a bearerqci value must be an integer from 1 through 254.arp value must be an integer from 1 through 15 .
- reject-requested-qosReject UE QoS resource request.
- terminate-sessionTerminates 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.