This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
contentinspection-policy
The following operations can be performed on “contentinspection-policy”:
unset | add | show | rm | set | rename | stat |
unset contentinspection policy
Removes the settings of an existing contentInspection policy. Attributes for which a default value is available revert to their default values. See the set contentInspection policy command for descriptions of the parameters..Refer to the set contentinspection policy command for meanings of the arguments.
Synopsis
unset contentinspection policy
Example
unset contentInspection policy pol9 -undefAction
add contentinspection policy
Creates a contentInspection policy, which specifies requests that the Citrix ADC intercepts and executes the specified action.
Synopsis
add contentinspection policy
Arguments
name Name for the contentInspection 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 changed after the contentInspection policy is added.
The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, “my contentInspection policy” or ‘my contentInspection policy’).
rule Expression that the policy uses to determine whether to execute the specified action.
action Name of the contentInspection action to perform if the request matches this contentInspection policy. There are also some built-in actions which can be used. These are: - NOINSPECTION - Send the request from the client to the server or response from the server to the client without sending it to Inspection device for Content Inspection. - RESET - Resets the client connection by closing it. The client program, such as a browser, will handle this and may inform the user. The client may then resend the request if desired. - DROP - Drop the request without sending a response to the user.
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 contentInspection policy.
logAction Name of the messagelog action to use for requests that match this policy.
Example
i) add contentInspection policy pol9 -rule “HTTP.REQ.URL.URL_CATEGORIZE(0,0).CATEGORY.EQ(\“Malware\”)” -action AV_ACTION
show contentinspection policy
Displays the current settings for the specified contentInspection policy. If no policy name is specified, displays a list of all contentInspection policies currently configured on the Citrix ADC, with abbreviated settings.
Synopsis
show contentinspection policy [
Arguments
name Name of the contentInspection policy for which to display settings.
Output
stateflag rule Rule of the policy.
action CI action associated with the policy.
undefAction UNDEF action associated with the policy.
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.
labelType Type of policy label invocation.
labelName Name of the label to invoke if the current policy rule evaluates to TRUE.
comment Any type of information about this contentInspection policy.
logAction Name of the messagelog action to use for requests that match this policy.
bindPolicyType vserverType builtin Flag to determine if contentInspection policy is built-in or not
feature The feature to be checked while applying this config
type devno count
Example
show contentInspection policy
rm contentinspection policy
Removes the specified contentInspection policy.
Synopsis
rm contentinspection policy
Arguments
name Name of the contentInspection policy to remove.
Example
rm contentInspection policy pol9
set contentinspection policy
Modifies the rule, action or comment portion of the specified contentInspection policy.
Synopsis
set contentinspection policy
Arguments
name Name of the contentInspection policy.
rule Expression that the policy uses to determine whether to execute the specified action.
action Name of the contentInspection action to perform if the request matches this contentInspection policy. There are also some built-in actions which can be used. These are: - NOINSPECTION - Send the request from the client to the server or response from the server to the client without sending it to Inspection device for Content Inspection. - RESET - Resets the client connection by closing it. The client program, such as a browser, will handle this and may inform the user. The client may then resend the request if desired. - DROP - Drop the request without sending a response to the user.
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 contentInspection policy.
logAction Name of the messagelog action to use for requests that match this policy.
Example
set contentInspection policy pol9 -rule “HTTP.REQ.HEADER(\“header\”).CONTAINS(\“qh2\”)”
rename contentinspection policy
Renames the specified contentInspection policy.
Synopsis
rename contentinspection policy
Arguments
name Existing name of the contentInspection policy.
newName New name for the contentInspection 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.
The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, “my contentInspection policy” or ‘my contentInspection policy’).
Example
rename contentInspection policy oldname newname
stat contentinspection policy
Displays statistics for all contentInspection policies currently configured on the Citrix ADC, or detailed statistics for the specified policy.
Synopsis
stat contentinspection policy [
Arguments
name Name of the contentInspection 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
Related Commands
Share
Share
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.