Command Manual - QoS/ACL
Quidway S3500 Series Ethernet Switches Chapter 2 QoS Commands
Huawei Technologies Proprietary
2-35
2.2.20 traffic-redirect
Syntax
traffic-redirect { user-group { acl-number | acl-name } [ rule rule ] | { ip-group
{ acl-number | acl-name } [ rule rule ] | link-group { acl-number | acl-name } [ rule
rule ] }* } { cpu | interface { interface-name | interface-type interface-num } }
undo traffic-redirect { user-group { acl-number | acl-name } [ rule rule ] | { ip-group
{ acl-number | acl-name } [ rule rule ] | link-group { acl-number | acl-name } [ rule
rule ] }* }
View
System view
Parameter
user-group { acl-number | acl-name } [ rule rule ]: Specifies a user-defined ACL.
acl-number: Specifies the ACL sequence number, ranging from 5000 to 5999. acl-name:
Specifies the ACL name with a character string starting with English letters ([a-z, A-Z])
and excluding space and quotation mark. rule rule: Specifies a rule of an ACL, ranging
from 0 to 127. If you do not set this parameter, all the rules will be considered.
ip-group { acl-number | acl-name } [ rule rule ]: Specifies a basic or advanced ACL.
acl-number: Specifies the ACL sequence number, ranging from 2000 to 3999. acl-name:
Specifies the ACL name with a character string starting with English letters ([a-z, A-Z])
and excluding space and quotation mark. rule rule: Specifies a rule of an ACL, ranging
from 0 to 127. If you do not set this parameter, all the rules will be considered.
link-group { acl-number | acl-name } [ rule rule ]: Specifies a Layer-2 ACL. acl-number:
Specifies the ACL sequence number, ranging from 4000 to 4999, acl-name: Specifies
the ACL name with a character string starting with English letters ([a-z, A-Z]) and
excluding space and quotation mark. rule rule: Specifies a rule of an ACL, ranging from
0 to 127. If you do not set this parameter, all the rules will be considered.
cpu: Configures to redirect the traffic to the CPU.
interface { interface-name | interface-type interface-num }: Specifies the Ethernet port
to which the packets will be redirected. interface-type specifies the port type, which can
be ethernet only. interface-num specifies the port number. interface-num and
interface-type specify a complete port name together. interface-name is interface-type
added with interface-num.
Description
Using traffic-redirect command, you can activate the ACL to recognize and redirect
the traffic(whose action is permit). Using undo traffic-redirect command, you can
cancel the redirection.
For the related command, see display qos-global traffic-redirection.