Specifying persistent sessions

This task is only for TCP sessions in ESTABLISHED state. You can specify TCP sessions that match the permit statements in the specified ACL as persistent sessions, and set longer lifetime or never-age-out persistent sessions. A never-age-out session is not removed until the device receives a connection close request from the initiator or responder, or you manually clear the session entries.

For a TCP session in ESTABLISHED state, the priority order of the associated aging time is as follows:

The system supports specifying multiple persistent sessions.

To specify persistent sessions:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Specify persistent sessions.

session persistent acl [ ipv6 ] acl-number [ aging-time time-value ]

By default, no persistent sessions are specified.