-
-
-
-
cr-policy
-
-
-
-
-
-
-
-
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!
cr-policy
The following operations can be performed on “cr-policy”:
rm | unset | set | rename | add | show |
rm cr policy
Removes a cache redirection policy. You can delete a user-defined cache redirection policy that is not bound to a cache redirection virtual server. If the policy is bound to a virtual server, you must first unbind the policy, and then remove it.
Synopsis
rm cr policy
Arguments
policyName Name of the cache redirection policy to remove.
Related Commands
unset cr policy
Unset logaction for existing cache redirection policy..Refer to the set cr policy command for meanings of the arguments.
Synopsis
unset cr policy
Example
unset cr policy pol -logAction
set cr policy
Changes the specified parameters of an existing cache redirection policy.
Synopsis
set cr policy
Arguments
policyName Name of the cache redirection policy to change.
rule Expression, or name of a named expression, against which traffic is evaluated. 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 The cache redirection action name.
logAction The log action associated with the cache redirection policy
rename cr policy
Rename a cache redirection policy.
Synopsis
rename cr policy
Arguments
policyName The name of the content switching policy.
newName The new name of the content switching policy.
Example
rename cr policy oldname newname
add cr policy
Creates a cache redirection policy. To associate the new policy with a cache redirection virtual server, use the bind cr vserver command.
Synopsis
add cr policy
Arguments
policyName Name for the cache redirection policy. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at sign (@), equal sign (=), and hyphen (-) characters. Cannot be changed after the policy is created. 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 policy” or ‘my policy’).
rule Expression, or name of a named expression, against which traffic is evaluated. 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 built-in cache redirection action: CACHE/ORIGIN.
logAction The log action associated with the cache redirection policy
Related Commands
show cr policy
Displays all existing cache redirection policies, or just the specified policy.
Synopsis
show cr policy [
Arguments
policyName Name of the cache redirection policy to display. If this parameter is omitted, details of all the policies are displayed.
Output
rule Expression, or name of a named expression, against which traffic is evaluated. 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.
boundTo Domain name.
action The CR action name.
vstype Virtual server type.
hits Total number of hits.
bindHits Total number of hits.
priority priority of bound policy
flag stateflag activePolicy Indicates whether policy is bound or not.
logAction The log action associated with the cache redirection policy
labelName Name of the label invoked.
labelType The invocation type.
builtin feature The feature to be checked while applying this config
gotoPriorityExpression Expression specifying the priority of the next policy which will get evaluated if the current policy rule evaluates to TRUE.
isDefault A value of true is returned if it is a default cr policy.
devno count
Related Commands
Share
Share
In this article
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.