HP VPN Firewall Appliances Access Control Command Reference

Table Of Contents
90
Examples
# Set the holdtime threshold for session logging to 50 minutes.
<Sysname> system
[Sysname] session log time-active 50
session mode hybrid
Use session mode hybrid to configure the hybrid mode for session management. In this mode, session
management can process both bidirectional sessions and unidirectional sessions.
Use undo session mode to configure the bidirectional mode.
Syntax
session mode hybrid
undo session mode
Default
The session management feature operates in bidirectional mode to process only bidirectional sessions.
Views
System view
Default command level
2: System level
Usage guidelines
In a unidirectional session, only the packets in one direction pass the device, and the packets in the
opposite direction do not pass the device.
In a bidirectional session, all packets in any direction pass the device.
Examples
# Configure the hybrid mode for session management.
<Sysname> system-view
[Sysname] session mode unidirection
session persist acl
Use session persist acl to specify the persistent session rule. All sessions permitted by the specified ACL
are considered persistent sessions.
Use undo session persist to remove the configuration.
Syntax
session persist acl acl-number [ aging-time time-value ]
undo session persist
Default
No persistent session rule is specified.
Views
System view