cs-action¶
The following operations can be performed on "cs-action":
unset| rename| add| rm| show| set|
unset cs action¶
Use this command to remove cs action settings.Refer to the set cs action command for meanings of the arguments.
Synopsis¶
unset cs action
rename cs action¶
Renames a content switching action.
Synopsis¶
rename cs action
Arguments¶
name Existing name of the content switching action.
newName New name for the content switching action. 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. 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 name" or 'my name').
Example¶
rename cs action oldname newname
add cs action¶
Creates an action that indicates the target load balancing virtual server. This action is used to specify the target load balancing virtual server while defining a policy to support multiple policy bind support.
Synopsis¶
add cs action
Arguments¶
name Name for the content switching action. 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. Can be changed after the content switching action 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 action" or 'my action').
targetLBVserver Name of the load balancing virtual server to which the content is switched.
targetVserver Name of the VPN, GSLB or Authentication virtual server to which the content is switched.
targetVserverExpr Information about this content switching action.
comment Comments associated with this cs action.
Example¶
i)When LB is the target: add cs action act1 -targetLBVserver lb1 ii)When VPN vserver is the target: add cs action act2 -targetVserver vpn1 iii)When GSLB vserver is the target: add cs action act2 -targetVserver gslb1 iv)Using expressions to extract the LB vserver: add cs action act3 -targetVserverExpr '"lbv"+CLIENT.TCP.CS_VSERVER.NAME.AFTER_STR("csv")'
rm cs action¶
Removes a content switching action.
Synopsis¶
rm cs action
Arguments¶
name Name of the cs action.
Example¶
rm cs action act_before
show cs action¶
Displays the configuration settings of the specified content switching action or lists all the content switching actions configured on the appliance.
Synopsis¶
show cs action [
Arguments¶
name Name of the content switching action.
Output¶
stateflag targetLBVserver Target LB vserver name.
targetVserver Target VPN vserver name.
targetVserverExpr Target LB vserver expression.
hits The number of times the action has been taken.
referenceCount The number of references to the action.
undefHits The number of times the action resulted in UNDEF.
builtin feature The feature to be checked while applying this config
comment Comments associated with this cs action.
gslbBindings devno count
Example¶
show cs action
set cs action¶
Modifies the configuration settings of a content switching action.
Synopsis¶
set cs action
Arguments¶
name Name for the content switching action. 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. Can be changed after the content switching action 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 action" or 'my action').
targetLBVserver Name of the load balancing virtual server to which the content is switched.
targetVserver Name of the VPN, GSLB or Authentication virtual server to which the content is switched.
targetVserverExpr Information about this content switching action.
comment Comments associated with this cs action.
Example¶
set cs action act1 -targetLBVserver lb2 -comment 'for url'