392
session log packets-active
Use
session log packets-active
to set the packet count threshold for session logging.
Use
undo session log packets-active
to restore the default.
Syntax
session log packets-active
packets-value
undo session log
packets-active
Default
The system does not output session logs based on the packet count threshold.
Views
System view
Default command level
2: System level
Parameters
packets-value
: Packet count threshold for session logging, in the range of 1 to 1000 mega-packets.
Examples
# Set the packet count threshold for session logging to 10 mega-packets.
<Sysname> system-view
[Sysname] session log packets-active 10
session log time-active
Use
session log time-active
to set the holdtime threshold for session logging.
Use
undo session log time-active
to remove the setting.
Syntax
session log time-active
time-value
undo session log time-active
Default
The system does not output session logs based on holdtime threshold.
Views
System view
Default command level
2: System level
Parameters
time-value
: Holdtime threshold, in minutes. It is a multiple of 10 in the range of 10 to 120.
Examples
# Set the holdtime threshold for session logging to 50 minutes.
<Sysname> system
[Sysname] session log time-active 50