<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>[Config] QoS+VoIP on a Cisco - sample config in Cisco</title>
<link>http://www.dslreports.com/forum/r12421459</link>
<description></description>
<language>en</language>
<pubDate>Thu, 03 Dec 2009 11:18:36 EDT</pubDate>
<lastBuildDate>Thu, 03 Dec 2009 11:18:36 EDT</lastBuildDate>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13102717</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : I'm working on a house renovation this week-end, so I won't be able to help<br><br>As far as I remember, the 800 series does not allow for one policy-map to call another policy map (aka policy nesting)<br><br>I am not sure either if it supports named ACLs now.  If it still doesn't, the config might be a LOT nastier to troubleshoot :)<br><br>So you could probably still get away with it by using one single policy map like<br><br><div class="code"><PRE><span class="codetext">policy-map Packet-Queueing<br>  class VoIP-Class-Outbound<br>    priority 72<br>  class Hi-Class-Outbound<br>   bandwidth remaining percent 50<br>   random-detect prec-based<br>   random-detect exponential-weighting-constant 8<br>   random-detect precedence 6   20    60    20<br>   random-detect precedence 5   6     15    6<br>  class Med-Class-Outbound<br>   bandwidth remaining percent 25<br>   random-detect prec-based<br>   random-detect exponential-weighting-constant 8<br>   random-detect precedence 4   15    30    15<br>   random-detect precedence 3   1     15    3<br>  class Lo-Class-Outbound<br>   bandwidth remaining percent 25<br>   random-detect prec-based<br>   random-detect exponential-weighting-constant 3<br>   random-detect precedence 2   15    30    15<br>   random-detect precedence 1   1     15    3</SPAN></PRE></DIV><br>If it doesn't work, I could look into it and work with you some time next week :)<br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13102717</guid>
<pubDate>Wed, 06 Apr 2005 13:30:03 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13101173</link>
<description><![CDATA[<A HREF="/useremail/u/0"><b>anon</b></A> : LilYoda writes: but I haven't tried it, cause I don't have a 800 handy<br><br>Want access to play with one?  :)<br><br>I'll be trying out your config examples on the weekend on my 827.  Running c820-k9osy6-mz.123-9.bin]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13101173</guid>
<pubDate>Wed, 06 Apr 2005 10:02:04 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13030589</link>
<description><![CDATA[<A HREF="/useremail/u/635348"><b>rolande</b></A> : Yes. Again, my first statement was that you were correct in your assumption. Without an ACL, the rate-limit command applies to all traffic going in and/or out of an interface depending on the direction it is applied or if it is applied in both directions.<br><SMALL>--<br>Ignorance is temporary...stupidity lasts forever!</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13030589</guid>
<pubDate>Tue, 29 Mar 2005 00:40:58 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13029942</link>
<description><![CDATA[<A HREF="/useremail/u/201889"><b>Brandonv7</b></A> : But that would only if you want to prioritize different kinds of traffic as it does in this voip config. The rate limit command itself doesn't require an ACL thought. That is what i was trying to clarify for a problem i am working on..<br><SMALL>--<br>"Rose Tints My World To Keep Me Safe From My Trouble And Pain"Take a trip down the <A HREF="http://www.riverroads.com">River Roads!!</A></SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13029942</guid>
<pubDate>Mon, 28 Mar 2005 23:06:39 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13029735</link>
<description><![CDATA[<A HREF="/useremail/u/635348"><b>rolande</b></A> : That is correct. If you want to use rate-limit to color traffic with different precedence values it would be pointless without ACLs ;)<br><SMALL>--<br>Ignorance is temporary...stupidity lasts forever!</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13029735</guid>
<pubDate>Mon, 28 Mar 2005 22:43:35 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13028855</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : I believe this is correct.<br>But you can also attach a access-list, and use it to color inbound traffic by using set-prec-transmit as your conform and exceed actions.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13028855</guid>
<pubDate>Mon, 28 Mar 2005 20:55:27 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13026722</link>
<description><![CDATA[<A HREF="/useremail/u/201889"><b>Brandonv7</b></A> : You don't have to have an ACL to use the basic Rate-Limit command, do you? I read it as you only use an ACL if you want to rate limit just some of the traffic through that interface?<br><SMALL>--<br>"Rose Tints My World To Keep Me Safe From My Trouble And Pain"Take a trip down the <A HREF="http://www.riverroads.com">River Roads!!</A></SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13026722</guid>
<pubDate>Mon, 28 Mar 2005 16:40:36 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13022852</link>
<description><![CDATA[<A HREF="/useremail/u/1178887"><b>plm2005</b></A> : yes I have ip cef, but NBAR is not for me.<br>I had big crash files.<br>It happened in the past, because of memory bugs,  but the new IOS has other much worse bugs so I will stay with the current IOS for now.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13022852</guid>
<pubDate>Mon, 28 Mar 2005 04:29:53 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13018641</link>
<description><![CDATA[<A HREF="/useremail/u/635348"><b>rolande</b></A> : Did you globally enable 'ip cef' before enabling NBAR protocol matching? Depending on what you were using NBAR for, a 1712 is kind of a small router if you were doing too much with it. You could easily kill the memory or CPU.<br><br>Did you get log msgs or traceback msgs on console? Did the router crash or just log malloc messages?<br><SMALL>--<br>Ignorance is temporary...stupidity lasts forever!</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13018641</guid>
<pubDate>Sun, 27 Mar 2005 15:13:15 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13018442</link>
<description><![CDATA[<A HREF="/useremail/u/1178887"><b>plm2005</b></A> : NBAR was real disaster. My router crashed two times after I configured something with NBAR. I just got 2 memory crashes so I removed this shit. <br>I will wait for the ACLs.<br>I hope I will manage it.<br>I have some problems with Microsoft FRS now, so it took my time during the weekend.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13018442</guid>
<pubDate>Sun, 27 Mar 2005 14:43:54 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13017516</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : linux debian + tac_plus, works like a charm<br>(except when you're a numb nuts like me and mess up the key on the router :( )<br><br>I got the latest version of tac_plus recently for my work lab, so that I could give different rights based on the source IP.  I'll post the version here when I get back to work on monday]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13017516</guid>
<pubDate>Sun, 27 Mar 2005 12:30:07 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13014068</link>
<description><![CDATA[<A HREF="/useremail/u/635348"><b>rolande</b></A> : What TACACS server do you use? I am contemplating setting one up on my Linux server for my terminal server on my lab rack. Got any good suggestions? Thanks!<br><SMALL>--<br>Ignorance is temporary...stupidity lasts forever!</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13014068</guid>
<pubDate>Sat, 26 Mar 2005 22:01:28 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13012841</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : I wanted to use NBAR, but it isn't supported on my 4700 :(<br><br>For the Skype and IPSec traffic, I already have the ACLs built, however I locked myself out of my router yesterday, in a daring attempt to improve my tacacs config *sigh*<br><br>So you'll have to wait till I get back home and can break into the router through the console port, which should be some time next week :D]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13012841</guid>
<pubDate>Sat, 26 Mar 2005 19:02:27 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,13000279</link>
<description><![CDATA[<A HREF="/useremail/u/1178887"><b>plm2005</b></A> : Hi LilYoda,<br>I have some questions on how to customize your brilliant QoS config file. On what email can I contact you?<br>I have cisco 1712 and a VPN site-to-site.<br>It is configured directly on the WAN interface and I am wondering how to give priority to the IPsec traffic.<br>I also want to give priority to Skype and tried something with UDP port, but not quite sure if it works. I am using NBAR and this is not working as expected.<br>You configuration seems much better.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,13000279</guid>
<pubDate>Fri, 25 Mar 2005 05:27:59 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12979652</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : w0000t :D]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12979652</guid>
<pubDate>Tue, 22 Mar 2005 22:33:11 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12978816</link>
<description><![CDATA[<A HREF="/useremail/u/614391"><b>ultatryon</b></A> : I just made a derivitive configuration based on this information on a 1720 w/ a WIC-1ENET running 12.2(4)YA6 (Feature Set K9O3SY7)<br><br>So, I can definately vouch that it runs on a 1720 ;)<br><br>Oh, and to bump this back to the top ;)]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12978816</guid>
<pubDate>Tue, 22 Mar 2005 21:08:43 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12832109</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : <div class="bquote"><SMALL>said by  rolande <A HREF="/useremail/u/635348"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A>:</SMALL><BR><BR>I believe that the police command under policy-maps was included in a later 12.2T train code or 12.3. <br><br>Otherwise you can use cascaded rate-limit commands to do the same thing. When you set a rate-limit and an exceed-action of drop, anything beyond the threshold gets policed automatically.<br> </DIV>True...  However, there's 2 differences between police and rate-limit on an interface<br>1) rate-limit on an interface needs an ACL.  In my case, I have 1 ACL per type of traffic, then I bundled all the ACLs in a class-map.  It makes it a LOT easier to move one traffic between classes, or to add a new type of traffic to a class<br>2) the police statements are not here to drop the traffic, but to recolor it.  Then the queueing engine (WRED) treats traffic that's exceeding its bandwidth more aggresively.<br>If you dropped anything above a specific bandwidth, then you'd waste the bandwidth assigned to classes not in use.<br><br>In my case, I wanted to reserve 72 Kbps to VoIP, but the remaining 171Kbps to be shared between 3 classes of data traffic.  That means that if I am not sending anything that gets colored as HI or MED class, the LO class uses all the 171 Kbps bandwidth.  But most of its traffic is colored with precedence 1 instead or precedence 2 (only 43Kbps get colored with precedence 2)<br><br>So the WRED queueing engine is more aggressive towards precedence 1 than precedence 2 (cause I configured it like that).  Then if I start sending say some MED traffic.  It gets colored as Prec. 4 up to 43Kbps and Prec 3 above...<br><br>So in the end, the WRED sends packets out in the order of precedence 4, 2, then 3, then 1...  Meaning it's very likely the exceeding prec. 1 traffic will be dropped by WRED, and some of the Prec. 3 as well.<br><br>I'm not sure I'm making this very clear. I know it's a weird concept...  Let me know if more info is needed, or if I'm the only one to understand my post :)]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12832109</guid>
<pubDate>Fri, 04 Mar 2005 17:00:32 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12832034</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : <div class="bquote"><SMALL>said by  ugalosh <A HREF="/useremail/u/733297"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A>:</SMALL><BR><BR>The posts above all contain:<br>"EDIT: made a simpler version using precedence instead of DSCP"<br><br>Is that the version posted? Kinda new at this and trying comprehend it all. Working to try find a version of ios for my 2600 that has the 'police' command in policy-map, with very little success.<br> </DIV>Yes, I was using DSCP in the past, but found out precedence works just as well, and precedence numbers are easier to follow than DSCP ones<br><br>police statements work on any 2600/3600/3700/4500 with a 12.2.24 IOS (IP PLUS versions, the ones with "-is-" in the name)<br>I think you also have to turn "ip cef" on before you can access the police statement<br><br>I think it works on 1720s too, but almost sure that policy nesting doesn't work on 800 chassis]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12832034</guid>
<pubDate>Fri, 04 Mar 2005 16:51:26 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12822140</link>
<description><![CDATA[<A HREF="/useremail/u/563646"><b>smp606</b></A> : Very nice write-up!]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12822140</guid>
<pubDate>Thu, 03 Mar 2005 15:44:10 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12820277</link>
<description><![CDATA[<A HREF="/useremail/u/739998"><b>Innuendo</b></A> : LilYoda,<br><br>Thanks for sharing your hard work here for all to benefit. <br><br>This, IMHO, should be submitted as a FAQ so your hard work can benefit people in the future without danger of it getting buried in the sands of time.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12820277</guid>
<pubDate>Thu, 03 Mar 2005 11:45:24 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12817671</link>
<description><![CDATA[<A HREF="/useremail/u/635348"><b>rolande</b></A> : I believe that the police command under policy-maps was included in a later 12.2T train code or 12.3. <br><br>Otherwise you can use cascaded rate-limit commands to do the same thing. When you set a rate-limit and an exceed-action of drop, anything beyond the threshold gets policed automatically.<br><SMALL>--<br>Ignorance is temporary...stupidity lasts forever!</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12817671</guid>
<pubDate>Thu, 03 Mar 2005 00:36:06 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12814583</link>
<description><![CDATA[<A HREF="/useremail/u/733297"><b>ugalosh</b></A> : The posts above all contain:<br>"EDIT: made a simpler version using precedence instead of DSCP"<br><br>Is that the version posted? Kinda new at this and trying comprehend it all. Working to try find a version of ios for my 2600 that has the 'police' command in policy-map, with very little success.<br><br>Thanks,<br>Uga.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12814583</guid>
<pubDate>Wed, 02 Mar 2005 19:26:51 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12720783</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : It runs on almost any platform, except the 800 series.<br>I think the 800<br>a) doesn't support named access-lists (which isn't a blocking point just very annoying to troubleshoot all those ACLs if they only have numbers)<br>b) doesn't support policy nesting...  Can't call a policy map from within another policy map.  There may be a workaround (like including all in 1 policy, but I haven't tried it, cause I don't have a 800 handy<br><br>I am using 12.2.24 on a 4700, but I think it runs on 12.1 IOSes.  You just need an IP Plus version, no need for enterprise IOS]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12720783</guid>
<pubDate>Sun, 20 Feb 2005 10:01:00 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12719014</link>
<description><![CDATA[<A HREF="/useremail/u/1078968"><b>BigBlockChev</b></A> : What version / level of IOS do you need to support these neat QoS features?  (I'm a Cisco dinosaur, the last version I used was 11.2 on a 4500M). I'm interested in getting a used 2621 for home office use though.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12719014</guid>
<pubDate>Sun, 20 Feb 2005 00:10:51 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12718175</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : Got lazy, haven't done the wiring yet :D]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12718175</guid>
<pubDate>Sat, 19 Feb 2005 22:09:06 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12717729</link>
<description><![CDATA[<A HREF="/useremail/u/635348"><b>rolande</b></A> : How did your ADT alarm like using VoIP to call out or did it even work at all? Most VoIP gateways and Cisco IOS have the ability to disable modems and faxes from working. Not to mention, a VoIP line is more likely to get squirrely and easily hose up modem negotiation. Just curious to hear your experience with it.<br><SMALL>--<br>Ignorance is temporary...stupidity lasts forever!</SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12717729</guid>
<pubDate>Sat, 19 Feb 2005 21:10:15 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - queuing</title>
<link>http://www.dslreports.com/forum/remark,12714610</link>
<description><![CDATA[<A HREF="/useremail/u/177492"><b>paarlberg</b></A> : 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.<br><br>**********************************************<br>ip cef<br>class-map match-any VOICE<br>  match protocol rtp<br>  match ip dscp 46<br>exit<br>policy-map QOS-RTP<br>  class VOICE<br>    priority percent 50<br>exit<br>**********************************************<br> <br>Then you must apply to each interface that you want it to use..<br>**********************************************<br>interface <br> service-policy output QOS-RTP<br>**********************************************<br> <br>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..<br> <br>**********************************************<br>priority bandwidth 128 <br>********************************************** ]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12714610</guid>
<pubDate>Sat, 19 Feb 2005 12:56:57 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - queuing</title>
<link>http://www.dslreports.com/forum/remark,12498959</link>
<description><![CDATA[<A HREF="/useremail/u/685350"><b>hlygrail</b></A> : <B>God Bless You!!</B><br><br>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!).<br><BR>Thank you for doing -- and <U>DOCUMENTING</U> -- the legwork for all to benefit.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12498959</guid>
<pubDate>Wed, 26 Jan 2005 21:34:00 EDT</pubDate>
</item>

<item>
<title>[Config] QoS+VoIP on a Cisco - Add-ons</title>
<link>http://www.dslreports.com/forum/remark,12423251</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : life savers:<br><br>The 2 aliases below show you all stats of your upload traffic, and all stats of the queuing (how many packets dropped by the queuing engine, etc...)<br><br><div class="code"><PRE><span class="codetext">alias exec out show policy-map interface Ethernet0 *<br> | exclude 0/0               0/0              0/0<br>alias exec in show policy-map interface Ethernet1<br> <br>(*) WARNING 1 long line(s) split</SPAN></PRE></DIV><br>now from the console just type "out" or "in" to get your stats.  If there is a lazy way to do things, it is my duty to find it :D<br><br>EDIT watch out for the line break in the exemple above, the "alias exec out" line ends after the last "0/0" and there is no "*" in the final line.  It should be<br>"alias exec out show policy-map interface Ethernet0 | exclude 0/0               0/0              0/0"<br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12423251</guid>
<pubDate>Tue, 18 Jan 2005 23:34:57 EDT</pubDate>
</item>

<item>
<title>Re: [Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12422093</link>
<description><![CDATA[<A HREF="/useremail/u/1135710"><b>vonsen</b></A> : I thank you. My cisco thanks you.<br><br>--<br><SMALL><A HREF="http://www.dslreports.com/forum/remark,12330570~mode=flat">Email these Lingo executives about the misrepresented 18% hike: psingh@primustel.com,nhazard@primustel.com,tkloster@primustel.com,jdepodesta@primustel.com,t book@primustel.com,smcintyre@primustel.com,anayar@primustel.com,tlawson@primustel.com,mguirg is@primustel.com,jmelick@primustel.com,jrosenblatt@primustel.com,ghicks@primustel.com,mmagil l@primustel.com</A></SMALL>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12422093</guid>
<pubDate>Tue, 18 Jan 2005 21:32:17 EDT</pubDate>
</item>

<item>
<title>[Config] QoS+VoIP on a Cisco - queuing</title>
<link>http://www.dslreports.com/forum/remark,12421846</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : And here's the beauty, the queuing engine<br>Took me a while to figure it out<br><div class="code"><PRE><span class="codetext">class-map match-any VoIP-Class-Outbound<br>  match ip precedence 7<br>class-map match-any Hi-Class-Outbound<br>  match ip precedence 6<br>  match ip precedence 5<br>class-map match-any Med-Class-Outbound<br>  match ip precedence 4<br>  match ip precedence 3<br>class-map match-any Lo-Class-Outbound<br>  match ip precedence 2<br>  match ip precedence 1</SPAN></PRE></DIV>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.<br><br>But in my experience, you have to be really aggressive to slow down eMule and Bittorent traffic.<br><div class="code"><PRE><span class="codetext">policy-map Data-Only-Queueing<br>  class Hi-Class-Outbound<br>   bandwidth percent 50<br>   random-detect prec-based<br>   random-detect exponential-weighting-constant 8<br>   random-detect precedence 6   20    60    20<br>   random-detect precedence 5   6     15    6<br>  class Med-Class-Outbound<br>   bandwidth percent 25<br>   random-detect prec-based<br>   random-detect exponential-weighting-constant 8<br>   random-detect precedence 4   15    30    15<br>   random-detect precedence 3   1     15    3<br>  class Lo-Class-Outbound<br>   bandwidth percent 25<br>   random-detect prec-based<br>   random-detect exponential-weighting-constant 3<br>   random-detect precedence 2   15    30    15<br>   random-detect precedence 1   1     15    3</SPAN></PRE></DIV>Class for all traffic.<br>Uses LLQ with 72Kbps assigned to the Voice class, and 171Kbps assigned to data, using the queuing defined above<br><div class="code"><PRE><span class="codetext">policy-map Packet-Queueing<br>  class VoIP-Class-Outbound<br>    priority 72<br>  class class-default<br>   shape average 171000<br>   bandwidth 171<br>   service-policy Data-Only-Queueing</SPAN></PRE></DIV>Apply policy to your outbound interface (replace ethernet0 by your outside interface)<br>max-reserved-bandwidth 95 leaves 14Kbps (in my case) for anything that wasn't foreseen (routing updates, uncolored traffic, etc...)<br><div class="code"><PRE><span class="codetext">interface Ethernet0<br> bandwidth 256<br> max-reserved-bandwidth 95<br> service-policy output Packet-Queueing<br> tx-ring-limit 2<br> tx-queue-limit 2</SPAN></PRE></DIV>EDIT: made a simpler version using precedence instead of DSCP<br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12421846</guid>
<pubDate>Tue, 18 Jan 2005 21:08:21 EDT</pubDate>
</item>

<item>
<title>[Config] QoS+VoIP on a Cisco - local marking</title>
<link>http://www.dslreports.com/forum/remark,12421812</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : Why is that?  Well, because when you telnet to your router from the internet (bad bad you, this isn't secure you know? :p ) your packets aren't going inbound on Ethernet1, so they aren't colored, so the queueing engine won't know what to do with those...<br><br><div class="code"><PRE><span class="codetext">route-map Local-Tagging permit 20<br> description --- Telnet traffic goes in High Class<br> match ip address Telnet-Traffic<br> set ip precedence 6<br>!<br>route-map Local-Tagging permit 40<br> description --- The rest goes in Medium class<br> set ip precedence 4<br>!<br>ip local policy route-map Local-Tagging</SPAN></PRE></DIV><br>EDIT: made a simpler version using precedence instead of DSCP<br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12421812</guid>
<pubDate>Tue, 18 Jan 2005 21:03:35 EDT</pubDate>
</item>

<item>
<title>[Config] QoS+VoIP on a Cisco - coloring</title>
<link>http://www.dslreports.com/forum/remark,12421750</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : OK, let's get into the funny stuff...<br><br>I like to have 4 types of traffic<br>The VoIP traffic, the high importance data, the medium importance data, and the low importance one (aka the cr@p)<br><br>All the below are exemples, you need to either write your access-lists to match what goes where, or use the NBAR service, which I haven't tested yet.<br><div class="code"><PRE><span class="codetext">! mandatory (I think)<br>ip cef</SPAN></PRE></DIV>Matching traffics that will go in the VoIP class<br><div class="code"><PRE><span class="codetext">ip access-list extended Lingo-ATA<br> remark --- traffic from Lingo's ATA box<br> permit ip host 192.168.254.11 any<br>ip access-list extended Skype<br> remark --- Skype traffic<br> permit udp any eq 44330 any<br>ip access-list extended TS-server<br> remark --- TeamSpeak Server traffic<br> permit udp host 192.168.254.1 eq 8767 any</SPAN></PRE></DIV>Matching traffics that will go in the High class<br><div class="code"><PRE><span class="codetext">ip access-list extended Outbound-DNS<br> remark --- outbound DNS queries<br> permit udp 192.168.254.0 0.0.0.255 any eq domain<br>ip access-list extended Telnet-Traffic<br> remark --- any telnet traffic<br> permit tcp any any eq telnet<br> permit tcp any eq telnet any<br>ip access-list extended WWW-and-SSL<br> remark --- make sure you deny eMule traffic<br> deny   udp any eq 4672 any<br> deny   tcp any eq 4662 any<br> remark --- make sure you deny BitTorrent traffic<br> deny   tcp any range 6881 6889 any<br> deny   udp any range 6881 6889 any<br> remark --- make sure you deny any other P2P app traffic<br> deny   udp any range XXXX XXXX any<br> remark --- permit http and https traffic<br> permit tcp any any eq www<br> permit tcp any any eq 443</SPAN></PRE></DIV>Matching traffics that will go in the Medium class<br><div class="code"><PRE><span class="codetext">ip access-list extended ICMP<br> remark --- ICMP from LAN<br> permit icmp 192.168.254.0 0.0.0.255 any<br>ip access-list extended FTP<br> remark --- FTP traffic from LAN to FTP servers<br> permit tcp 192.168.254.0 0.0.0.255 any eq ftp<br> permit tcp 192.168.254.0 0.0.0.255 any eq ftp-data</SPAN></PRE></DIV>Matching traffics that will go in the Low class<br><div class="code"><PRE><span class="codetext">ip access-list extended eMule<br> remark --- eMule default ports<br> permit udp any eq 4672 any<br> permit tcp any eq 4662 any<br> permit udp any any eq 4672<br> permit tcp any any eq 4662<br>ip access-list extended BitTorrent<br> remark --- BitTorrent default ports<br> permit tcp any range 6881 6889 any<br> permit udp any range 6881 6889 any<br> permit tcp any any range 6881 6889<br> permit udp any any range 6881 6889<br>ip access-list extended Squid<br> permit tcp host 192.168.254.1 eq 8080 any</SPAN></PRE></DIV>Making your Classes<br>If you want a specific traffic to go in a class, make a new ACL like the ones above, and add a "match" statement in the correct class below<br><div class="code"><PRE><span class="codetext">class-map match-any VoIP-Class-Inbound<br>  match access-group name Lingo-ATA<br>  match access-group name Skype<br>  match access-group name TS-server<br>  ! DSCP value EF is commonly allocated to voice traffic so<br>  ! in case you have a voice application already coloring the<br>  ! traffic to EF, you're all set, no need for a new ACL<br>  match ip dscp ef<br>class-map match-any Hi-Class-Inbound<br>  match access-group name Outbound-DNS<br>  match access-group name Telnet-Traffic<br>  match access-group name WWW-and-SSL<br>class-map match-any Med-Class-Inbound<br>  match access-group name ICMP<br>  match access-group name FTP<br>class-map match-any Lo-Class-Inbound<br>  match access-group name eMule<br>  match access-group name BitTorrent<br>  match access-group name Squid</SPAN></PRE></DIV>Policy-map coloring the traffic<br><br>VoIP   class colored as Precedence 7<br>High   class colored as Precedence 6 when below 85000 bps and Precedence 5 when above<br>Medium class colored as Precedence 4 when below 43000 bps and Precedence 3  when above<br>Low    class colored as Precedence 2 when below 43000 bps and Precedence 1 when above<br>Rest of traffic colored as Precedence 1<br><div class="code"><PRE><span class="codetext">policy-map Packet-Tagging<br>class VoIP-Class-Inbound<br>police 72000 9000 9000 conform-action set-prec-trans 7 exceed-action set-prec-trans 7<br>class Hi-Class-Inbound<br>police 85000 10000 10000 conform-action set-prec-trans 6 exceed-action set-dscp-tran 5<br>class Med-Class-Inbound<br>police 43000 5000 5000 conform-action set-prec-trans 4 exceed-action set-prec-trans 3<br>class Lo-Class-Inbound<br>police 43000 5000 5000 conform-action set-prec-trans 2 exceed-action set-prec-trans 1<br>class class-default<br>set ip precedence 1</SPAN></PRE></DIV>Apply policy to your inbound interface (replace ethernet1 by your inside interface)<br><div class="code"><PRE><span class="codetext">interface Ethernet1<br> service-policy input Packet-Tagging</SPAN></PRE></DIV><br>EDIT: made a simpler version using Precedence instead of DSCP<br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12421750</guid>
<pubDate>Tue, 18 Jan 2005 20:34:26 EDT</pubDate>
</item>

<item>
<title>[Config] QoS+VoIP on a Cisco - Lingo</title>
<link>http://www.dslreports.com/forum/remark,12421662</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : This is in case you have a Lingo ATA on your LAN.<br>The below assumes you want your ATA to be 192.168.254.11, if that ain't the case, replace by the IP you wanna give it in all posts from here.<br><br><div class="code"><PRE><span class="codetext">ip dhcp pool Lingo-ATA<br>   ! REPLACE THE IP BELOW IF YOU WANT TO GIVE ANOTHER ADDRESS TO YOUR LINGO ATA<br>   host 192.168.254.11 255.255.255.0<br>   ! REPLACE THE MAC BELOW BY YOUR LINGO ATA MAC ADDRESS<br>   hardware-address 00c3.8c56.ef57</SPAN></PRE></DIV>if your outside interface isn't Ethernet0 (Dialer1 in case of a DSL connection, for ex.), replace Ethernet0 by the appropriate interface<br><div class="code"><PRE><span class="codetext">ip nat inside source static udp 192.168.254.11 69 interface Ethernet0 69<br>ip nat inside source static udp 192.168.254.11 5060 interface Ethernet0 5060<br>ip nat inside source static udp 192.168.254.11 13456 interface Ethernet0 13456</SPAN></PRE></DIV>In the line below, after your ISP has given you a public IP address replace the XXX.XXX.XXX.XXX by your public IP<br>This line isn't mandatory, so try it only if the service isn't reliabe without it.<br>It is a major pain, as you would have to update this line every time your ISP gives you a new address, so I recommend using this as last resort and for troubleshooting ONLY!<br><div class="code"><PRE><span class="codetext">ip nat inside source static 192.168.254.11 XXX.XXX.XXX.XXX no-alias</SPAN></PRE></DIV>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12421662</guid>
<pubDate>Tue, 18 Jan 2005 20:25:27 EDT</pubDate>
</item>

<item>
<title>[Config] QoS+VoIP on a Cisco - Charter HSI</title>
<link>http://www.dslreports.com/forum/remark,12421552</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : Just for info, if you have Charter HSI, here's what the connection to it would look like:<br><br><div class="code"><PRE><span class="codetext">! The below assumes you want to make your router 192.168.254.253<br>! (replace ethernet0 and ethernet1 by your outside and inside interfaces)<br>!<br>service dhcp<br>!<br>interface Ethernet0<br> description --- Connected to broadband<br> ip address dhcp<br> ip nat outside<br> arp timeout 300<br>!<br>interface Ethernet1<br> ip nat inside<br>!<br>ip access-list standard Networks_2B_NATed<br> permit 192.168.254.0 0.0.0.255<br>!<br>ip nat inside source list Networks_2B_NATed interface Ethernet0 overload</SPAN></PRE></DIV><br>In case you want to host servers, here are 2 sample commands for port forwarding (making a service on your LAN available to the Internet)<br><br><div class="code"><PRE><span class="codetext">! Line below is for making the TeamSpeak server (192.168.254.1)<br>! reachable from the outside world (this is an exemple of port forwarding)<br>ip nat inside source static udp 192.168.254.1 8767 interface Ethernet0 8767<br>!<br>! Line below is for making the Squid proxy (192.168.254.1)<br>! reachable from the outside world (this is an exemple of port forwarding)<br>ip nat inside source static tcp 192.168.254.1 8080 interface Ethernet0 8080</SPAN></PRE></DIV>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12421552</guid>
<pubDate>Tue, 18 Jan 2005 20:14:40 EDT</pubDate>
</item>

<item>
<title>[Config] QoS+VoIP on a Cisco - LAN &#x26; DHCP</title>
<link>http://www.dslreports.com/forum/remark,12421529</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : Starting here, all the below relies on a LAN segment of 192.168.254.0/24 (mask of 255.255.255.0)<br><br>The below config assumes that 192.168.254.1 is your DNS, NTP server and WINS server. This is my case, cause I have setup those features on my linux server. If you use another DNS/NTP/WINS, change the corresponding options below.  If you don't have a WINS or NTP server, remove the lines related to it<br>If you don't have a private DNS server, replace the "dns-server 192.168.254.1" with the IP address of your ISP's DNS<br><br>DHCP addresses will be given in the 192.168.254.128 -> 192.168.254.192 range<br><br><div class="code"><PRE><span class="codetext">!<br>service dhcp<br>!<br>ip domain-name XXX.com<br>ip name-server 192.168.254.1<br>no ip dhcp conflict logging<br>ip dhcp excluded-address 192.168.254.1 192.168.254.128<br>ip dhcp excluded-address 192.168.254.192 192.168.254.254<br>!<br>ip dhcp pool Local-LAN<br>   network 192.168.254.0 255.255.255.0<br>   default-router 192.168.254.253<br>   domain-name XXX.com<br>   netbios-node-type h-node<br>   ! DNS server<br>   dns-server 192.168.254.1<br>   ! WINS server<br>   netbios-name-server 192.168.254.1<br>   ! NTP server<br>   option 42 ip 192.168.254.1<br>!<br>interface Ethernet1<br> description --- Internal LAN<br> ip address 192.168.254.253 255.255.255.0<br> no ip redirects<br> fair-queue<br>!<br>! Sync the router clock using the NTP server IP<br>ntp server 192.168.254.1</SPAN></PRE></DIV>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12421529</guid>
<pubDate>Tue, 18 Jan 2005 20:12:15 EDT</pubDate>
</item>

<item>
<title>[Config] QoS+VoIP on a Cisco - base</title>
<link>http://www.dslreports.com/forum/remark,12421482</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : Here is the basic<br><br>Out of the below, you may want to adjust the timezone seetings, and remove the config for the aux port if your router doesn't have one...<br><br><div class="code"><PRE><span class="codetext">service timestamps debug datetime localtime show-timezone<br>service timestamps log datetime localtime show-timezone<br>service password-encryption<br>no service tcp-small-servers<br>no service udp-small-servers<br>!<br>! Come on, let your imagination go wild and name your router !<br>hostname XXXXXXXX<br>!<br>logging buffered 16000 debugging<br>no logging console<br>!<br>! the enable password is not used, but must<br>! be different from the enable secret<br>enable secret XXXXXXXX<br>enable password XXXXXXXX<br>!<br>! Modify the 2 following lines to match your timezone, or remove if you<br>! want the router to display GMT time<br>clock timezone EST -5<br>clock summer-time EDT recurring 1 Sun Apr 3:00 last Sun Oct 3:00<br>!<br>ip subnet-zero<br>no ip source-route<br>no cdp run<br>no ip bootp server<br>no ip http server<br>no ip finger<br>ip classless<br>!<br>! You can change the below to your own badass disclaimer/banner<br>!<br>banner motd #<br> <br>NOTICE:  This is a private network device.  All activities on this system<br>         are monitored and recorded.<br>         Actual or attempted use, access, examination, or configuration<br>         change by an unauthorized person will result in criminal and <br>         civil prosecution to the full extent of the law.<br> <br>Enter password<br> <br>#<br>!<br>! Doesn't have to be the same PWD on Console,Aux and VTY ports<br>!<br>line con 0<br> password XXXXXXXX<br> login<br> transport output none<br>line aux 0<br> password XXXXXXXX<br> login<br> transport input none<br> transport output none<br>line vty 0 4<br> password XXXXXXXX<br> login<br> transport input telnet<br> transport output none</SPAN></PRE></DIV>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12421482</guid>
<pubDate>Tue, 18 Jan 2005 20:08:39 EDT</pubDate>
</item>

<item>
<title>[Config] QoS+VoIP on a Cisco - sample config</title>
<link>http://www.dslreports.com/forum/remark,12421459</link>
<description><![CDATA[<A HREF="/useremail/u/1069980"><b>LilYoda</b></A> : Well, took me a while, so I figured I'd post my config, if it can help out others<br><br>I will break it down in 7 sections<br>1) base: what I think every router should have<br>2) LAN & DHCP: the Local LAN config and DHCP server<br>3) cable: the specific part of connection I used to connect to Charter High Speed Internet service<br>4) marking: the coloring of inbound packets<br>5) local marking: the coloring of locally generated packets<br>6) lingo specific: cause I have lingo, and it was a b*tch to setup, so here it it<br>7) queueing: the fun in the post, how to make QoS work<br><br>more detail in each section, feel free to comment, and I'll try to keep the post updated if you find obvious errors]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,12421459</guid>
<pubDate>Tue, 18 Jan 2005 20:06:38 EDT</pubDate>
</item>

</channel>
</rss>
