Skip to content

videooptimization global

The following operations can be performed on "videooptimization global":

bind | unbind | show

bind videooptimization global

Activates the specified video optimization policy for all requests and responses sent to the NetScaler appliance.

Synopsys

bind videooptimization global -policyName <string> -priority <positive_integer> [-gotoPriorityExpression <expression>] [-type <type>] [-invoke (-labelType ( vserver | policylabel ) -labelName <string>) ]

Arguments

policyName

Name of the video optimization policy to activate.

priority

Positive integer specifying the priority of the policy. A lower number specifies a higher priority. Policies are evaluated in the order of their priority numbers, and the first policy that matches the request is applied.

Minimum value: 1

Maximum value: 2147483647

gotoPriorityExpression

Expression or other value specifying the next policy to evaluate if the current policy evaluates to TRUE.

type

Bind point to which to bind the policy. Available settings function as follows:

  • REQ_OVERRIDE - Request override. Binds the policy to the priority request queue.

  • REQ_DEFAULT - Binds the policy to the default request queue.

  • RES_OVERRIDE - Response override.

  • RES_DEFAULT - Binds the policy to the default response queue.

Possible values: REQ_OVERRIDE, REQ_DEFAULT, RES_OVERRIDE, RES_DEFAULT

invoke

If the current policy evaluates to TRUE, terminate evaluation of policies bound to the current policy label, and then forward the request to the specified virtual server or

evaluate the specified policy label.

labelType

Type of invocation, Available settings function as follows:

  • vserver - Forward the request to the specified virtual server.

  • policylabel - Invoke the specified policy label.

Possible values: vserver, policylabel

labelName

Name of the policy label to invoke. If the current policy evaluates to TRUE, the invoke parameter is set, and Label Type is policylabel.

Example

i)  bind videooptimization global -policyName pol1 -priority 100

unbind videooptimization global

Unbind the specified video optimization policy from videooptimization global.

Synopsys

unbind videooptimization global -policyName <string> [-type <type>] [-priority <positive_integer>]

Arguments

policyName

Name of the policy to unbind.

type

The bindpoint from which the policy is to be unbound.

Possible values: REQ_OVERRIDE, REQ_DEFAULT, RES_OVERRIDE, RES_DEFAULT

priority

Priority of the videooptimization policy to be unbound.

Minimum value: 1

Maximum value: 2147483647

Example

unbind videooptimization global pol1

show videooptimization global

Displays the list of policies bound to the specified video optimization global bindpoint.If bindpoint is not specified, displays a list of all policies bound to video optimization global.

Synopsys

show videooptimization global [-type <type>]

Arguments

type

Specifies the bind point whose policies you want to display.

Possible values: REQ_OVERRIDE, REQ_DEFAULT, RES_OVERRIDE, RES_DEFAULT

Outputs

stateflag

policyName

Name of the video optimization policy.

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.

numpol

number of polices bound.

globalBindType

devno

count

Example

show videooptimization global