Manual

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
115
Example 3:
In egress of port 1, limit the speed of packets. Set the bandwidth for packets to 1 Mb/s, with
the normal burst value of 1 MB, the max burst value of 4 MB, set dscp value of 1 as 10 for
green packets, set dscp value of yellow packets as 9 and drop red packets.
Create a class map
switch(config)#class-map c1
switch(config-classmap-c1)#match ip dscp 1
switch(config-classmap-c1)#exit
Create a policy map
switch(config)#policy-map p1
switch(config-policymap-p1)#class c1
switch(config-policymap-p1-class-c1)#policy 1000 1000 4000 action policied-dscp-exp-to-
dscp-transmit violate-action drop
switch(config-policymap-p1-class-c1)#exit
switch(config-policymap-p1)#exit
Set Egress dscp remark mapping
switch(config)#mls qos map dscp-dscp green 1 to 10
switch(config)#mls qos map dscp-dscp yellow 1 to 9
Set Egress remark to take effect for green packets
switch(config)#mls qos egress green remark
Set trust dscp mode on ingress
switch(config-if-port-range)#mls qos trust dscp
Bind policy to egress of port1
switch(config-if-ethernet1/0/1)#service-policy output p1
14.4 Egress QoS Troubleshooting Help
Not all equipments support Egress QoS presently, so please make sure the current device
supports this function.
If the policy configured cannot bind to the port or VLAN, please check whether the match
option in classification table is supported by the current device.
If terminal printing suggests lack of resource, please make sure there is enough resource to
send the current policy.
If the policy with match acl configured cannot bind to the port or VLAN, please make sure rules
including permit exist in ACL.
If modifying QoS attribute is invalid by Egress QoS remark, please ensure whether ingress
sets the correspondsing QoS attribute with trust.
If egress set QoS attributes (set cos/ip dscp) for modifying all packets, and it uses Egress
remark to modify QoS attributes for packets of different colors, previous modification is