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!
cache-policylabel
The following operations can be performed on “cache-policylabel”:
add | unbind | rename | show | stat | rm | bind |
add cache policylabel
Creates a user-defined cache policy label. A policy label is a bind point of a group of policies.
Synopsis
add cache policylabel
Arguments
labelName Name for the label. 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 label is created.
evaluates When to evaluate policies bound to this label: request-time or response-time.
Possible values: REQ, RES, MSSQL_REQ, MSSQL_RES, MYSQL_REQ, MYSQL_RES, HTTPQUIC_REQ, HTTPQUIC_RES
Example
add cache policylabel cache_http_url -evaluates REQ
unbind cache policylabel
Unbinds a policy from a cache-policy label.
Synopsis
unbind cache policylabel
Arguments
labelName Name of the cache policy label from which to unbind the policy.
policyName Name of the policy to unbind from the label.
priority Required only if you want to unbind a NOPOLICY that might have been bound to this policy label. Minimum value: 1 Maximum value: 2147483647
Example
unbind cache policylabel cache_http_url pol_1
rename cache policylabel
Renames a cache-policy label.
Synopsis
rename cache policylabel
Arguments
labelName Existing name of the cache-policy label.
newName New name for the cache-policy label. 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.
Example
rename cache policylabel oldname newname
show cache policylabel
Displays information about all cache-policy labels or about the specified cache-policy label.
Synopsis
show cache policylabel [
Arguments
labelName Name of the cache-policy label about which to display information.
Output
stateflag flags evaluates When to evaluate policies bound to this label: request-time or response-time.
numpol Number of polices bound to label.
hits Number of times policy label was invoked.
policyName Name of the cache policy to bind to the policy label.
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.
invoke Invoke policies bound to a virtual server or a user-defined policy label. After the invoked policies are evaluated, the flow returns to the policy with the next-lower priority.
labelType Type of policy label to invoke: an unnamed label associated with a virtual server, or user-defined policy label.
labelName Name of the policy label to invoke if the current policy rule evaluates to TRUE.
flowType Flowtype of the bound cache policy.
builtin feature The feature to be checked while applying this config
devno count
Example
i)show cache policylabel cache_http_url ii)show cache policylabel
stat cache policylabel
Displays statistics of cache policy label(s).
Synopsis
stat cache policylabel [
Arguments
labelName Name of the cache-policy label for which to display statistics. If you do not set this parameter statistics are shown for all cache-policy labels.
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 Label Hits (Hits) Number of times policy label was invoked.
Related Commands
rm cache policylabel
Removes the specified integrated caching policy label.
Synopsis
rm cache policylabel
Arguments
labelName Name of the label to be removed.
Example
rm cache policylabel cache_http_url
bind cache policylabel
Binds a cache policy to a policy label.
Synopsis
bind cache policylabel
Arguments
labelName Name of the cache policy label to which to bind the policy.
policyName Name of the cache policy to bind to the policy label.
priority Integer specifying the priority of this policy within the policy label. A lower number specifies a higher priority. The policies bound to the label are evaluated in the order of their priorities. Minimum value: 1 Maximum value: 2147483647
gotoPriorityExpression Expression or other value specifying the priority of the next policy, within the policy label, to evaluate if the current policy evaluates to TRUE. Specify one of the following values:
- NEXT - Evaluate the policy with the next higher numbered priority.
- END - Stop evaluation.
- USE_INVOCATION_RESULT - Applicable if this policy invokes another policy label. If the final goto in the invoked policy label has a value of END, the evaluation stops. If the final goto is anything other than END, the current policy label performs a NEXT.
- An expression that evaluates to a number. If you specify an expression, it’s evaluation result determines the next policy to evaluate, as follows:
- If the expression evaluates to a higher numbered priority, that policy is evaluated next.
- If the expression evaluates to the priority of the current policy, the policy with the next higher priority number is evaluated next.
- If the expression evaluates to a priority number that is numerically higher than the highest priority number, policy evaluation ends. An UNDEF event is triggered if:
- The expression is invalid.
- The expression evaluates to a priority number that is numerically lower than the current policy’s priority.
- The expression evaluates to a priority number that is between the current policy’s priority number (say, 30) and the highest priority number (say, 100), but does not match any configured priority number (for example, the expression evaluates to the number 85). This example assumes that the priority number increments by 10 for every successive policy, and therefore a priority number of 85 does not exist in the policy label.
invoke Invoke policies bound to a virtual server or a user-defined policy label. After the invoked policies are evaluated, the flow returns to the policy with the next-lower priority.
labelType Type of policy label to invoke: an unnamed label associated with a virtual server, or user-defined policy label.
Possible values: reqvserver, resvserver, policylabel
labelName Name of the policy label to invoke if the current policy rule evaluates to TRUE.
Example
i)bind cache policylabel cache_http_url pol_1 1 2 -invoke reqvserver CURRENT ii)bind cache policylabel cache_http_url pol_2 2
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.