Product Documentation

policy dataset

Sep 12, 2016

The following operations can be performed on "policy dataset":

add | rm | bind | unbind | show

add policy dataset

Adds a policy dataset to the appliance.

Synopsys

add policy dataset <name> <type> [-comment <string>]

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

rm policy dataset

Removes a dataset from the appliance.

Synopsys

rm policy dataset <name>

Arguments

name

Name of the dataset to remove.

Example

rm policy dataset pat1

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.

Synopsys

bind policy dataset <name> <value> [-index <positive_integer>]

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

unbind policy dataset

Unbind string(s) from a dataset.

Synopsys

unbind policy dataset <name> <value>

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

show policy dataset

Display the configured dataset(s).

Synopsys

show policy dataset [<name>]

Arguments

name

Name of the dataset. Must not exceed 127 characters.

Outputs

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