HP MSR2000/3000/4000 Router Series Security Command Reference
375
session log time-active
Use session log time-active to set the time-based session logging.
Use undo session log time-active to restore the default.
Syntax
session log time-active time-value
undo session log time-active
Default
The device does not output session logs.
Views
System view
Predefined user roles
network-admin
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
Support for this command depends on your device model.
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.