The cookie-name command configures the name of a cookie carrying sticky session information.
The undo cookie-name command deletes the name of a cookie carrying sticky session information.
| Parameter | Description | Value |
|---|---|---|
| cookie-value | Specifies the name of a cookie carrying sticky session information. | The value is a string of 1 to 32 characters containing only uppercase and lowercase letters, digits, and special characters, such as periods (.), hyphens (-), and underscores (_). |
When the sticky session mode is cookie-insert, cookie-passive, or cookie-rewrite, you can run the cookie-name command to configure the name of a cookie carrying sticky session information. For example, the default format for the sticky session information of an SLB module inserted into the cookie is SLBServerpool=example.xxxx. The cookie-name cookie-value command can be used to set the inserted information to cookie-value=example.xxxx.
When the sticky session mode is session-id or source-ip, this function is not supported.