R0106-HP MSR Router Series Security Command Reference(V7)
485
Examples
# Configure the device to output session logs on a per-10-mega-packet basis.
<Sysname> system-view
[Sysname] session log packets-active 10
Related commands
• session log enable
• session log time-active
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
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.










