No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
session

session

Function

Using the session command, you can set the maximum number of sessions that can be saved and the timeout period of a saved session.

Using the undo session command, you can restore the default configuration.

By default, a maximum of 3600 sessions can be saved, and the timeout period of a saved session is 128.

Format

session { cachesize size | timeout time } *

undo session { cachesize | timeout } *

Parameters

Parameter

Description

Value

cachesize size

Sets the maximum number of sessions that can be saved on the SSL server.

The value is an integer that ranges from 1 to 256.

timeout time

Sets the timeout period of a saved session.

The value is an integer that ranges from 1800 to 72000, in seconds.

Views

Server SSL policy view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An SSL server and an SSL client carry out a complex SSL handshake to establish a session. To streamline the SSL handshake process, the SSL protocol allows the server and client to use the previously negotiated parameters to establish new sessions. Therefore, the SSL server must store session information. The session command configures the maximum number of sessions that can be saved and the timeout period of a saved session.

  • If the number of saved sessions reaches the maximum number, the SSL client stops saving new sessions.
  • When the timeout period of a session expires, the SSL server deletes the session.

Precautions

If you run the session command multiple times in the same server SSL policy view, only the latest configuration takes effect.

Example

# Set the maximum number of sessions that can be saved to 50, and the timeout period of a saved session to 7200s.

<Huawei> system-view
[Huawei] ssl policy users type server
[Huawei-ssl-policy-users] session cachesize 50 timeout 7200
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202543

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next