ADC CLI Commands

filter-global

The following operations can be performed on “filter-global”:

unbind bind show

unbind filter global

Deactivate a globally bound filter policy.

Synopsis

unbind filter global

Arguments

policyName Name of the filter policy to be unbound.

Example

Globally active filter policies can be seen using command: show filter global 1) Policy Name: reset_invalid_req Priority: 0 Done This globally active filter policy can be deactivated on Citrix ADC system by giving command: unbind filter global reset_invalid_req

bind filter global

Apply (bind) the specified filtering policy globally. Note: Filtering requires the content filtering license.

Synopsis

bind filter global ( [-priority ]) [-state ( ENABLED | DISABLED )]

Arguments

policyName Name of the filtering policy to be bound.

priority Priority assigned to the policy. Minimum value: 0 Maximum value: 64000

state State of the binding.

Possible values: ENABLED, DISABLED Default value: ENABLED

Example

To send RESET for all the HTTP requests which are not get or head type, following filter policy can be created: add filter policy reset_invalid_req -rule “METHOD != GET && METHOD != HEAD” -reqAction RESET This filter policy can be activated globally for Citrix ADC system by giving command: bind filter global reset_invalid_req

Globally active filter policies can be seen using command: show filter global 1) Policy Name: reset_invalid_req Priority: 0 Done

show filter global

Displays the globally activated filter policies.

Synopsis

show filter global

Arguments

Output

policyName The name of the filter policy.

priority The priority of the policy.

state State of the binding.

stateflag devno count

Example

show filter global 1) Policy Name: url_filter Priority: 0 2) Policy Name: reset_invalid_req Priority: 0 Done

filter-global