The persistence command references a sticky session profile.
The undo persistence command cancels the reference of a sticky session profile by a virtual server. That is, the sticky session function is disabled.
| Parameter | Description | Value |
|---|---|---|
| persistence-name | Specifies the sticky session profile name. | The specified sticky session profile name must already exist. The name must start with a letter and cannot be "all", "vsys", or "all-systems". |
A virtual server enables the sticky session function by referencing a sticky session profile.
When a virtual server references a sticky session profile, the protocol configuration of the virtual server cannot conflict with the sticky session configuration of the referenced sticky session profile.
If the virtual server protocol is SSL, the sticky session mode can be session-id or source-ip. If the virtual server protocol is HTTP or HTTPS (SSL uninstallation is configured for HTTPS), the sticky session mode can be cookie-insert, cookie-passive, cookie-rewrite, or source-ip. If the virtual server protocol is another protocol, the sticky session mode can only be source-ip. If the sticky session mode is not selected correctly, a prompt "virtual server protocol conflicts with the session persistence mode" is displayed.