F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Access Control Command Reference-6PW100
92
Examples
# Create an interzone instance from security zone Trust to security zone Untrust, and enable interzone
session logging.
<Sysname> system-view
[Sysname] interzone source Trust destination Untrust
[Sysname-interzone-Trust-Untrust] session log enable
Related commands
interzone (see Access Control Command Reference).
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