ADC CLI Commands

policy-dataset

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

show policy dataset

Display the configured dataset(s).

Synopsis

show policy dataset []

Arguments

name Name of the dataset. Must not exceed 127 characters.

Output

stateflag value Value of the specified type that is associated with the dataset.

index The index of the value (ipv4, ipv6, number) associated with the set.

description Description of the set

type Type of value to bind to the dataset.

indexType Index type.

MaxIndex Maximum number of values bounded to dataset. The maxindex value will not be decreased when we unbind a value from the dataset. This field is used in auto-generated indexing type.

comment Any comments to preserve information about this dataset.

devno count

Example

show policy dataset set1

add policy dataset

Adds a policy dataset to the appliance.

Synopsis

add policy dataset [-comment ]

Arguments

name Name of the dataset. Must not exceed 127 characters.

type Type of value to bind to the dataset.

Possible values: ipv4, number, ipv6, ulong, double, mac

comment Any comments to preserve information about this dataset.

Example

add policy dataset ts1 -type IPV4

bind policy dataset

Binds a value of the specified type to the dataset. If the first value is bound by using an index label, the other bind statements to that set should also provide an index.

Synopsis

bind policy dataset [-index ]

Arguments

name Name of the dataset to which to bind the value.

value Value of the specified type that is associated with the dataset.

index The Index of the value associated with set. Minimum value: 1 Maximum value: 4294967290

Example

bind policy dataset ts1 192.168.20.1 -index 2

rm policy dataset

Removes a dataset from the appliance.

Synopsis

rm policy dataset

Arguments

name Name of the dataset to remove.

Example

rm policy dataset pat1

unbind policy dataset

Unbind string(s) from a dataset.

Synopsis

unbind policy dataset

Arguments

name Name of the dataset from which to unbind the value.

value Value to unbind from the dataset.

Example

unbind policy dataset pat1 bar xyz

policy-dataset