ca-policy
The following operations can be performed on "ca-policy":
set ca policy
Modifies the parameters of a content accelerator policy.
Arguments
name Name of the content accelerator policy to be modified.
rule Expression that determines which requests or responses match the content accelerator policy. When specifying the rule in the CLI, the description must be enclosed within double quotes.
action Name of content accelerator action to be executed when the rule is evaluated to true.
comment Information about the content accelerator policy.
logAction Name of messagelog action to use when a request matches this policy.
undefAction
Example
set ca policy pol9 -rule "HTTP.REQ.HEADER(\\"header\\").CONTAINS(\\"qh2\\")"
unset ca policy
Removes the settings of an existing content accelerator policy. Attributes for which a default value is available revert to their default values. See the set content accelerator policy command for a description of the parameters..Refer to the set ca policy command for meanings of the arguments.
Example
unset ca policy pol9 -undefAction
rename ca policy
Renames content accelerator policy.
Synopsis
rename ca policy <name>@ <newName>@
Arguments
name Existing name of the content accelerator policy.
newName New name for the content accelerator policy
Example
rename ca policy oldname newname
show ca policy
Displays information about a content accelerator policy. If no name is specified, this command displays information of all available content accelerator policies.
Arguments
name Name of the content accelerator policy to be displayed.
Output
stateflag undefAction Undef Action associated with the policy.
activePolicy Indicates whether policy is bound or not.
boundTo Location where policy is bound
gotoPriorityExpression Expression specifying the priority of the next policy which will get evaluated if the current policy rule evaluates to TRUE.
vserverType action Content accelerator action associated with the policy.
rule Rule of the policy.
hits Number of hits.
undefHits Number of Undef hits.
isDefault A value of true is returned if it is a default content accelerator policy.
priority Specifies the priority of the policy.
bindPolicyType comment Information about the content accelerator policy.
logAction Name of messagelog action to use when a request matches this policy.
type devno count
Example
show ca policy
rm ca policy
Removes a content accelerator policy.
Synopsis
rm ca policy <name>
Arguments
name Name of the content accelerator policy to be removed.
Example
rm ca policy pol9
add ca policy
Creates a content accelerator policy. This policy must later be invoked globally or at a content switching or load balancing virtual server.
Arguments
name Name for the content accelerator policy. Must begin with an ASCII alphabetic or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Can be changed after the policy is created.
rule Expression that determines which requests or responses match the content accelerator policy. When specifying the rule in the CLI, the description must be enclosed within double quotes.
action Name of content accelerator action to be executed when the rule is evaluated to true.
undefAction comment Information about the content accelerator policy.
logAction Name of messagelog action to use when a request matches this policy.