HP MSR2000/3000/4000 Router Series ACL and QoS Command Reference
3
smallest number from all available numbers in the same ACL category as the source ACL. Available
value ranges include:
• 2000 to 2999 for IPv4 basic ACLs if the ipv6 keyword is not specified and for IPv6 basic ACLs if
the ipv6 keyword is specified.
• 3000 to 3999 for IPv4 advanced ACLs s if the ipv6 keyword is not specified and for IPv6 advanced
ACLs if the ipv6 keyword is specified.
• 4000 to 4999 for Ethernet frame header ACLs. This entry is not displayed if the ipv6 keyword is
specified.
• 5000 to 5999 for user-defined ACLs. This entry is not displayed if the ipv6 keyword is specified.
name dest-acl-name: Assigns a unique name to the ACL you are creating. The dest-acl-name is a
case-insensitive string of 1 to 63 characters. It must start with an English letter and to avoid confusion, it
cannot be all. If no ACL name is specified, the system does not name the ACL. For a basic ACL or
advanced ACL, if you do not specify the ipv6 keyword, this option specifies the name of an IPv4 basic
ACL or advanced ACL; if you specify the ipv6 keyword, this option specifies the name of an IPv6 basic
ACL or advanced ACL.
Usage guidelines
The new ACL has the same properties and content as the source ACL, but not the same ACL number and
name.
You can assign a name to an ACL only when you create it. After an ACL is created with a name, you
cannot rename it or remove its name.
Examples
# Create IPv4 basic ACL 2002 by copying IPv4 basic ACL 2001.
<Sysname> system-view
[Sysname] acl copy 2001 to 2002
acl logging interval
Use acl logging interval to set the interval for generating and outputting packet filtering logs. The log
information includes the number of matching packets and the matched ACL rules.
Use undo acl logging interval to restore the default.
Syntax
acl [ ipv6 ] logging interval interval
undo acl [ ipv6 ] logging interval
Default
The interval is 0. No packet filtering logs are generated.
Views
System view
Predefined user roles
network-admin