Skip to content

authentication policylabel

The following operations can be performed on "authentication policylabel":

add | rm | bind | unbind | rename | show | stat

add authentication policylabel

Creates a user-defined authentication policy label.

Synopsys

add authentication policylabel <labelName>

Arguments

labelName

Name for the new authentication policy label.

Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters.

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 authentication policy label? or ?authentication policy label?).

Example

add authentication policylabel trans_http_url

rm authentication policylabel

Removes an authorization policy label.

Synopsys

rm authentication policylabel <labelName>

Arguments

labelName

Name of the authorization policy label to remove.

Example

rm authorization policylabel trans_http_url

bind authentication policylabel

Binds an authentication policy to <authentication policy label>.

Synopsys

bind authentication policylabel <labelName> -policyName <string> -priority <positive_integer> [-gotoPriorityExpression <expression>] [-nextFactor <string>]

Arguments

labelName

Name of the authentication policy label to which to bind the policy.

policyName

Name of the authentication policy to bind to the policy label.

Example

i)  bind authentication policylabel authn_label_1 -policyName authn_pol_1 -priority 1   ii) bind authentication policylabel authn_label_2 -policyName authn_pol_2 -priority 2 -nextFactor authn_label_1 -gotoPriorityExpression next

unbind authentication policylabel

Unbinds the specified policy from the specified authorization policy label.

Synopsys

unbind authentication policylabel <labelName> -policyName <string> [-priority <positive_integer>]

Arguments

labelName

Name for the new authentication policy label.

Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters.

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 authentication policy label? or ?authentication policy label?).

policyName

Name of the authentication policy to bind to the policy label.

priority

Priority of the NOPOLICY to be unbound.

Minimum value: 1

Maximum value: 2147483647

Example

unbind authorization policylabel trans_http_url pol_1

rename authentication policylabel

Rename a authn policy label.

Synopsys

rename authentication policylabel <labelName>@ <newName>@

Arguments

labelName

The name of the auth policy label

newName

The new name of the auth policy label

Example

rename authn policy label oldname newname

show authentication policylabel

Displays the current settings for the specified authentication policy label.If no policy name is provided, displays a list of all authentication policy labels currently configured on the NetScaler appliance.

Synopsys

show authentication policylabel [<labelName>]

Arguments

labelName

Name of the authorization policy label.

summary

fullValues

format

level

Outputs

stateflag

numpol

Number of polices bound to label.

hits

Number of times policy label was invoked.

policyName

Name of the authentication policy to bind to the policy label.

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.

flowType

Flowtype of the bound authentication policy.

description

Description of the policylabel

flags

nextFactor

On success invoke label.

devno

count

Example

i)  show authentication policylabel trans_http_url  ii) show authentication policylabel

stat authentication policylabel

Displays statistics for the specified authentication policy label.If no authentication policy label is specified, displays a list of all authentication policy labels.

Synopsys

stat authentication policylabel [<labelName>] [-detail] [-fullValues] [-ntimes <positive_integer>] [-logFile <input_filename>] [-clearstats ( basic | full )]

Arguments

labelName

Name of the authentication policy label.

clearstats

Clear the statsistics / counters

Possible values: basic, full

Outputs

count

devno

stateflag

Outputs

Policy Label Hits (Hits)

Number of times policy label was invoked.

Was this article helpful?