![Huawei Quidway S8500 Series Command Manual Download Page 703](http://html.mh-extra.com/html/huawei/quidway-s8500-series/quidway-s8500-series_command-manual_169479703.webp)
Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
Chapter 4 VLAN-ACL Configuration Commands
Huawei Technologies Proprietary
4-9
Note:
z
Traffic redirection setting is only available for the permit rules in the ACL.
z
The packet redirected to the CPU cannot be forwarded normally.
z
You can achieve policy route by selecting the
next-hop
keyword in this command.
Example
# Redirect to the CPU the packets of VLAN2 that match the permit rules in ACL 3000.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] vlan 2
[Quidway-vlan2] traffic-redirect inbound ip-group 3000 cpu
4.1.6 traffic-statistic
Syntax
traffic-statistic
inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
[
system-index
index
] ]
undo traffic-statistic
inbound
ip-group
{
acl-number
|
acl-name
} [
rule rule
]
View
VLAN view
Parameter
ip-group
{
acl-number
|
acl-name
}: Activates IP ACLs, including basic and advanced
ACLs.
acl-number
: Sequence number of ACL, ranging from 2000 to 3999.
acl-name
:
Name of the ACL, which must be a character string starting with an English letter (a-z or
A-Z), and without any space or quotation mark in it.
rule
rule
: Specifies the subitem of an active ACL, ranging from 0 to 127; if not specified,
all subitems of ACL will be activated.
system-index
index
: Specifies the system index value of the rule which will be indexed
during operation. After delivering a rule, the system automatically assigns a globally
unique index value to the rule. When using this command to deliver a rule, you can also
specify a system index value for the rule. In general, you are not recommended to
specify this parameter manually.
Description
Use the
traffic-statistic
command to activate an ACL and run traffic statistics for the
matching data flow in VLAN (only available for the permit rules in the ACL).