ADC CLI Commands

authentication-radiusPolicy

The following operations can be performed on “authentication-radiusPolicy”:

add unset show rm set

add authentication radiusPolicy

Adds a RADIUS authentication policy. The policy defines the criteria under which the Citrix ADC attempts to authenticate the user with the RADIUS server.

Synopsis

add authentication radiusPolicy []

Arguments

name Name for the RADIUS authentication policy. 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. Cannot be changed after RADIUS policy 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 authentication policy” or ‘my authentication policy’).

rule Name of the Citrix ADC named rule, or an expression, that the policy uses to determine whether to attempt to authenticate the user with the RADIUS server.

reqAction Name of the RADIUS action to perform if the policy matches.

Example

To Add a Radius Policy with rule configured as ns_true and action pointing to existing radius action named radius_action: add authentication radiuspolicy radius_policy ns_true radius_action

unset authentication radiusPolicy

Use this command to remove authentication radiusPolicy settings.Refer to the set authentication radiusPolicy command for meanings of the arguments.

Synopsis

unset authentication radiusPolicy [-rule] [-reqAction]

show authentication radiusPolicy

Displays the current settings for the specified RADIUS authentication policy. If no policy name is provided, displays a list of all RADIUS authentication policies currently configured on the Citrix ADC.

Synopsis

show authentication radiusPolicy []

Arguments

name Name of the RADIUS authentication policy.

Output

rule The new rule associated with the policy.

reqAction The new RADIUS action associated with the policy.

boundTo The entity name to which policy is bound

activePolicy priority bindPolicyType policyType devno count stateflag

Example

show authentication radiuspolicy radius_policy

rm authentication radiusPolicy

Removes a RADIUS authentication policy.

Synopsis

rm authentication radiusPolicy

Arguments

name Name of the RADIUS authentication policy to remove.

Example

To remove a Radius Policy named radius_policy: rm authentication radiuspolicy radius_policy

set authentication radiusPolicy

Configures the specified RADIUS authentication policy.

Synopsis

set authentication radiusPolicy [-rule ] [-reqAction ]

Arguments

name Name of the RADIUS authentication policy.

rule Name of the Citrix ADC named rule, or an expression, that the policy uses to determine whether to attempt to authenticate the user with the RADIUS server.

reqAction Name of the RADIUS action to perform if the policy matches.

Example

To Set a Radius Policy with a different rule and different radius action: set authentication radiuspolicy radius_policy -rule ‘req.http.url contains “testradius”’ -reqAction radius_action

authentication-radiusPolicy