# How to configure Queuing on Cisco 3560 and 3750 switch

**URL:** https://forum.networklessons.com/t/how-to-configure-queuing-on-cisco-3560-and-3750-switch/863
**Category:** Lessons Discussion
**Created:** [December 20, 2016, 9:57pm UTC](https://forum.networklessons.com/t/how-to-configure-queuing-on-cisco-3560-and-3750-switch/863 "2016-12-20T21:57:50Z")
**Posts on this page:** 1
**Showing post:** 32

<div class="post-metadata">

### Author: ![lagapidis](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/lagapidis/32/4949_2.png) [@lagapidis](https://forum.networklessons.com/u/lagapidis)
#### Post date: [June 21, 2018, 8:33am UTC](https://forum.networklessons.com/t/how-to-configure-queuing-on-cisco-3560-and-3750-switch/863/32 "2018-06-21T08:33:58Z")

</div>

Hello Sze Jie K

I’ll attempt to answer your questions below:

> [@szejiekoh](#):
>
> mls qos cos x  
> Q1) When mls cos is turned on and all the ports are untrusted, does the switch reset the COS value for all frames to whatever value set in the “mls qos cos” command ?

Yes. When a port is set to untrusted (by default) it does not trust the CoS values of the incoming frames, so those are reset to the value set in the command.

> [@szejiekoh](#):
>
> Q2) When mls cos is turn on and all the ports are trusted, the switch will only use the value in “mls qos cos” command to set for untagged frames right ?

Yes. On a trunk port, if you have the mls qos cos command on a trusted port, then the CoS values will be changed only for untagged frames. The CoS values of tagged frames remain unchanged.

> [@szejiekoh](#):
>
> mls qos trust cos  
> Q3) When a policy-map + mls qos cos trust is set on the same port, which will have priority ? Assuming the policy-map will set CoS value and the incoming frame also already has a CoS value set.

The trust command in a policy map allows you to set the trust state only for the traffic defined within that particular class. mls qos trust applies to ALL traffic entering the interface. Any traffic conforming to the policy map will have priority. Traffic not conforming will have the more general mls qos trust command applied to it.

> [@szejiekoh](#):
>
> priority-queue out  
> Q4) When egress expedite queue is turn on, does the shaped bandwidth defined on queue1 still applies ?

According to Cisco:

> All four queues participate in the SRR unless the expedite queue is enabled, in which case the first bandwidth weight is ignored and is not used in the ratio calculation. The expedite queue is a priority queue, and it is serviced until empty before the other queues are serviced. You enable the expedite queue by using the priority-queue out interface configuration command.

This was obtained from the following documentation, page 29-17:

> **[swqos.pdf](https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-1_19_ea1/configuration/guide/3750scg/swqos.pdf)**
>
> 772.29 KB

> [@szejiekoh](#):
>
> Q5) Can we mapped the same CoS to more than 1 egress queue ?  
> CoS 3 to both egress q2 t2 and q3 t1, how will the switch handle the distribution if q2 and q3 has the same weight ?  
> If the switch send the frame with CoS 3 to q2t2 and q2t2 threshold is already hit, will the switch send the frame to q3t1 or it will simply drop it ?

You can set the same CoS value to be mapped to multiple queues. However, for the rest of your questions, this might need to be labbed up, unless @ReneMolenaar has a ready answer…

I hope this has been helpful!

Laz

---

_[View the full topic](https://forum.networklessons.com/t/how-to-configure-queuing-on-cisco-3560-and-3750-switch/863)._
