XG Series User's Guide Chapter 5 Command Reference
VLAN Information Settings
173
5.3.4 QoS Information
This section explains about the commands related to QoS information.

5.3.4.1 vlan qos aclmap

Function Set the QoS conversion of the VLAN.
Available Model XG0224 / XG0448 / XG2600
Syntax vlan <vid> qos aclmap <count> <action> <value> <acl>
Options
<vid>
VLAN ID
Specify a VLAN ID with a decimal value.
<count>
Priority
Set the QoS conversion priority with a decimal value.
A smaller value has a higher priority.
If multiple <action> are executed for the same packet and if they conflict with each
other, the <action> with a higher priority is executed.
The specified value is sorted and renumbered in sequence. If a filtering definition with
the same value already exists, the existing one will be changed.
<action>
cos [XG0224/XG0448]
Rewrite the "cos" value (the "user priority" value in the Tag Control Information (TCI)
field of the Tagged VLAN) of packets that match the "acl mac", "acl vlan", "acl ip", "acl
icmp", "acl tcp", or "acl udp" definition of access control list.
dscp
Rewrite the "dscp" value (the high-order 6 bits in the TOS field of IP header), if packets
that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definition
of access control list are IP packets.
tos
Rewrite the "ip precedence" value (the high-order 3 bits in the TOS field of IP header),
if packets that match the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp"
definition of access control list are IP packets.
queue
Change the queue at the output port that is used to output the input packets that match
the "acl mac", "acl vlan", "acl ip", "acl icmp", "acl tcp", or "acl udp" definition of access
control list.
<value>
Replacing value
If "cos" is selected in <action>:
- <cos_value>
Set the replaced "cos" value with a decimal value from 0 to 7.
-tos
Replace the "cos" value with the "ip precedence" value in the packet.
Range Model
0 to 511 XG0224 / XG0448
0 to 63 XG2600