Installation manual

Command Manual - QoS/ACL
Quidway S3000-EI Series Ethernet Switches Chapter 2 QoS Commands
Huawei Technologies Proprietary
2-21
Description
Using traffic-priority command, you can activate ACL and tag the traffic priority
(whose action is permit). Using undo traffic-priority command, you can cancel the
traffic priority settings.
It can mark three priorities (dscp/IP preference, and cos) for the packets. The switch
can put the packets into egress queue according to the cos value (namely the 802.1p
preference) or local preference. If both 802.1p preference and local preference are set,
the switch will use the 802.1p preference first.
For the related command, see display qos-global traffic-priority.
Example
# Marks the priority for the packets matching the permit rules of ACL 2000. It sets the
local preference to 0:
[Quidway] traffic-priority ip-group 2000 local-precedence 0
2.1.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.