R3102-R3103-HP 6600/HSR6600 Routers Security Command Reference
435
Parameters
max-entries: Specifies the maximum number of sessions. The value range is 1 to 10000000.
slot slot-number: Specifies a slot.
The following matrix shows the slot slot-number option and hardware compatibility:
Hardware Com
p
atibilit
y
6602 No
HSR6602 Yes
6604/6608/6616 Yes
Usage guidelines
For distributed devices, you can set the maximum number of sessions based on slots.
The maximum number should not exceed the session count specification of a device or a card.
Examples
# Set the maximum number of sessions to 100000.
<Sysname> system
[Sysname] session max-entries 100000
session persist acl
Use session persist acl to specify the persistent session rule. All sessions permitted by the specified ACL
are considered persistent sessions.
Use undo session persist to remove the configuration.
Syntax
session persist acl acl-number [ aging-time time-value ]
undo session persist
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.
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.










