ADC CLI Commands

policy-patClass

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

bind show rm unbind add

bind policy patClass

Binds string(s) to a pattern class. NOTE: This command is deprecated in favor of ‘bind policy patset’. NOTE: This command is deprecated.This command is deprecated in favor of ‘bind policy patset’

Synopsis

Arguments

name Name of the pattern class.

string String associated with the patclass.

Example

bind policy patclass pat1 bar xyz

show policy patClass

Displays the configured pattern class(es). NOTE: This command is deprecated in favor of ‘show policy patset’. NOTE: This command is deprecated.This command is deprecated in favor of ‘show policy patset’

Synopsis

Arguments

name Name of the pattern class.

Output

stateflag string String associated with the patclass.

index The index of the string associated with the patclass.

charset The character set of the string associated with patset.

description Description of the patclass

isDefault devno count

Example

show policy patclass pat1

rm policy patClass

Removes a pattern class. Once the pattern class is removed, all the expressions referring it have undefined values. NOTE: This command is deprecated in favor of ‘rm policy patset’. NOTE: This command is deprecated.This command is deprecated in favor of ‘rm policy patset’

Synopsis

Arguments

name Name of the pattern class.

Example

rm policy patclass pat1

unbind policy patClass

Unbinds string(s) from a pattern class. NOTE: This command is deprecated in favor of ‘unbind policy patset’. NOTE: This command is deprecated.This command is deprecated in favor of ‘unbind policy patset’

Synopsis

Arguments

name Name of the pattern class.

string String associated with the patclass.

Example

unbind policy patclass pat1 bar xyz

add policy patClass

Adds a pattern class. Each pattern class is identified by a name. More patterns (strings) can be associated with it later. NOTE: This command is deprecated. This command is deprecated in favor of ‘add policy patset’. NOTE: This command is deprecated.This command is deprecated in favor of ‘add policy patset’

Synopsis

Arguments

name Name of the pattern class. The name must not exceed 127 characters.

string String associated with the patclass.

Example

add policy patclass pat1 foo

policy-patClass