Chapter 2 Configuring Advanced Policies 27
To unbind an advanced policy from a Load Balancing or Content Switching
virtual server by using the configuration utility
1. In the navigation pane, expand Load Balancing or Content Switching,
and then click Virtual Servers.
2. In the details pane, double-click the virtual server from which you want to
unbind the policy.
3. On the Policies tab, in the Active column, clear the check box next to the
policy that you want to unbind.
4. Click OK.
Creating Policy Labels
In addition to the built-in bind points where you set up policy banks, you can also
configure user-defined policy labels and associate policies with them.
Within a policy label, you bind policies and specify the order of evaluation of
each policy relative to others in the bank of policies for the policy label. The
NetScaler also permits you to define an arbitrary evaluation order as follows:
You can use “goto” expressions to point to the next entry in the bank to be
evaluated after the current one.
You can use an entry in a policy bank to invoke another bank.

Creating a Policy Label

Each feature determines the type of policy that you can bind to a policy label, the
type of load balancing virtual server that you can bind the label to, and the type of
content switching virtual server from which the label can be invoked. For
example, a TCP policy label can only be bound to a TCP load balancing virtual
server. You cannot bind HTTP policies to a polic y label o f this type . And yo u can
invoke a TCP policy label only from a TCP content switching virtual server.
After configuring a new policy label, you can invoke it from one or more banks
for the built-in bind points.
To create a policy label by using the NetScaler command line
At the NetScaler command prompt, to create a caching policy label, type:
add cache policylabel <policyLabelName> -evaluates req|res
At the NetScaler command prompt, to create a Content Switching policy label,
type:
add cs policylabel <policyLabelName> http|tcp|rtsp|ssl
At the NetScaler command prompt, to create a Rewrite policy label, type: