Command Manual - QoS/ACL
Quidway S3500 Series Ethernet Switches
Chapter 2 QoS Commands
Huawei Technologies Proprietary
2-34
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.
dscp dscp-value
: Specifies DSCP preference, ranging from 0 to 63.
ip-precedence
{
pre-value
|
from-cos
}: Specifies IP preference.
pre-value
specifies
the IP preference, ranging from 0 to 7.
from-cos
indicates to set the IP preference to
the same as that of 802.1p of the packet.
cos
{
pre-value
|
from-ipprec
}: Specifies 802.1p preference.
pre-value
specifies the
802.1p preference, ranging from 0 to 7.
from-ipprec
indicates to set the 802.1p
preference to the same as IP preference.
local-precedence
pre-value
: Specifies the local preference, ranging from 0 to 7.
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