Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » Cisco » [Config] QoS+VoIP on a Cisco - sample config
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
OK to buy OEM dram/flash? »
« Pix 501 Inside Access List?  
AuthorAll Replies


LilYoda
Feline with squirel personality disorder
Premium
join:2004-09-02
Mountains


2 edits
 reply to LilYoda
[Config] QoS+VoIP on a Cisco - queuing

And here's the beauty, the queuing engine
Took me a while to figure it out
class-map match-any VoIP-Class-Outbound
match ip precedence 7
class-map match-any Hi-Class-Outbound
match ip precedence 6
match ip precedence 5
class-map match-any Med-Class-Outbound
match ip precedence 4
match ip precedence 3
class-map match-any Lo-Class-Outbound
match ip precedence 2
match ip precedence 1
Queueing for data only. Parameters unsure for the random-detect, although they work fine for me... The current setting make the low class really hammered when there is traffic in the high & medium classes make the exponential-weighting-constant the same as the others if you want them to be more equal.

But in my experience, you have to be really aggressive to slow down eMule and Bittorent traffic.
policy-map Data-Only-Queueing
class Hi-Class-Outbound
bandwidth percent 50
random-detect prec-based
random-detect exponential-weighting-constant 8
random-detect precedence 6 20 60 20
random-detect precedence 5 6 15 6
class Med-Class-Outbound
bandwidth percent 25
random-detect prec-based
random-detect exponential-weighting-constant 8
random-detect precedence 4 15 30 15
random-detect precedence 3 1 15 3
class Lo-Class-Outbound
bandwidth percent 25
random-detect prec-based
random-detect exponential-weighting-constant 3
random-detect precedence 2 15 30 15
random-detect precedence 1 1 15 3
Class for all traffic.
Uses LLQ with 72Kbps assigned to the Voice class, and 171Kbps assigned to data, using the queuing defined above
policy-map Packet-Queueing
class VoIP-Class-Outbound
priority 72
class class-default
shape average 171000
bandwidth 171
service-policy Data-Only-Queueing
Apply policy to your outbound interface (replace ethernet0 by your outside interface)
max-reserved-bandwidth 95 leaves 14Kbps (in my case) for anything that wasn't foreseen (routing updates, uncolored traffic, etc...)
interface Ethernet0
bandwidth 256
max-reserved-bandwidth 95
service-policy output Packet-Queueing
tx-ring-limit 2
tx-queue-limit 2
EDIT: made a simpler version using precedence instead of DSCP

hlygrail

join:2002-09-08

God Bless You!!

I was getting ready to post a question looking for a way to assign priority queueing to my 1720, having tried and failed (now I see why!).

Thank you for doing -- and DOCUMENTING -- the legwork for all to benefit.

paarlberg

join:2000-07-28
Lilburn, GA

Here is what I used on my 2621 to add QoS for H.323 and 3Com NBX pbx and phones. The "match ip dscp 46" was for the 3Com NBX portion.

**********************************************
ip cef
class-map match-any VOICE
match protocol rtp
match ip dscp 46
exit
policy-map QOS-RTP
class VOICE
priority percent 50
exit
**********************************************

Then you must apply to each interface that you want it to use..
**********************************************
interface
service-policy output QOS-RTP
**********************************************

You can also set priority by max bandwidth instead of percent (128k in the example below). Would recommend percent on ADSL and bandwidth for ethernet or high-speed serial. If you use both create a new policy-map for that.. QOS-RTP-DSL and QOS-RTP-ETH, or something like that..

**********************************************
priority bandwidth 128
**********************************************
Forums » Equipment Support » Hardware By Brand » CiscoOK to buy OEM dram/flash? »
« Pix 501 Inside Access List?  


Thursday, 03-Dec 03:05:13 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [162] Comcast Releasing Promised Usage Meter
· [96] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [79] Latest Consumer Reports Survey Not Kind To AT&T
· [70] Baltimore To Ban Lazy Cable Installs
· [64] Avast Antivirus Has Gone Mad
· [62] Broadband Killed The Game Console
· [55] Rogers Unveils The ISP Dream Model
· [46] ACTA: Global Three Strikes
· [41] Rural Carriers Quickly Embracing Fiber
· [40] AT&T, Verizon Drop 3G Ad Dispute
Most people now reading
· False positive in Avast! or is it real? [Security]
· Windows 7 boot manager editing questions [Microsoft Help]
· ToC 4th boss - Preliminary Strategy for Twin Valkyr [World of Warcraft]
· Quality/longevity of 15A 120V receptacles [Home Repair & Improvement]
· Linksys Gateway Mode vs Router Mode [Linksys]
· [Newsgroups] Newzleech down? [Filesharing Software]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· Opening a file download dialog from a JavaScript function. [Webmasters and Developers]