1-37
Parameter
inbound: Marks the priority for 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-9 and Table 1-10. 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 0 to 63. You can also enter a keyword listed
in
Table 1-15 for the dscp-value argument.
cos cos-value: Sets the 802.1p precedence, in the range 0 to 7. You can also enter a keyword listed in
Table 1-16 for the cos-value argument.
local-precedence pre-value: Sets the local precedence. The pre-value argument ranges from 0 to 3.
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.
Only H3C S3100-EI series switches support this command.
Example
# Set the 802.1p precedence to 1 for packets matching ACL 4000 and passing Ethernet 1/0/1
(assuming that the current device is an S3100-EI series switch).
<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
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