ADC CLI Commands

policy-patsetFile

The following operations can be performed on “policy-patsetFile”:

rm add import show update

rm policy patsetFile

Deletes the specified patset file.

Synopsis

rm policy patsetFile

Arguments

name Name to assign to the imported patset file. Unique name of the pattern set. Not case sensitive. Must begin with an ASCII letter or underscore (_) character and must contain only alphanumeric and underscore characters.

Example

rm policy patsetfile patsetfile1

add policy patsetFile

Loads the patterns from the specified patset file.

Synopsis

add policy patsetFile [-comment ]

Arguments

name Name to assign to the imported patset file. Unique name of the pattern set. Not case sensitive. Must begin with an ASCII letter or underscore (_) character and must contain only alphanumeric and underscore characters.

comment Any comments to preserve information about this patsetfile.

Example

add policy patsetfile patsetfile1

import policy patsetFile

Import a patset file to the Citrix ADC and assign it a name.

Synopsis

import policy patsetFile \[-overwrite] \[-delimiter ] \[-charset \( ASCII | UTF\_8 )]

Arguments

src URL in protocol, host, path, and file name format from where the patset file will be imported. If file is already present, then it can be imported using local keyword (import patsetfile local:filename patsetfile1) NOTE: The import fails if the object to be imported is on an HTTPS server that requires client certificate authentication for access

name Name to assign to the imported patset file. Unique name of the pattern set. Not case sensitive. Must begin with an ASCII letter or underscore (_) character and must contain only alphanumeric and underscore characters.

overwrite Overwrites the existing file

delimiter patset file patterns delimiter. Default value: 10

charset Character set associated with the characters in the string.

Possible values: ASCII, UTF_8

Example

import policy patsetfile http://www.example.com/patterns patsetfile1

show policy patsetFile

Displays a list of all the imported patset files on the Citrix ADC.

Synopsis

show policy patsetFile [ | -imported]

Arguments

name Name to assign to the imported patset file. Unique name of the pattern set. Not case sensitive. Must begin with an ASCII letter or underscore (_) character and must contain only alphanumeric and underscore characters.

imported When set, display only shows all imported patsetfiles. Default value: 0

Output

src URL in protocol, host, path, and file name format from where the patset file will be imported. If file is already present, then it can be imported using local keyword (import patsetfile local:filename patsetfile1) NOTE: The import fails if the object to be imported is on an HTTPS server that requires client certificate authentication for access

delimiter patset file patterns delimiter.

charset Character set associated with the characters in the string.

totalPatterns Total number of patterns in the patset file.

boundPatterns Total number of patterns bound to a patset.

patsetName The patset with which the patsetfile is associated.

comment Any comments to preserve information about this patsetfile.

bindStatusCode The status code of pattern bindings to patset.

bindStatus The status of pattern bindings to patset.

devno count stateflag

Example

show policy patsetfile

update policy patsetFile

Loads an updated pattern set from specified patset file.

Synopsis

update policy patsetFile

Arguments

name Name to assign to the imported patset file. Unique name of the pattern set. Not case sensitive. Must begin with an ASCII letter or underscore (_) character and must contain only alphanumeric and underscore characters.

Example

update policy patsetfile patsetfile1

policy-patsetFile