Session Log Enable - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Configure the device to output session logs on a per-10-mega-packet basis.
<Sysname> system-view
[Sysname] session statistics enable
[Sysname] session log packets-active 10
Related commands

session log enable

session statistics enable
session log enable
Use session log enable to enable session logging.
Use undo session log enable to disable session logging.
Syntax
session log enable { ipv4 | ipv6 } [ acl acl-number ] { inbound | outbound }
undo session log enable { ipv4 | ipv6 } [ acl acl-number ] { inbound | outbound }
Default
Session logging is disabled.
Views
Interface view
Predefined user roles
network-admin
Parameters
ipv4: Logs IPv4 sessions.
ipv6: Logs IPv6 sessions.
acl acl-number: Specifies an ACL by its number in the range of 2000 to 3999.
inbound: Specifies the inbound direction.
outbound: Specifies the outbound direction.
Usage guidelines
If you do not specify an ACL, this command enables session logging for all IPv4 or IPv6 sessions on
the interface.
If you do not specify the inbound or the outbound keyword, this command enables session logging
on both directions.
Up to one IPv4 ACL and one IPv6 ACL can be applied to each direction.
The session logging feature must work with the flow log feature to generate session logs. For
information about flow log, see Network Management and Monitoring.
After session logging is enabled, the device outputs session logs as follows:
Outputs a session log when the specified traffic threshold or interval is reached.
Outputs a session log when a session entry is created or removed only if the logging for session
creation or deletion is enabled.
913

Advertisement

Table of Contents
loading

Table of Contents