H3C S7500E Series Command Manual page 1098

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – ACL
H3C S7500E Series Ethernet Switches
Description
Use the rule command to define or modify an advanced IPv4 ACL rule. If the rule does
not exist, it is created first.
Use the undo rule command to remove an advanced IPv4 ACL rule or parameters
from the rule.
With the undo rule command, if no parameters are specified, the entire ACL rule is
removed; if other parameters are specified, only the involved information is removed.
Note that:
You will fail to create or modify a rule if its permit/deny statement is exactly the
same as another rule. In addition, if the ACL match order is set to auto rather than
config, you cannot modify ACL rules.
When defining ACL rules, you need not assign them IDs. The system can
automatically assign rule IDs starting with 0 and increasing in certain rule
numbering steps. A rule ID thus assigned is greater than the current highest rule
ID. For example, if the rule numbering step is five and the current highest rule ID is
28, the next rule will be numbered 30.
You may use the display acl command to verify rules configured in an ACL. If the
match order for this ACL is auto, rules are displayed in the depth-first order rather
than by rule number.
Note:
For an advanced IPv4 ACL to be referenced by a QoS policy for traffic classification:
The logging , vpn-instance and reflective keywords are not supported.
The operator cannot be neq if the ACL is for the inbound traffic.
The operator cannot be gt, lt, neq, or range if the ACL is for the outbound traffic.
Examples
# Define a rule to permit the TCP packets to pass with the destination port 80 sent from
129.9.0.0 to 202.38.160.0.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000]
destination 202.38.160.0 0.0.0.255 destination-port eq 80
Chapter 1 ACL Configuration Commands
rule
permit
tcp
1-18
source
129.9.0.0
0.0.255.255

Advertisement

Table of Contents
loading

Table of Contents