Cisco QOS configuration [ simple example ]

Simple Cisco QOS configuration. Since a couple of days back I had to configure QOS on a Cisco router with 5 mbit of synchrone internet connection. To archive a configuration I had to figure out if i could find a simple way to create a QOS templete for VOICE & Citrix combined.
Step one [ configuring an access list for citrix ]:

ip access-list extended CITRIX
  permit tcp <ip range of lan + wildcard subnet> any eq 1494
  permit tcp <ip range of lan + wildcard subnet> any eq 2598
  permit udp <ip range of lan + wildcard subnet> any eq 2598
  permit udp <ip range of lan + wildcard subnet> any eq 1494

Step two [configuring an Policy map ]:

policy-map QOS
  class VOICE
   priority 1024 [ this 1024 I used for the continue bandwidth limit for voice ]
   set dscp ef
  class CITRIX
   bandwidth remaining percent 50 [ this is the remaining bandwidth limit for citrix ]
   set dscp af43
  class class-default
   fair-queue [ This is the rest of the bandwidth which is available for usage ]
   set dscp default
 policy-map ALL
  class SHAPING
   shape average 4750000 [ this is the shaped speed of the internet line ]
   service-policy QOS

Step three [ configering class-maps]:

class-map match-all CITRIX
  match access-group name CITRIX
 class-map match-all SHAPING
  match any
 class-map match-all VOICE
  match access-group name VOICE

After this you need to actived all the QOS settings to the interface you need it.

interface FastEthernet0/0
  bandwidth 5000
  max-reserved-bandwidth 100
  service-policy output ALL

3 thoughts on “Cisco QOS configuration [ simple example ]”

  1. Hoi Glazenbakje,
    Waarom niet voor de VOICE class-map in stap 3
    ————————————————
    class-map match-any VOICE
    match dscp ef
    ————————————————
    Gewoon nieuwsgierig….

    1. Dat is een goede vraag. De manier waarop ik het destijds had gedaan was de meest voor de hand liggende optie. Nu zou het kunnen zijn dat ik het op een andere manier gedaan te hebben. Zoveel QOS configuraties heb ik laatste tijd niet gedaan, wellicht dat ik ongeveer dezelfde configuratie de volgende keer weer ga gebruiken.
      Maar iedere input voor optimalisering van een configuratie is altijd welkom.

  2. Hi glazenbakje,
    I have seen the same style configuration template in the past and I have the questions below:
    1. Where do you mark the interesting traffic? I suppose in the below command. How your router will read the inderesting traffic in order to prioritize by itself before to send it out? Maybe you need to have the marking on the Lan interface applied?
    policy-map QOS
    class VOICE
    priority 1024 [ this 1024 I used for the continue bandwidth limit for voice ]
    set dscp ef —> Here?
    2. The policy is been applied on the outside interface which means everything will be applied by the exit of the traffic. In case of ADSL circuit I don’t think the ISP’s read QoS values and treat the traffic is being sent to them as bulk with FIFO.
    3. In the command below I suppose you use the upload of the line? As it is related to the outbound traffic.
    policy-map ALL
    class SHAPING
    shape average 4750000 [ this is the shaped speed of the internet line ] —-> Here
    service-policy QOS
    Thanks.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.