Description - Huawei Quidway S3900 series Command Manual

Hide thumbs Also See for Quidway S3900 series:
Table of Contents

Advertisement

Command Manual – ACL
Quidway S3900 Series Ethernet Switches-Release 1510
The "depth-first" ordering of rules in IP ACLs (basic and advanced ACLs) is
implemented based on the lengths of the source IP address masks and the
destination IP address masks. The rule with the longest masks is first matched,
and then comes the rule with the second longest masks, and so on. In the
ordering, the lengths of the source IP address masks are compared first; if the
source IP address masks have the same length, the lengths of the destination IP
address masks are compared. For example, the rule of which the source IP
address mask is 255.255.255.0 precedes the rule of which the source IP address
mask is 255.255.0.0 in the match order.
You can use the match-order keyword to specify whether to use the configured order
or "depth-first" order (rules with smaller ranges are matched first) to match rules. If
neither match orders are specified, the configured match order will be adopted.
You cannot modify the match order for an ACL once you have specified it, unless you
delete all the entries of the ACL.
The ACL match order feature is effective only when the ACL is referenced by software
for data filtering and traffic classification.
Related command: rule.
Example
# Define rules for ACL 2000, and specify "depth-first" order as the rule match order.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] acl number 2000 match-order auto
[Quidway-acl-basic-2000]

1.1.2 description

Syntax
description text
undo description
View
Basic ACL view, advanced ACL view, Layer 2 ACL view, user-defined ACL view
Parameter
text: ACL description to be set, a string of up to 127 characters.
Description
Use the description command to define the description information of an ACL to
describe the specific purpose of the ACL.
Use the undo description to delete the description information of an ACL.
Huawei Technologies Proprietary
1-2
Chapter 1 ACL Commands

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

Table of Contents