Configuration task list
Tasks at a glance
(Required.) Perform one or more of the following tasks:
•
Configuring a basic ACL
•
Configuring an advanced ACL
•
Configuring a Layer 2 ACL
(Optional.)
Copying an ACL
(Optional.)
Configuring packet filtering with ACLs
(Optional.)
Enabling ACL acceleration
Configuring a basic ACL
This section describes procedures for configuring IPv4 and IPv6 basic ACLs.
Configuring an IPv4 basic ACL
IPv4 basic ACLs match packets based only on source IP addresses.
To configure an IPv4 basic ACL:
Step
22. Enter system view.
23. Create an IPv4 basic ACL
and enter its view.
24. (Optional.)
description for the IPv4 basic
ACL.
25. (Optional.)
numbering step.
Command
system-view
acl basic { acl-number | name
acl-name } [ match-order { auto |
config } ]
Configure
a
description text
Set
the
rule
step step-value
9
Remarks
N/A
By default, no ACLs exist.
The value range for a numbered
IPv4 basic ACL is 2000 to 2999.
Use the acl basic acl-number
command to enter the view of a
numbered IPv4 basic ACL.
Use
the
acl
basic
acl-name command to enter the
view of a named IPv4 basic ACL.
By default, an IPv4 basic ACL
does not have a description.
The default setting is 5.
name