# Why do we need QoS on LAN Switches

**URL:** <https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855>\
**Category:** Lessons Discussion\
**Created:** [December 20, 2016, 9:42pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855 "2016-12-20T21:42:20Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)\
**Post date:** [December 20, 2016, 9:42pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/1 "2016-12-20T21:42:20Z")

</div>

This topic is to discuss the following lesson:

> **[Why do we need QoS on LAN Switches](https://networklessons.com/quality-of-service/why-do-we-need-quality-of-service-qos-on-our-lan-switches)**
>
> Quality of Service on LAN switches is required to deal with temporarily congestions. This lesson explains you when and why this occurs.

---

<div class="post-metadata">

**Author:** ![system](https://cdn-forum.networklessons.com/uploads/default/original/1X/1d2ef66728c7fbac8377748594345a3f474fce5f.png) [@system](https://forum.networklessons.com/u/system)\
**Post date:** [November 11, 2013, 7:47pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/2 "2013-11-11T19:47:47Z")

</div>

Hi Rene,  
Could you please do a short demo?  
I have 1x3560 and 2x3550, i have configured QoS (similar to the first topology) but i think it is not working well.  
Br,  
István

---

<div class="post-metadata">

**Author:** ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)\
**Post date:** [November 25, 2013, 2:33pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/3 "2013-11-25T14:33:19Z")

</div>

Hi István,

What would you like to see? We can do classification, marking, queuing, shaping and policing on the switches 🙂

Rene

---

<div class="post-metadata">

**Author:** ![peterchidi](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/p/cab0a1/32.png) [@peterchidi](https://forum.networklessons.com/u/peterchidi)\
**Post date:** [June 8, 2015, 11:46pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/4 "2015-06-08T23:46:40Z")

</div>

Hi Rene,

Do we have qos of service on LAN switches only?. Why not on a WAN and Router as well?.  
If we can have the same on Router, is it the same procedure as well as well.  
Thanks,  
peter

---

<div class="post-metadata">

**Author:** ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)\
**Post date:** [June 10, 2015, 10:55am UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/5 "2015-06-10T10:55:03Z")

</div>

Hi Peter,

QoS is applied everywhere, switches and routers. The configuration on routers is very different however…

Rene

---

<div class="post-metadata">

**Author:** ![adave1103](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/a/3ab097/32.png) [@adave1103](https://forum.networklessons.com/u/adave1103)\
**Post date:** [October 3, 2016, 10:48am UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/6 "2016-10-03T10:48:10Z")

</div>

Hi Rene/Andrew

Can you help me in understanding AutoQoS concept please ?

Thanks

---

<div class="post-metadata">

**Author:** ![maher1](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/m/9dc877/32.png) [@maher1](https://forum.networklessons.com/u/maher1)\
**Post date:** [October 3, 2016, 12:17pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/7 "2016-10-03T12:17:20Z")

</div>

Hi Abhishek,

Let me jump in to give you a brief explanation of Cisco AutoQos.

Configuring QOS can be a challenge for engineers who aren’t familiar with this topic, but leaving the network without a QOS configuration can cause a lot troubles especially with the bandwidth-hungry applications and the real-time traffic such as VOIP and Video which can partially and/or fully not work if QOS isn’t configured, in addition of problems like latency, jitter, and packet drops.

For this reason, Cisco IOS Software offers a portfolio of QoS features which is enable by a or few commands without an extensive knowledge needed from the IT administrator and it provide the essential QOS needed.

If you want to know more of AutoQOS, I can refer you to this article from [Cisco Wesbite](http://www.cisco.com/en/US/tech/tk543/tk759/technologies_white_paper09186a00801348bc.shtml).

---

<div class="post-metadata">

**Author:** ![adave1103](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/a/3ab097/32.png) [@adave1103](https://forum.networklessons.com/u/adave1103)\
**Post date:** [October 12, 2016, 5:21am UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/8 "2016-10-12T05:21:54Z")

</div>

Thankyou Maher, That helps !

---

<div class="post-metadata">

**Author:** ![sims](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@sims](https://forum.networklessons.com/u/sims)\
**Post date:** [March 29, 2017, 5:47pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/9 "2017-03-29T17:47:28Z")

</div>

Hi Rene  
In a access ,distribution and core architecture where we should do the qos

Thanks

---

<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:** [April 2, 2017, 6:51am UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/10 "2017-04-02T06:51:53Z")

</div>

Hello Sims

This is a very good question that doesn’t have a clear cut answer.

In the hierarchical model, the core is performing high speed routing and switching to get things from place to place, the distribution layer is applying policies and filtering, and the access layer is providing you with port density and user connectivity. Based on this, and based on most textbooks and CCNP study material, QoS is said to be most commonly applied at the distribution layer.

However, Layer 2 switches at the access layer can perform both marking and queuing and in general it is good design to apply QoS as close to the equipment or services for which you need to guarantee network resources as possible. In a live network that may very well be in the access layer on your switches, or even at the phone port.

I hope this has been helpful!

Laz

---

<div class="post-metadata">

**Author:** ![souam.zouhair](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@souam.zouhair](https://forum.networklessons.com/u/souam.zouhair)\
**Post date:** [January 31, 2021, 6:39pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/11 "2021-01-31T18:39:24Z")

</div>

Hello Lagapides,

Thank you for your answer.

What if we have an access switch connected to each dist switch (2 DIST sw) and our access switch is 48 port x 1Go , on each 1G port (PC + Phone or PC + softphone) ?

How could we manage 48Go of traffic on 2x10Go uplinks on the DIST switchs?  
could i use CBWQ + LLQ in the output direction on the access switch ?  
what about the incoming traffic from the DIST switch  
what is the best methode to classify traffic the incoming from PCs , from phones and from softphones ?  
how could i match and remark traffic in the access switch ? and on the DIST switch ?  
could i use a policy map in input direction on the voice SVI in the core ? and in the data svi ?

Thank you for your answers

---

<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:** [February 2, 2021, 3:21pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/12 "2021-02-02T15:21:41Z")

</div>

Hello Zouhair

In such a scenario, I assume you are focusing on the QoS mechanisms for the voice packets delivered by the IP phones and softphones. Classification and marking of voice packets should be done at the devices themselves. A more detailed explanation can be found in the Classification and Marking section of the following lesson:

> **[Introduction to QoS (Quality of Service)](https://networklessons.com/quality-of-service/introduction-qos-quality-service)**
>
> This lesson explains the basics of QoS (Quality of Service) and tools like classification, marking, queuing, congestion avoidance, shaping, policing, etc.

Once voice packets are classified and marked, they must be acted upon by QoS mechanisms. Such mechanisms on a switch must be applied in an outward direction, as incoming traffic on an interface cannot be controlled. This means that any queues you set up must be on the two 10GE uplink interfaces of the access switch, and on any uplink interfaces of the distribution, layer switches as well, if you are applying QoS on the core. More on how this can be applied can be found here:

> **[Queuing on Cisco 3560 and 3750 switch](https://networklessons.com/quality-of-service/how-to-configure-queuing-on-cisco-catalyst-3560-and-3750-switch)**
>
> This lesson teaches you queueing operates and the configuration of Cisco Catalyst 2960, 3560, and 3750 switches.

> [@souam.zouhair](#):
>
> how could i match and remark traffic in the access switch ? and on the DIST switch ?

You can find information about this at the following lesson:

> **[Classification and Marking on Cisco Switch](https://networklessons.com/quality-of-service/classification-and-marking-on-cisco-switch)**
>
> This lesson explains how to configure classification and marking using the MQC on Cisco Catalyst Switches.

I hope this has been helpful!

Laz

---

<div class="post-metadata">

**Author:** ![souam.zouhair](https://cdn-forum.networklessons.com/letter_avatar_proxy/v4/letter/s/58956e/32.png) [@souam.zouhair](https://forum.networklessons.com/u/souam.zouhair)\
**Post date:** [February 5, 2021, 7:37pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/13 "2021-02-05T19:37:34Z")

</div>

Hello Laz,  
It was very hrlpful.  
Thank you.

---

<div class="post-metadata">

**Author:** ![davidilles](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/davidilles/32/9686_2.png) [@davidilles](https://forum.networklessons.com/u/davidilles)\
**Post date:** [November 9, 2023, 3:27pm UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/14 "2023-11-09T15:27:40Z")

</div>

Hello, everyone!

When it comes to classifying traffic, the OCG mentions the following traffic descriptor

 ![obrázok](https://forum.networklessons.com/uploads/default/original/2X/4/4da5aaa17d853655c1329bdfa36f24d0ea05d0df.png)

I’ve learned from NetworkLessons that we can use a variety of descriptors/traffic parameters to match traffic on.

Either on L1 (physical interface), L2 (CoS, MAC address), L2.5 (MPLS), L3 (DSCP, SRC/DST IP), L4 (port numbers), L7 (NBAR).

However, what exactly does **Internal QoS Groups** mean, please?

Another question.

 ![obrázok](https://forum.networklessons.com/uploads/default/original/2X/2/2a901a4f2f8a0020f84a140e408ac67e41aa33a9.png)  
Could someone explain nested policy maps to me? I understand what they are but not the logic behind them.

In this example above, the OCG has created a policy map which configures LLQ with a 35% guarantee for the VOIP-TELEHPONY class, then that is applied to the PARENT-POLICY policy which applies the CHILD-POLICY to the default class, where CHILD-POLICY classifies VOIP?

What I’ve said probably doesn’t make much sense and I am getting lost in the logic a little. Could someone assist me here, please?

Thank you!

David

---

<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:** [November 27, 2023, 5:55am UTC](https://forum.networklessons.com/t/why-do-we-need-qos-on-lan-switches/855/15 "2023-11-27T05:55:58Z")

</div>

Hello David

> [@davidilles](#):
>
> However, what exactly does **Internal QoS Groups** mean, please?

Internal QoS groups are a feature of Cisco QoS that allows a device to assign an internal label to identify packets as members of a specific class. The distinctive characteristic of these QoS groups is that the label is not part of the packet header itself, and it is only locally significant, that is, only the device on which QoS groups are configured takes these QoS groups into account. QoS groups essentially provide a way to tag a packet for subsequent QoS action **locally on the device** , without explicitly marking or changing the packet.

Note that a QoS group is identified and applied to the packet at ingress and is used at egress. It is assigned in an input policy to identify packets in an output policy.

For more info, take a look at this Cisco documentation:

> **[Configuring QoS  \[Support\]](https://www.cisco.com/en/US/docs/switches/metro/me3600x_3800x/trash/swqos.html#wp1051872)**
>
> Configuring Quality of Service (QoS)

> [@davidilles](#):
>
> Could someone explain nested policy maps to me? I understand what they are but not the logic behind them.

Nested policy maps in Cisco QoS are a way to implement more granular and hierarchical QoS policies. They allow the configuration of a policy within another policy, enabling advanced QoS features such as hierarchical queueing.

The diagram you shared shows an example of nested policy maps:

Parent Policy Map: This policy map is the one that is applied to the interface Gi1 in the egress direction. The PARENT-POLICY is the top-level policy map that is directly associated with the interface.

Class-Default: Within the PARENT-POLICY, the class-default class map is specified, which typically matches all traffic not matched by any other class map. A child policy map named CHILD-POLICY is attached to this class.

Child Policy Map: The CHILD-POLICY is nested within the PARENT-POLICY. This child policy map has its own traffic classes, in this case, VOIP-TELEPHONY, and specific actions assigned to it, such as `priority percent 35`, which indicates that 35% of the available bandwidth is allocated to VoIP telephony traffic.

Arguably the most important aspect of these nested policies is that the child policy’s bandwidth allocation **is a portion of the bandwidth assigned to the parent policy** , not the total bandwidth of the interface. In a hierarchical QoS structure, the parent policy controls the overall bandwidth allocation to its child policies. The percentages assigned in child policies are a fraction of the bandwidth that the parent policy has at its disposal, which may be less than the total interface bandwidth due to other policies or limitations set at the parent level.

In the example you shared, it looks like all of the bandwidth is available to the parent policy, so the percentage is indeed that of the total interface bandwidth.

Take a look at this Cisco documentation for more information:

> **[QoS Child Service Policy for Priority Class](https://www.cisco.com/c/en/us/td/docs/ios/12_2sb/feature/guide/chldprio.html#wp1049432)**
>
> QoS Child Service Policy for Priority Class

I hope this has been helpful!

Laz
