H3C S3100 Series Command Manual page 658

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

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
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-15
cos cos-value: Sets the 802.1p precedence, in the range of 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 vlan command to mark the priority for packets that match specific ACL rules
and are of a VLAN.
Use the undo traffic-priority vlan to disable the priority marking for packets that match specific ACL
rules and are of a VLAN.
By default, priority marking is disabled on a VLAN.
Related command: display qos-vlan.
Only H3C S3100-EI series switches support this command.
The priority marking function configured on a VLAN is only applicable to packets tagged with 802.1Q
header.
Example
# Set the 802.1p precedence to 1 for packets that match ACL 4000 and are of VLAN 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 3 dest 000f-e200-1234 ffff-ffff-ffff
[Sysname] traffic-priority vlan 1 inbound link-group 4000 cos 1
traffic-redirect
Syntax
traffic-redirect inbound acl-rule { cpu | interface interface-type interface-number }
Table 1-9
for the dscp-value argument.
and
Table
1-10. Note that the ACL rules referenced
1-38

Advertisement

Table of Contents
loading

Table of Contents