Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

QoS for VoIP

All,

I'm about to run our first site using voip through our ISP's mpls network. I was going to mark the traffic outbound, but I want to guarantee that the phones get a minimum amount of bandwidth when needed. I'm not sure if priority is a good choice since it polices the traffic also, so is using the priority command better than the bandwidth command under a  policy map for voip?

Also, should I mark the traffic outbound on the serial interface with the EF tag, or should I mark it inbound on the lan side of the router?

Thanks!

John

HTH, John *** Please rate all useful posts ***
1 ACCEPTED SOLUTION

Accepted Solutions

Re: QoS for VoIP

Hi John

You need to make sure that your ISP runs the QoS policies throughout their whole network till the egress PE after which the packets will be handed over to your remote end (CE) location. (thts the default case with most of the ISPs)

You need to apply the service policy command outbound on the serial interface.

Make sure you have similar configs at the remote end router as well so that you have policies applied on both the sides.

regds

7 REPLIES

Re: QoS for VoIP

Hi John

You should apply priority to the voice class instead of bandwidth, thats the best practice being used and followed.

And of course if you dont have voice traffic then the bandwidth will be available for other traffic class.

regds

Re: QoS for VoIP

Is there a calculation that I can use to figure out what a good minimum would be? I'm not sure how many phones I'm going to end up with....

Thanks,

John

HTH, John *** Please rate all useful posts ***

Re: QoS for VoIP

Hi

You need to arrive at a no of approx simultaneous calls which needs the WAN bandwidth, based on the same you can allocate the priority for the voice traffic.

Coding algorithm

BandwidthSampleIP bandwidth
G.711PCM64kbps0.125ms80kbps
G.723.1ACELP5.6kbps30ms16.27kbps
MP-MLQ6.4kbps17.07kbps
G.726ADPCM32kbps0.125ms48kbps
G.728LD-CELP16kbps0.625ms32kbps
G.729(A)CS-ACELP8kbps10ms24kbps

Above table for your reference, you can consider using G.729(A) codec and use it along with no of calls to arrive at the approx bandwidth required for voice traffic.

http://www.erlang.com/bandwidth.html

regds

Hall of Fame Super Blue

Re: QoS for VoIP

John

Just to expand on Edwin's answer . You said -

I'm not sure if priority is a good choice since it polices the traffic also, so is using the priority command better than the bandwidth command under a  policy map for voip?

That's actually what you want ie. you want the priority traffic to be policed otherwise priority traffic could end up starving the other queues. And if you have not setup your trust boundaries correctly someone could in theory mark all their traffic as priority in which case the policer will save you from that user having all bandwidth, although it could degrade the VOIP calls themselves.

So the trick is to estimate how many calls together with the codec to work out how much bandwidth you will need in the prioriy queue.

Also bear in mind if this is across an MPLS network then unless the provider is also prioritising this traffic it will be treated as best effort across the MPLS cloud.

Jon

Re: QoS for VoIP

Yeah, we've contacted the ISP to put qos on the link. So, should I apply the policy inbound on the inside interface or outbound on the serial side, or both inbound and outbound on the serial side?

John

HTH, John *** Please rate all useful posts ***
Hall of Fame Super Blue

Re: QoS for VoIP

j.blakley wrote:

Yeah, we've contacted the ISP to put qos on the link. So, should I apply the policy inbound on the inside interface or outbound on the serial side, or both inbound and outbound on the serial side?

John

John

Presumably the traffic will already be marked by the time it reaches your MPLS router ? If so then apply your queueing policy outbound on the serial interface.

Jon

Re: QoS for VoIP

Hi John

You need to make sure that your ISP runs the QoS policies throughout their whole network till the egress PE after which the packets will be handed over to your remote end (CE) location. (thts the default case with most of the ISPs)

You need to apply the service policy command outbound on the serial interface.

Make sure you have similar configs at the remote end router as well so that you have policies applied on both the sides.

regds

581
Views
20
Helpful
7
Replies