11-05-2010 05:51 AM - edited 03-04-2019 10:23 AM
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.
11-05-2010 06:48 AM
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
11-07-2010 10:56 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide