filter global¶
The following operations can be performed on "filter global":
bind filter global¶
Apply (bind) the specified filtering policy globally. Note: Filtering requires the content filtering license.
Synopsys¶
bind filter global (<policyName> [-priority <positive_integer>]) [-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 RESETThis filter policy can be activated globally for NetScaler system by giving command:bind filter global reset_invalid_reqGlobally active filter policies can be seen using command:show filter global1) Policy Name: reset_invalid_req Priority: 0 Done
unbind filter global¶
Deactivate a globally bound filter policy.
Synopsys¶
unbind filter global <policyName>
Arguments¶
policyName
Name of the filter policy to be unbound.
Example¶
Globally active filter policies can be seen using command:show filter global1) Policy Name: reset_invalid_req Priority: 0 DoneThis globally active filter policy can be deactivated on NetScaler system by giving command:unbind filter global reset_invalid_req
show filter global¶
Displays the globally activated filter policies.
Synopsys¶
show filter global
Outputs¶
policyName
The name of the filter policy.
priority
The priority of the policy.
state
State of the binding.
stateflag
devno
count
Example¶
show filter global1) Policy Name: url_filter Priority: 02) Policy Name: reset_invalid_req Priority: 0 Done