Command Manual (For Soliton) – QoS-QoS Profile
H3C S3100 Series Ethernet Switches
Chapter 1 QoS Commands
1-37
Description
Use the
traffic-priority
command to use ACL rules in traffic identifying and specify a
new priority for all the packets matching the specific ACL rules, or packets that match
specific ACL rules and are of a port group, or pass a port.
Use the
undo traffic-priority
to disable the priority marking function for all the packets
matching specific the ACL rules, or packets that match specific ACL rules and are of a
port group, or pass a port.
By default, priority marking is disabled globally, on all port groups, and all ports.
Related command:
display qos-interface traffic-priority
.
Example
# Set the 802.1p precedence to 1 for packets matching ACL 4000 and passing Ethernet
1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] rule permit cos 5
[Sysname-acl-ethernetframe-4000] quit
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] traffic-priority inbound link-group 4000 cos 1
1.1.33 traffic-priority vlan
Syntax
traffic-priority vlan vlan-id inbound
acl-rule
{
dscp dscp-value
|
cos
cos-value
|
local-precedence
pre-value
}*
undo traffic-priority vlan vlan-id
inbound
acl-rule
View
System view
Parameter
vlan-id
: VLAN ID, in the range 1 to 4094.
inbound
: Performs priority marking for the inbound packets.
acl-rule
: ACL rules to be applied. This argument can be the combination of multiple
ACLs. For more information about this argument, refer to
Table 1-8
and
Table 1-9
. Note
that the ACL rules referenced must be those defined with the
permit
keyword specified.
dscp dscp-value
: Sets the DSCP precedence, in the range of 0 to 63. You can also
enter a keyword listed in
Table 1-13
for the
dscp-value
argument.