Legacy Custom Queue & MQC


Custom and MQC

Thought I’d share with you some relatively simple scenario and different ways of approach.

Users on R4 complaining about slow when browsing your internal web server at 155.6.5.100
Configure R3 so that web traffic from the server is guaranteed 1Mbps out its Serial Interface during congestion.
Let’s assume that R3 interface is T1 and it has bandwidth of 1.536Mbps

Two different approaches we can take to resolve this question:

1- Legacy Custom Queue

What we need to match:
R3(config)#access-list 100 permit tcp host 155.6.5.100 eq 80 any

R3(config)#queue-list 1 protocol ip 1 list 100   – web traffic
R3(config)#queue-list 1 default 2                        – everything else

What we need to reserve:
R3(config)#queue-list 1 queue 1 byte-count 1500       – default byte count is 1500

So in order to guarantee 1Mbps for web traffic knowing that T1 bandwidth is 1.536Mbps we do :
R3(config)#queue-list 1 queue 1 byte-count 1000      – web traffic
R3(config)#queue-list 1 queue 2 byte-count 536        – everything else

Apply:
R3(config-if)#custom-queue-list 1

Does not give any option for direction because queuing is only outbound

 

 

2- MQC

What we need to match:
R3(config)#access-list 100 permit tcp host 155.6.5.100 eq 80 any
R3(config)#class-map WEB_SERVER
R3(config-cmap)#match access-group 100

What we need to reserve:
R3(config)#policy-map WEB
R3(config-pmap)#class WEB_SERVER
R3(config-pmap-c)#bandwidth 1000

By default on the interface we can reserve 75% of the bandwidth. This is so you don’t accidently starve other important traffic like routing protocols or layer 2 keepalives , you can change it with the command:

R3(config-if)#max-reserved-bandwidth ?
<1-100>  Max. reservable bandwidth as % of interface bandwidth
<cr>

Apply:
R3(config-if)#service-policy output WEB

 

 

In my opinion MQC is way much clearer to understand and implement.

Enjoy !

Tom

Advertisements

About ccie4all
Hello, and welcome to the first post of my CCIE blog This blog has got one simple goal and that is to improve our skills in Cisco Networking field so we can become best engineers on a job market. Wordpress Blog https://ccie4all.wordpress.com/ information about the changes made to Gns3 BGP , MPLS and R&S CCIE labs. In order to access and download all provided materials and receive important updates from Gns3 BGP , MPLS and R&S CCIE labs under GNS3 tab in the main header please go ahead and subscribe to https://ccie4all.wordpress.com/ ! All other posts have not been affected and can be accessed at any given time. Enjoy ! Tom

2 Responses to Legacy Custom Queue & MQC

  1. Heya exceptional blog! Does running a blog such as
    this take a lot of work? I’ve very little understanding of programming but I was hoping to start my own blog soon. Anyhow, should you have any ideas or tips for new blog owners please share. I know this is off subject nevertheless I simply had to ask. Appreciate it!

    • ccie4all says:

      Hello Fusevision Seo !

      Due to the size of the internet and the amount of available information definitely the hardest part is to come up with new posts and subjects for instance once a week and make them available to general public. Ideally you would want your posts and all other information to be in some way unique in comparison to all the rest out there as otherwise you could end up with a very little traffic coming to your site what ultimately means that your site will be hard to find using search engines such as Google, Bing, Yahoo etc even despite the “keywords” you use for your site , it still may not be enough….
      You certainly do not have to be a programming guru to start your own website however it does not hurt to know a little , simply it’s easier to navigate and fix faults etc …
      Lastly “ideas for new blogs” – Do something you feel good and most confident at and then share it with the rest of the world !

      Hope this helps !
      Tom

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: