ADC CLI Commands

spillover-policy

The following operations can be performed on “spillover-policy”:

rm set unset add stat show rename

rm spillover policy

Removes a spillover policy.

Synopsis

rm spillover policy

Arguments

name Name of the spillover policy.

set spillover policy

Used to change the expression or other parameters of an existing policy.

Synopsis

set spillover policy [-rule ] [-action ] [-comment ]

Arguments

name Name of the spillover policy.

rule Expression to be used by the spillover policy.

action Action for the spillover policy. Action is created using add spillover action command

comment Any comments that you might want to associate with the spillover policy.

Example

set spillover policy pol1 -rule “SYS.VSERVER(“abc”).ACTIVESERVICS.LE(1)” set spillover policy pol2 -action act4”

unset spillover policy

Use this command to remove spillover policy settings.Refer to the set spillover policy command for meanings of the arguments.

Synopsis

unset spillover policy -comment

add spillover policy

Add a spillover policy. SPILLOVER policies that can be added are based on vserver expressions.

Synopsis

add spillover policy -rule -action [-comment ]

Arguments

name Name of the spillover policy.

rule Expression to be used by the spillover policy.

action Action for the spillover policy. Action is created using add spillover action command

comment Any comments that you might want to associate with the spillover policy.

Example

add spillover policy pol1 -rule “SYS.VSERVER(“abc”).ACTIVESERVICES.LE(2) -action act1 add spillover policy pol2 -rule “SYS.VSERVER(“abc”).CONNECTIONS.GT(500) -action act2”

stat spillover policy

Displays statistics for all spillover policies currently configured on the Citrix ADC, or detailed statistics for the specified policy.

Synopsis

stat spillover policy [] \[-detail] \[-fullValues] \[-ntimes <positive\_integer>] \[-logFile <input\_filename>] \[-clearstats \( basic | full )]

Arguments

name Name of the spillover 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

show spillover policy

Displaying the policy-related information.

Synopsis

show spillover policy []

Arguments

name Name of the spillover policy.

Output

stateflag rule Expression to be used by the spillover policy.

action Action for the spillover policy. Action is created using add spillover action command

boundTo The name of the entity to which the policy is bound.

hits The number of times the policy has been hit.

undefHits Number of policy UNDEF hits.

activePolicy Indicates whether policy is bound or not.

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 comments that you might want to associate with the spillover policy.

builtin Flag to determine if compression policy is builtin or not

feature The feature to be checked while applying this config

gslbBindings Number of times the policy bound to a gslb vserver

type devno count

rename spillover policy

Renames a spillover policy.

Synopsis

rename spillover policy @ @

Arguments

name Existing name of the policy.

newName New name for the spillover policy. 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. Choose a name that reflects the function that the policy performs.

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’).

Example

rename spillover policy oldname newname

spillover-policy