XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
29-3
29.2 Egress QoS Configuration
Egress QoS Configuration Task List:
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.
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.
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.
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-p
recedence-list> | ipv6 dscp <dscp-list> | vl
an <vlan-list> | cos <cos-list> | ipv6 acces
s-group <acl-index-or-name>}
no match {access-group | ip dscp | ip pre
cedence | ipv6 dscp | vlan | cos | ipv6 ac
cess-group}
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.
2. Configure a policy-map
Command
Explanation
Global Mode
policy-map <policy-map-name>
no policy-map <policy-map-name>
Create a policy-map and enter policy-map
mode, no command deletes the specific
policy-map.