ADC CLI Commands

audit-nslogPolicy

The following operations can be performed on “audit-nslogPolicy”:

set add rm show

set audit nslogPolicy

Modifies the specified parametrers of an existing nslog policy.

Synopsis

set audit nslogPolicy [-rule ] [-action ]

Arguments

name Name of the nslog policy to modify.

rule Name of the Citrix ADC named rule, or an expression, that defines the messages to be logged to the nslog server.

action Nslog server action that is performed when this policy matches. NOTE: An nslog server action must be associated with an nslog audit policy.

add audit nslogPolicy

Adds a policy that defines which messages to log to the specified nslog server.

Synopsis

add audit nslogPolicy

Arguments

name Name for the policy. Must begin with a letter, number, or the underscore character (_), and must consist only of letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at sign (@), equals (=), colon (:), and underscore characters. Cannot be changed after the nslog 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 nslog policy” or ‘my nslog policy’).

rule Name of the Citrix ADC named rule, or an expression, that defines the messages to be logged to the nslog server.

action Nslog server action that is performed when this policy matches. NOTE: An nslog server action must be associated with an nslog audit policy.

rm audit nslogPolicy

Removes the specified nslog policy and associated configuration.

Synopsis

rm audit nslogPolicy

Arguments

name Name of the nslog policy to remove.

show audit nslogPolicy

Displays the current configuration of the specified nslog policy. If no nslog policy is specified, displays a list of all nslog policies currently configured on the Citrix ADC.

Synopsis

show audit nslogPolicy []

Arguments

name Name of the policy.

Output

stateflag rule Name of the Citrix ADC named rule, or an expression, that defines the messages to be logged to the nslog server.

action Nslog server action that is performed when this policy matches. NOTE: An nslog server action must be associated with an nslog audit policy.

boundTo The entity name to which policy is bound

activePolicy priority bindPolicyType policyType builtin Indicates that a variable is a built-in (SYSTEM INTERNAL) type.

feature The feature to be checked while applying this config

expressionType Type of policy (Classic/Advanced)

devno count

audit-nslogPolicy