policy-dataset¶
The following operations can be performed on "policy-dataset":
add policy dataset¶
Adds a policy dataset to the appliance.
Synopsis¶
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 or a data bound to this dataset.
Example¶
add policy dataset ts1 -type IPV4
rm policy dataset¶
Removes a dataset from the appliance.
Synopsis¶
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.
Synopsis¶
bind policy dataset <name> <value> [-index <positive_integer>] [-comment <string>]
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
comment
Any comments to preserve information about this dataset or a data bound to this dataset.
Example¶
bind policy dataset ts1 192.168.20.1 -index 2
unbind policy dataset¶
Unbind string(s) from a dataset.
Synopsis¶
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).
Synopsis¶
show policy dataset [<name>]
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 or a data bound to this dataset.
devno
count
Example¶
show policy dataset set1