ADC CLI Commands

ca-action

The following operations can be performed on “ca-action”:

set unset add rm show rename

set ca action

Modifies the specified parameters of a Content Accelerator action.

Synopsis

set ca action [-accumResSize ] [-type ] [-lbvserver ] [-comment ]

Arguments

name Name of the Content Accelerator policy to modify.

accumResSize Size of the data, in KB, that the server must respond with. The Citrix ADC uses this data to compute a hash which is then used to lookup within the T2100 appliance.

type Specifies whether the Citrix ADC must lookup for the response on the T2100 appliance or serve the response directly from the server.

Possible values: nolookup, lookup, noop

lbvserver Name of the load balancing virtual server that has the T2100 appliances as services.

comment Information about the content accelerator action.

Example

set ca action caact1 -accumresize 43”

unset ca action

Use this command to remove ca action settings.Refer to the set ca action command for meanings of the arguments.

Synopsis

unset ca action [-accumResSize] [-type] [-lbvserver] [-comment]

add ca action

Creates a content adapation action. This action must later be invoked in the ‘add ca policy’ command.

Synopsis

add ca action [-accumResSize ] [-lbvserver ] [-comment ] -type

Arguments

name Name of the content accelerator action. 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.

accumResSize Size of the data, in KB, that the server must respond with. The Citrix ADC uses this data to compute a hash which is then used to lookup within the T2100 appliance.

lbvserver Name of the load balancing virtual server that has the T2100 appliances as services.

comment Information about the content accelerator action.

type Specifies whether the Citrix ADC must lookup for the response on the T2100 appliance or serve the response directly from the server.

Possible values: nolookup, lookup, noop

rm ca action

Removes a ca action.

Synopsis

rm ca action

Arguments

name Name of the Content Accelerator action to remove.

Example

rm ca action act_before

show ca action

Displays information about a content accelerator action. If no name is specified, this command displays information of all available content accelerator actions.

Synopsis

show ca action []

Arguments

name Name of the content accelerator action.

Output

type Type of content accelerator action.

stateflag accumResSize Size of the data, in KB, that the server must respond with. The Citrix ADC uses this data to compute a hash which is then used to lookup within the T2100 appliance.

lbvserver Name of the load balancing virtual server that has the T2100 appliances as services.

isDefault A value of true is returned if it is a default content accelerator action.

hits The number of times the action has been taken.

builtin Flag to determine whether content accelerator action is built-in or not

flags comment Information about the content accelerator action.

devno count

Example

  1. show ca action
  2. show ca action act_insert

rename ca action

Renames a Content Accelerator action.

Synopsis

rename ca action @ @

Arguments

name Existing name of the Content Accelerator action.

newName New name for the content accelerator action. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) hash (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Can be changed after the content accelerator policy is added.

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 content accelerator action” or ‘my content accelerator action’).

Example

rename ca action oldname newname

ca-action