About Policy Rule Variables

Under certain circumstances an MPE device can associate additional information with a request. This information can be obtained using policy rule variables and used during policy rule execution. During policy rule execution, variables are replaced with context-specific information. Each time a policy rule is evaluated, the unique set of policy rule variable replacements is referred to as the policy context.

The availability of this information depends on:

The format of a policy rule variable is as follows:

{name[:default-value]}

The name can contain the following characters:
Note: When you create a policy rule, the format and validity of a variable is not checked.

The following are examples of policy rule variables:

{Bandwidth}
{Device.Name}
{Flow.ARP.PriorityLevel}
{Policy.Variable.RandVarf:2017-10-24T10:24:54}
The following are examples of policy variable use in conditions and actions:

Policy rule variables are used in key columns of policy tables. The policy engine obtains the value from the policy context when using the policy table to look up a row. When you define the key, you can either select a basic policy variable from a list or directly enter the name of the variable you want to use.