486
Parameters
time-value: Sets the interval in minutes. The value range for the time-value argument is 10 to 120 and the
value must be integer times of 10.
Usage guidelines
If you set both time-based and traffic-based logging, the device outputs a session log when whichever is
reached. After outputting a session log, the device resets the traffic counter and restarts the interval for the
session.
Examples
# Configure the device to output session logs at 50-minute intervals.
<Sysname> system
[Sysname] session log time-active 50
Related commands
• session log enable
• session log bytes-active
• session log packets-active
session persistent acl
Use session persistent acl to specify persistent sessions.
Use undo session persistent acl to remove the configuration.
Syntax
session persistent acl [ ipv6 ] acl-number [ aging-time time-value ]
undo session persistent acl [ ipv6 ]
Default
No persistent sessions are specified.
Views
System view
Predefined user roles
network-admin
Parameters
ipv6: Specifies an IPv6 ACL. To specify an IPv4 ACL, do not specify this keyword.
acl-number: Specifies an ACL by its number in the range of 2000 to 3999.
aging-time time-value: Sets the aging time for persistent sessions in hours. The value range for the
time-value argument is 0 to 360, and the default value is 24. To disable the aging for persistent sessions,
set the value to 0.
Usage guidelines
This command is effective on only TCP sessions in ESTABLISHED state.
For a TCP session in ESTABLISHED state, the priority of the aging time is as follows:
• Aging time for persistent sessions.