ca action¶
The following operations can be performed on "ca action":
add | show | set | unset | rm | rename
add ca action¶
Creates a content adapation action. This action must later be invoked in the 'add ca policy' command.
Synopsys¶
add ca action <name> [-accumResSize <KBytes>] [-lbvserver <string>] [-comment <string>] -type <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 NetScaler 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 NetScaler must lookup for the response on the T2100 appliance or serve the response directly from the server.
Possible values: nolookup, lookup, noop
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.
Synopsys¶
show ca action [<name>]
Arguments¶
name
Name of the content accelerator action.
Outputs¶
type
Type of content accelerator action.
stateflag
accumResSize
Size of the data, in KB, that the server must respond with. The NetScaler 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¶
- show ca action 2. show ca action act_insert
set ca action¶
Modifies the specified parameters of a Content Accelerator action.
Synopsys¶
set ca action <name> [-accumResSize <KBytes>] [-type <type>] [-lbvserver <string>] [-comment <string>]
Arguments¶
name
Name of the Content Accelerator policy to modify.
accumResSize
Size of the data, in KB, that the server must respond with. The NetScaler uses this data to compute a hash which is then used to lookup within the T2100 appliance.
type
Specifies whether the NetScaler 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.
Synopsys¶
unset ca action <name> [-accumResSize] [-type] [-lbvserver] [-comment]
rm ca action¶
Removes a ca action.
Synopsys¶
rm ca action <name>
Arguments¶
name
Name of the Content Accelerator action to remove.
Example¶
rm ca action act_before
rename ca action¶
Renames a Content Accelerator action.
Synopsys¶
rename ca action <name>@ <newName>@
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 NetScaler 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