
Follow-up Procedure
Configure rules in the basic ACL.
10.3.4 Configuring a Basic ACL Rule
A basic ACL is composed of a list of rules. The ACL classifies packets by matching packet
information with the ACL rules.
Prerequisites
A basic ACL has been created and the basic ACL view is displayed.
Before creating a new rule, run the
display acl
{
acl-number
|
name
acl-name
} command to
view all the configured ACL rules to prevent the new rule from overriding existing rules.
Context
A basic ACL classifies packets by matching packet information with the ACL rules. After a
basic ACL is created, configure rules in the basic ACL.
Procedure
Step 1
(Optional) Run:
step
step-value
The step value between ACL rule IDs is set.
By default, the step value is 5.
Step 2
Run:
rule
{
deny
|
permit
} [
source
{
source-address source-wildcard
|
any
} |
time-
range
time-name
|
vpn-instance
vpn-instance-name
| [
fragment
|
none-first-
fragment
] ]
*
A basic ACL rule is configured.
To configure multiple rules, repeat this step.
NOTE
If the rule ID is not specified, the step value is used as the start rule ID.
If different rules are ANDed or ORed, configure a correct matching order to prevent incorrect configurations.
Step 3
(Optional) Run:
rule
rule-id
description
text
The description of the basic ACL rule is configured.
The description of an ACL rule describes the function or usage of the ACL rule. It is used to
differentiate ACL rules.
----End
Follow-up Procedure
After a basic ACL rule is configured, perform the following operations as required:
Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
10 ACL Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
191