cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
975
Views
0
Helpful
2
Replies

QoS configuration

marinos_g
Level 1
Level 1

Hi,

Can someone give me a QoS configuration example please?

I want to give some dedicated bandwidth to 2 hosts (for voice) via a 2Mbit link

HostA(central)----2Mbit----HostB(remote).

Thank you.

2 Replies 2

Edison Ortiz
Hall of Fame
Hall of Fame

You haven't mentioned the hardware in question but if we are dealing with a regular IOS router, the config is as follow.

First, you need to create an ACL to identify those 2 hosts.

access-list 1 permit host A.B.C.D

access-list 1 permit host E.F.G.H

Then you create the class-map to match against these host

class-map QoS_Class

match access-group 1

Then you need you associate the class-map to a policy-map and if you are dealing with voice traffic, we recommend apply priority instead of bandwidth reservation. Priority will allow the packets to be dequeue first. You also have to create a hierarchical policy because you are running subrated speeds.

First the Child policy:

policy-map QoS_Policy_Child

class QoS_Class

   priority percent 10

Then the parent Policy:

policy-map QoS_Policy

class class-default

   shape average 2000000

    service-policy QoS_Policy_Child

And finally, you apply to the interface:

interface f0/0

service-policy output QoS_Policy

Regards,

Edison

Thank you for your reply.

Yes, I'm running IOS in cisco 1841 routers.

If I understood correctly, your config will dedicate 10% of my 2Mbit link for my voice traffic, correct?

I'll try it and I'll let you know.

Give me a few days since I have to go on-site to configure this. I don't have remote access.

Thank you,

Marinos

Review Cisco Networking for a $25 gift card