Citrix Systems 9.2 Benutzerhandbuch

Seite von 302
30
Citrix NetScaler Policy Configuration and Reference Guide
Configuring a Policy Label
A policy label consists of a set of policies and invocations of other policy labels 
and virtual server-specific policy banks. An Invoke parameter enables you to 
invoke a policy label or a virtual server-specific policy bank from any other 
policy bank. A special-purpose NoPolicy entry enables you to invoke an external 
bank without processing an expression (a rule). The NoPolicy entry is a 
“dummy” policy that does not contain a rule.
For configuring policy labels from the NetScaler command line, note the 
following elaborations of the command syntax:
gotoPriorityExpression is configured as described in 
.
The type argument is required. This is unlike binding a conventional 
policy, where this argument is optional. 
You can invoke the bank of policies that are bound to a virtual server by 
using the same method as you use for invoking a policy label.
To configure a policy label by using the NetScaler command line
At the NetScaler command prompt, type:
bind cache|rewrite|responder policylabel <policylabelName> 
-policyName <policyName> -priority <priority> 
-gotoPriorityExpression <gotopriorityExpression> -invoke 
reqvserver|resvserver|policylabel <policyLabelName>|<vserverName>
To invoke a policy label from a Rewrite policy bank with a NOPOLICY entry 
by using the NetScaler command line
At the NetScaler command prompt, type:
bind rewrite global NOPOLICY <priority> 
-gotoPriorityExpression <gotopriorityExpression> 
-type REQ_OVERRIDE|REQ_DEFAULT|RES_OVERRIDE|RES_DEFAULT 
-invoke reqvserver|resvserver|policylabel 
<policyLabelName>|<vserverName>
To invoke a policy label from an Integrated Caching policy bank by using the 
NetScaler command line
At the NetScaler command prompt, type:
bind cache global NOPOLICY -priority <priority> 
-gotoPriorityExpression <gotopriorityExpression> 
-type REQ_OVERRIDE|REQ_DEFAULT|RES_OVERRIDE|RES_DEFAULT 
-invoke reqvserver|resvserver|policylabel 
<policyLabelName>|<vserverName>
Example