
Command Manual - QoS/ACL
Quidway S6500 Series Ethernet Switches
Chapter 2 Qos Command
Huawei Technologies Proprietary
2-36
Description
Using the
traffic-redirect
command, you can activate ACL and perform redirection (the
command is only effective to
permit
rule). Using the
undo traffic-redirect
command,
you can remove the redirection.
For the related configuration, see
display qos-interface traffic-redirect
.
Note:
Only the cards except A type ones support the packet redirecting configuration.
Only the rule with the action of permit can be activated by this command successfully.
Example
# Perform redirection to the packets that match with the
permit
rule of ACL 2000.
Redirect the packets to interface GigabitEthernet7/0/2.
[Quidway-qosb-GigabitEthernet7/0/1] traffic-redirect inbound ip-group 2000 interface
gigabitethernet7/0/2
2.1.27 traffic-statistic
Syntax
I. The Command Line Format for for A type Card
traffic-statistic
{
inbound
|
outbound
} {
ip-group
{
acl-number
|
acl-name
} [
rule
rule
] |
link-group
{
acl-number
|
acl-name
} [
rule rule
] }
undo traffic-statistic
{
inbound
|
outbound
} {
ip-group
{
acl-number
|
acl-name
}
[
rule rule
] |
link-group
{
acl-number
|
acl-name
} [
rule rule
] }
Note:
A type card includes LS81FT48A, LS81FM24A, LS81FS24A, LS81GB8UA and
LS81GT8UA cards.