H3C IE4300 Command Reference Manual page 1673

Industrial switch series
Hide thumbs Also See for IE4300:
Table of Contents

Advertisement

To specify a Layer 2 ACL, you can specify its ACL number without the
To specify an IPv6 ACL or Layer 2 ACL by a name, you must specify both the ACL name and the
or
ipv6
mac
The new ACL has the same properties and content as the source ACL, but uses a different number
or name from the source ACL.
Examples
# Create IPv4 basic ACL 2002 by copying IPv4 basic ACL 2001.
<Sysname> system-view
[Sysname] acl copy 2001 to 2002
# Create IPv4 basic ACL paste by copying IPv4 basic ACL test.
<Sysname> system-view
[Sysname] acl copy name test to name paste
acl logging interval
Use
acl logging interval
Use
undo acl logging interval
Syntax
acl logging interval interval
undo acl logging interval
Default
The interval is 0. The device does not generate log entries for packet filtering.
Views
System view
Predefined user roles
network-admin
Parameters
interval
of 5, in the range of 0 to 1440 minutes. To disable the logging, set the value to 0.
Usage guidelines
The logging feature is available for IPv4 or IPv6 ACL rules that have the
You can configure the ACL module to generate log entries for packet filtering and output them to the
information center at the output interval. The log entry records the number of matching packets and
the matched ACL rules. When the first packet of a flow matches an ACL rule, the output interval
starts, and the device immediately outputs a log entry for this packet. When the output interval ends,
the device outputs a log entry for subsequent matching packets of the flow. For more information
about the information center, see Network Management and Monitoring Configuration Guide.
Examples
# Configure the device to generate and output packet filtering log entries every 10 minutes.
<Sysname> system-view
[Sysname] acl logging interval 10
Related commands
(IPv4 advanced ACL view)
rule
keyword.
: Specifies the interval at which log entries are generated and output. It must be a multiple
to enable logging for packet filtering and set the interval.
to restore the default.
4
keyword.
mac
keyword.
logging

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie4300-mIe4320

Table of Contents