ADC CLI Commands

ipset

The following operations can be performed on “ipset”:

show bind add rm unbind

show ipset

Displays the settings of all IP sets configured on the Citrix ADC, or of the specified IP set.

Synopsis

show ipset []

Arguments

name Name of the IP set whose details you want to display.

Output

td Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0.

IPAddress One or more IP addresses bound to the IP set.

stateflag state flag

flags ipSetRefcount Used to keep reference count of IP

devno count

Example

show network ipset

bind ipset

Binds specified IP addresses to an IP set.

Synopsis

bind ipset @ ...

Arguments

name Name of the IP set to which to bind IP addresses.

IPAddress SNIP or MIP addresses, configured on the Citrix ADC, to be bound to the IP set. (If using the CLI, use spaces to separate multiple addresses.)

Example

bind ipset ipset_1 10.102.1.10

add ipset

Creates an IP set to which you can bind subnet IP (SNIP) or mapped IP (MIP) addresses that have been configured on the Citrix ADC.

Synopsis

add ipset [-td ]

Arguments

name Name for the IP set. Must begin with a letter, number, or the underscore character (_), and can consist of letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at sign (@), equals (=), colon (:), and underscore characters. Cannot be changed after the IP set is created. Choose a name that helps identify the IP set.

td Integer value that uniquely identifies the traffic domain in which you want to configure the entity. If you do not specify an ID, the entity becomes part of the default traffic domain, which has an ID of 0. Minimum value: 0 Maximum value: 4094

Example

add ipset pool1

rm ipset

Removes an IP set from the Citrix ADC.

Synopsis

rm ipset ...

Arguments

name Name of the IP set to be removed.

Example

rm ipset pool1

unbind ipset

Unbinds the associated IP addresses from an IP set.

Synopsis

unbind ipset @ ...

Arguments

name Name of the IP set from which to unbind IP addresses.

IPAddress IP addresses to be unbound from the IP set. (If using the CLI, use spaces to separate multiple addresses.)

Example

unbind ipset ipset_1 10.102.1.10

ipset