Reset Acl Counter; Rule - Huawei Quidway S8500 Series Command Manual

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
Example
# Activate ACL 2000.
<Quidway>system-view
System View: return to User View with Ctrl+Z.
[Quidway]interface ethernet5/1/1
[Quidway-Ethernet5/1/1] packet-filter inbound ip-group 2000

1.1.10 reset acl counter

Syntax
reset acl counter { all | acl-number | acl-name }
View
User view
Parameter
all: Displays all ACLs (both number- and name-identified ones).
acl-number: Serial number of the ACL, in the range of 2000 to 3999.
acl-name: ACL name, string parameter ranging from 1 to 32 bytes. It must start with an
English letter ([a-z, A-Z]). No space or quotation mark is allowed in it. It is case
insensitive. The keywords all is forbidden.
Description
Use the reset acl counter command to clear ACL statistics to zero.
Example
# Clear the statistics of ACL 2000.
<Quidway> reset acl counter 2000

1.1.11 rule

Syntax
I. Define or delete the subrules of a basic ACL
rule [ rule-id ] { permit | deny } [ source { source-addr wildcard | any } | fragment |
time-range name | vpn-instance instance-name ]*
undo rule rule-id [ source | fragment | time-range | vpn-instance instance-name ]*
II. Define or delete the subrules of an advanced ACL
rule [ rule-id ] { permit | deny } protocol [ source { source-addr wildcard | any } ]
[ destination { dest-addr wildcard | any } ] [ source-port operator port1 [ port2 ] ]
Huawei Technologies Proprietary
1-13
Chapter 1 ACL Commands

Advertisement

Table of Contents
loading

Table of Contents