2 egress qos configuration, Gress, Onfiguration – PLANET XGS3-24042 User Manual
Page 181

20-18
Description of action that modify QoS attribute according to egress remark table:
cos-cos:for cos value of packets, modify cos value of packets according to cos table of QoS remarking
cos-dscp:for cos value of packets, modify dscp value of packets according to cos table of QoS remarking
dscp-cos:for dscp value of packets, modify cos value of packets according to dscp table of QoS remarking
dscp-dscp:for dscp value of packets, modify dscp value of packets according to dscp table of QoS remarking
20.2 Egress QoS Configuration
Egress QoS Configuration Task List:
1. Configure class map
Set up a classification rule according to ACL, CoS, VLAN ID, IPv4 Precedent, DSCP, IPV6 DSCP to
classify the data stream. Different classes of data streams will be processed with different policies.
2. Configure policy map
After data steam classification, a policy map can be created to associate with a class map created
earlier and enter policy class mode. Then different policies (such as bandwidth limit, assigning new
DSCP value) can be applied to different data streams.
3. Apply Egress QoS to port or VLAN
Configure the trust mode or binding policies for ports. A policy will only take effect on a port when it is
bound to that port.
The policy may be bound to the specific VLAN.
Set Egress QoS remark mapping
If modify QoS attribute by using Egress QoS remark in policy, it should set the corresponding
mapping. If it needs to take effect to green packets, modifying switch of green packets should be
enabled and ingress needs to trust the corresponding QoS attribute (qos/dscp/exp).
1. Configure a class-map
Command
Explanation
Global Mode
class-map <class-map-name>
no class-map <class-map-name>
Create a class-map and enter class-map
mode, no command deletes the specified
class-map.
match {access-group <acl-index-or-name>
| ip dscp <dscp-list> | ip precedence
<ip-precedence-list> | ipv6 dscp
<dscp-list> | vlan <vlan-list> | cos
<cos-list> | ipv6 access-group
<acl-index-or-name>}
no match {access-group | ip dscp | ip
precedence | ipv6 dscp | vlan | cos | ipv6
Configure the matched standard of the
class map to classify the data stream
according to ACL, CoS, VLAN ID, IPv4
Precedence, DSCP, IPv6 DSCP priority;
no command deletes the specific matched
standard.