< Home

display slb persistence

Function

The display slb persistence command displays the sticky session configuration of SLB.

Format

display slb persistence [ profile-name ]

Parameters

Parameter Description Value
profile-name Specifies the sticky session profile name. The specified sticky session profile name must already exist.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command displays all sticky session profile the information, including the sticky session profile name, ID, sticky session mode, and the aging time of the sticky session node.

Example

# Display the current sticky session profile information.

<sysname> display slb persistence
Persistence profile information(total 2)
----------------------------------------------------------------------------------------------------
Persistence Name       :a
Persistence ID         :0
Persistence Type       :source-ip
Persistence Aging-time :180

Persistence Name       :b
Persistence ID         :0
Persistence Type       :cookie-insert
Persistence Aging-time :180
Persistence App-cookie :abc   
------------------------------------------------------------------------------------------------------
Table 1 Description of the display slb persistence command output

Item

Description

Persistence Name

Name of a sticky session profile. Run the persistence command to set this parameter.

Persistence ID

ID of a sticky session profile. Run the persistence command to set this parameter.

Persistence Type

Sticky session mode. The default mode is the source IP address-based sticky session mode.

Persistence Aging-time

Aging time of the sticky session node:
  • The default aging time for client source IP address-based sticky session node is 180 seconds.
  • The default aging time for HTTP cookie-insert, cookie-rewrite, and cookie-passive sticky session nodes is 600 seconds.
  • The default aging time for SSL Session ID-based sticky session node is 300 seconds.

Persistence App-cookie

Cookie name of sticky session. When the sticky session mode is cookie-insert, cookie-passive, or cookie-rewrite, the name of inserted cookie can be specified.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >