Category Archives: QoS

The Modular Quality of Service CLI (MQC) Review – Service Policies


In part 1 of this series, we examined the class maps that you use to classify traffic you want to make QoS treatments for. In part 2, we took a look at policy maps. These are the structures you use in order to actually make the QoS manipulations with.

But the question remains, how do you assign this QoS policy to an interface in a particular direction. The answer, of course, is service policies. In this post, we examine the service policy step, and ensure we can easily verify a QoS configuration that utilizes the MQC.

Let us walk through a simple example. We will classify a very specific PING using a class map, and then punish it with the drop treatment at a router interface. Let drop ICMP Echo packets sourced from the loopback of R1 at the R2 interface s0/0.

Screenshot 2015-11-04 10.38.34

First – let’s make sure out little topology has full connectivity – a PING to the Loopback0 of R1 will do the trick: Continue reading The Modular Quality of Service CLI (MQC) Review – Service Policies

The Modular Quality of Service CLI (MQC) Review – Policy Maps


In the first part of the MQC review – we examined class maps. These devices place our traffic into containers that we can assign QoS actions to. In this article, we are going to look at policy maps for assigning those actions.

Here I will create a quick class map, verify the class map, and then enter policy map configuration mode:

R1(config)#class-map match-any CM_ICMP
R1(config-cmap)#match access-group 100
R1#! The access-list 100 is not shown in this configuration
R1#show class-map
 Class Map match-any class-default (id 0)
   Match any 
 Class Map match-any CM_ICMP (id 1)
   Match access-group  100 
R1#conf t
R1(config)#policy-map PM_ICMP
Policy-map configuration commands:
  class        policy criteria
  description  Policy-Map description
  exit         Exit from policy-map configuration mode
  no           Negate or set default values of a command
  rename       Rename this policy-map

As you can see from the above configuration, there is not much going on in policy map configuration mode. We can add a description or rename the policy map but that is about it. The magic happens when we enter policy map class configuration for one of the classes that we configured: Continue reading The Modular Quality of Service CLI (MQC) Review – Policy Maps