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.
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.