F3215-HP Load Balancing Module Security Command Reference-6PW101

234
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
Default command level
2: System level
Parameters
acl-number: ACL number, in the range of 2000 to 3999.
aging-time time-value: Specifies the aging time for persistent sessions, in hours. The value of the
time-value argument ranges from 0 to 360 and defaults to 24. A value of 0 means that the persistent
sessions are never aged out.