Configure persistence types that do not require a rule

To configure persistence, you must first set up a load balancing virtual server, as described in Setting Up Basic Load Balancing. You then configure persistence on the virtual server.

To configure persistence on a virtual server by using the CLI

At the command prompt, type the following commands to configure persistence and verify the configuration:

set lb vserver <name> -PersistenceType <type> [-timeout <integer>]

show lb vserver  


set lb vserver Vserver-LB-1 -persistenceType SOURCEIP -timeout 60

show lb vserver

Timeout is the time period for which a persistence session is in effect.The timeout default and minimum values (in minutes) vary based on the persistence type as listed in the following table.

persistence type Default value Minimum value Maximum value
Cookie insert/group cookie insert 2 0 1440
Other persistence types 2 2 1440


  • Group cookie insert persistence type can be set on the load balancing group.

  • For IP-based persistence, you can also set the persistMask parameter.

To configure persistence on a virtual server by using the GUI

  1. Navigate to Traffic Management > Load Balancing > Virtual Servers, and open the virtual server.
  2. In Advanced Settings, select Persistence, and specify a persistence type other than RULE.