394
Default
No persistent session rule is specified.
Views
System view
Default command level
2: System level
Parameters
acl-number
: Specifies an ACL number in the range of 2000 to 3999.
aging-time
time-value
: Specifies the aging time for persistent sessions, in hours. The value range
for the
time-value
argument is 0 to 360 and defaults to 24. A value of 0 means that the persistent
sessions are never aged out.
seconds
: Specifies the aging time for persistent sessions, in seconds. If this keyword is specified,
the value range for the
time-value
argument is 5 to 100000 seconds.
Usage guidelines
Persistent sessions will not be removed because they are not matched with any packets within the
aging time. You can manually remove such sessions when necessary.
A persistent session rule can reference only one ACL.
Examples
# Configure all sessions matching ACL 2000 as persistent sessions, setting the aging time of the
sessions to 72 hours.
<Sysname> system-view
[Sysname] session persist acl 2000 aging-time 72
Related commands
reset session