R3303-HP HSR6800 Routers Security Command Reference

411
If the difference between the session aging time and the value specified by the shorten-time argument is
less than 5 seconds, the session aging time becomes 5 seconds.
Examples
# Configure the session aging time to shorten by 100 seconds when the session ratio exceeds 80 percent,
and to restore the normal values when the session ratio equals or drops below 20 percent.
<Sysname> system-view
[Sysname] session early-ageout 100 threshold-high 80 threshold-low 20
session log bytes-active
Use session log bytes-active to set the byte count threshold for session logging.
Use undo session log bytes-active to restore the default.
Syntax
session log bytes-active bytes-value
undo session log bytes-active
Default
The system does not output session logs based on the byte count threshold.
Views
System view
Default command level
2: System level
Parameters
bytes-value: Byte count threshold for session logging, in the range of 1 to 1000 megabytes.
Examples
# Set the byte count threshold for session logging to 10 megabytes.
<Sysname> system-view
[Sysname] session log byte-active 10
session log enable
Use session log enable to enable the session logging function.
Use undo session log enable to disable the session logging function.
Syntax
session log enable [ acl acl-number ] { inbound | outbound }
undo session log enable [ acl acl-number ] { inbound | outbound }
Default
The session logging function is disabled.
Views
Interface view