Skip to content

videooptimization-detectionpolicy

The following operations can be performed on "videooptimization-detectionpolicy":

add| rm| set| unset| show| rename| stat|

add videooptimization detectionpolicy

Creates a videooptimization detection policy, which specifies requests that the Citrix ADC intercepts and tries to detect media type.

Synopsis

add videooptimization detectionpolicy <name> -rule <expression> -action <string> [-undefAction <string>] [-comment <string>] [-logAction <string>]

Arguments

name

Name for the videooptimization detection policy. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters.Can be modified, removed or renamed.

rule

Expression that determines which request or response match the video optimization detection policy.

The following requirements apply only to the Citrix ADC CLI: * If the expression includes one or more spaces, enclose the entire expression in double quotation marks. * If the expression itself includes double quotation marks, escape the quotations by using the \ character. * Alternatively, you can use single quotation marks to enclose the rule, in which case you do not have to escape the double quotation marks.

action

Name of the videooptimization detection action to perform if the request matches this videooptimization detection policy. Built-in actions should be used. These are: * DETECT_CLEARTEXT_PD - Cleartext PD is detected and increment related counters. * DETECT_CLEARTEXT_ABR - Cleartext ABR is detected and increment related counters. * DETECT_ENCRYPTED_ABR - Encrypted ABR is detected and increment related counters. * TRIGGER_ENC_ABR_DETECTION - This is potentially encrypted ABR. Internal traffic heuristics algorithms will further process traffic to confirm detection. * TRIGGER_CT_ABR_BODY_DETECTION - This is potentially cleartext ABR. Internal traffic heuristics algorithms will further process traffic to confirm detection. * RESET - Reset the client connection by closing it. * DROP - Drop the connection without sending a response.

undefAction

Action to perform if the result of policy evaluation is undefined (UNDEF). An UNDEF event indicates an internal error condition. Only the above built-in actions can be used.

comment

Any type of information about this videooptimization detection policy.

logAction

Name of the messagelog action to use for requests that match this policy.

Example

i) add videooptimization detectionPolicy pol1 -rule "HTTP.REQ.URL.CONTAINS(\".mov\")" -action DETECT_CLEARTEXT_PD

rm videooptimization detectionpolicy

Removes the specified videooptimization detection policy.

Synopsis

rm videooptimization detectionpolicy <name>

Arguments

name

Name for the videooptimization detection policy. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters.Can be modified, removed or renamed.

Example

rm videooptimization detectionPolicy pol1

set videooptimization detectionpolicy

Modifies the specified parameter of the videooptimization detection policy.

Synopsis

set videooptimization detectionpolicy <name> [-rule <expression>] [-action <string>] [-undefAction <string>] [-comment <string>] [-logAction <string>]

Arguments

name

Name for the videooptimization detection policy. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters.Can be modified, removed or renamed.

rule

Expression that determines which request or response match the video optimization detection policy.

The following requirements apply only to the Citrix ADC CLI: * If the expression includes one or more spaces, enclose the entire expression in double quotation marks. * If the expression itself includes double quotation marks, escape the quotations by using the \ character. * Alternatively, you can use single quotation marks to enclose the rule, in which case you do not have to escape the double quotation marks.

action

Name of the videooptimization detection action to perform if the request matches this videooptimization detection policy. Built-in actions should be used. These are: * DETECT_CLEARTEXT_PD - Cleartext PD is detected and increment related counters. * DETECT_CLEARTEXT_ABR - Cleartext ABR is detected and increment related counters. * DETECT_ENCRYPTED_ABR - Encrypted ABR is detected and increment related counters. * TRIGGER_ENC_ABR_DETECTION - This is potentially encrypted ABR. Internal traffic heuristics algorithms will further process traffic to confirm detection. * TRIGGER_CT_ABR_BODY_DETECTION - This is potentially cleartext ABR. Internal traffic heuristics algorithms will further process traffic to confirm detection. * RESET - Reset the client connection by closing it. * DROP - Drop the connection without sending a response.

undefAction

Action to perform if the result of policy evaluation is undefined (UNDEF). An UNDEF event indicates an internal error condition. Only the above built-in actions can be used.

comment

Any type of information about this videooptimization detection policy.

logAction

Name of the messagelog action to use for requests that match this policy.

Example

set videooptimization detectionPolicy pol1 -rule "HTTP.REQ.URL.CONTAINS(\".flv\")" -action DETECT_CLEARTEXT_PD

unset videooptimization detectionpolicy

Removes the settings of an existing videooptimization detection policy. Attributes for which a default value is available revert to their default values. See the set videooptimization detection policy command for descriptions of the parameters..Refer to the set videooptimization detectionpolicy command for meanings of the arguments.

Synopsis

unset videooptimization detectionpolicy <name> [-undefAction] [-comment] [-logAction]

Example

unset videooptimization detectionPolicy pol1 -undefAction

show videooptimization detectionpolicy

Displays the current settings for the specified videooptimization detection policy.

Synopsis

show videooptimization detectionpolicy [<name>] show videooptimization detectionpolicy stats - alias for 'stat videooptimization detectionpolicy'

Arguments

name

Name of the videooptimization detection policy for which to display settings.Must provide policy name.

Output

stateflag

rule

Expression that determines which request or response match the video optimization detection policy.

The following requirements apply only to the Citrix ADC CLI: * If the expression includes one or more spaces, enclose the entire expression in double quotation marks. * If the expression itself includes double quotation marks, escape the quotations by using the \ character. * Alternatively, you can use single quotation marks to enclose the rule, in which case you do not have to escape the double quotation marks.

action

Name of the videooptimization detection action to perform if the request matches this videooptimization detection policy. Built-in actions should be used. These are: * DETECT_CLEARTEXT_PD - Cleartext PD is detected and increment related counters. * DETECT_CLEARTEXT_ABR - Cleartext ABR is detected and increment related counters. * DETECT_ENCRYPTED_ABR - Encrypted ABR is detected and increment related counters. * TRIGGER_ENC_ABR_DETECTION - This is potentially encrypted ABR. Internal traffic heuristics algorithms will further process traffic to confirm detection. * TRIGGER_CT_ABR_BODY_DETECTION - This is potentially cleartext ABR. Internal traffic heuristics algorithms will further process traffic to confirm detection. * RESET - Reset the client connection by closing it. * DROP - Drop the connection without sending a response.

undefAction

Action to perform if the result of policy evaluation is undefined (UNDEF). An UNDEF event indicates an internal error condition. Only the above built-in actions can be used.

hits

Number of hits.

undefHits

Number of policy UNDEF hits.

activePolicy

Indicates whether policy is bound or not.

boundTo

Location where policy is bound

priority

Specifies the priority of the policy.

gotoPriorityExpression

Expression specifying the priority of the next policy which will get evaluated if the current policy rule evaluates to TRUE.

comment

Any type of information about this videooptimization detection policy.

logAction

Name of the messagelog action to use for requests that match this policy.

labelType

Type of policy label invocation.

labelName

Name of the label to invoke if the current policy rule evaluates to TRUE.

vserverType

builtin

Flag to determine if videooptimization detection policy is built-in or not

feature

The feature to be checked while applying this config

type

devno

count

Example

show videooptimization detectionpolicy pol1

rename videooptimization detectionpolicy

Renames the specified videooptimization detection policy.

Synopsis

rename videooptimization detectionpolicy <name>@ <newName>@

Arguments

name

Existing name of the videooptimization detection policy.

newName

New name for the videooptimization detection policy. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) hash (#), space ( ), at (@), equals (=), colon (:), and underscore characters.

Example

rename videooptimization detectionpolicy oldname newname

stat videooptimization detectionpolicy

Displays statistics for all video optimization detection policies currently configured on the Citrix ADC, or detailed statistics for the specified policy.

Synopsis

stat videooptimization detectionpolicy [<name>] [-detail] [-fullValues] [-ntimes <positive_integer>] [-logFile <input_filename>] [-clearstats ( basic | full )]

Arguments

name

Name of the Video Optimization detection policy for which to show detailed statistics.

detail

Specifies detailed output (including more statistics). The output can be quite voluminous. Without this argument, the output will show only a summary.

fullValues

Specifies that numbers and strings should be displayed in their full form. Without this option, long strings are shortened and large numbers are abbreviated

ntimes

The number of times, in intervals of seven seconds, the statistics should be displayed. Default value: 1 Minimum value: 0

logFile

The name of the log file to be used as input.

clearstats

Clear the statsistics / counters

Possible values: basic, full

Output

count

devno

stateflag

Counters

Policy hits (Hits)

Number of hits on the policy

Policy undef hits (Undefhits)

Number of undef hits on the policy

Was this article helpful?