<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pushkar bhatkoti's blog........... &#187; QoS in 10 minutes</title>
	<atom:link href="http://pushkarbhatkoti.wordpress.com/category/qos-in-10-minutes/feed/" rel="self" type="application/rss+xml" />
	<link>http://pushkarbhatkoti.wordpress.com</link>
	<description>Just another CCIE voice certified person's blog....</description>
	<lastBuildDate>Mon, 07 Sep 2009 15:06:44 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='pushkarbhatkoti.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6d139ceb5b354b59d6e3f1222585db12?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Pushkar bhatkoti's blog........... &#187; QoS in 10 minutes</title>
		<link>http://pushkarbhatkoti.wordpress.com</link>
	</image>
			<item>
		<title>A practical approach- QoS in 10 minutes (any scenario)</title>
		<link>http://pushkarbhatkoti.wordpress.com/2008/08/07/a-practical-approach-qos-in-10-minutes/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2008/08/07/a-practical-approach-qos-in-10-minutes/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 08:42:09 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[1]]></category>
		<category><![CDATA[QoS in 10 minutes]]></category>
		<category><![CDATA[A practical approach- QoS in 10 minutes]]></category>
		<category><![CDATA[ccie voice A practical approach- QoS in 10 minutes]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=95</guid>
		<description><![CDATA[Bullshit! how can anyone do the QoS part in 10 minutes? 
YES its possible! and proved&#8230;. keep reading  
I have seen many people struggling with QoS and till last minute they are not 100 percent sure that if what that is the right solution what was asked in the monster exam. Even you have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=95&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="color:#0000ff;"><strong>Bullshit! how can anyone do the QoS part in 10 minutes? </strong></span></p>
<p><span style="color:#0000ff;"><strong>YES its possible! and proved&#8230;. keep reading <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></span></p>
<p>I have seen many people struggling with QoS and till last minute they are not 100 percent sure that if what that is the right solution what was asked in the monster exam. Even you have a good understanding of  QoS and you say that oh yeah, I have no problem with QoS but just about the enormous time everyone is puts in configuring the QoS itself.</p>
<p>Everyone may have different approach to win the lab game but my approach was like this;</p>
<p>The whole lab has 100 points. To pass the lab we only need 80 points.<br />
- Don&#8217;t touch LAN QoS &#8211; u hve to configure on 3 switches. CatOS is creepy, it may spike other things as well. AS u know 6608 blades are really old, applying QoS onto those older crabs may hung or may behave un-expected. I kept hearing from others that they had issues where they had to reset the 6608 blade or ethernet module. I was lucky, as here in Sydney lab I never had that kind of issue(s).</p>
<p>So the bottom line is, don&#8217;t be too greedy and you may safely leave some topics where you are not 100% confident (as i did). As we all know that the lab exam is not like the university exam where you&#8217;d be given points for partially correct answer.<br />
The real benefit of leaving  non-confident topics is &#8220;Save time&#8221; and put that time in doing other things , may be you can utilize that in verifying the answers again and agin until u drain your 8 hours time.</p>
<p>Just a sideconfig)#do sh run int s0/3/0<br />
Building configuration&#8230;</p>
<p>Current configuration : 152 bytes<br />
!<br />
interface Serial0/3/0<br />
description &#8212; to frswitch &#8211;<br />
no ip address<br />
encapsulation frame-relay<br />
ip ospf dead-interval minimal hello-multiplier 4<br />
end</p>
<p>HQ(config)#do sh run int s0/3/0.1<br />
Building configuration&#8230;</p>
<p>Current configuration : 178 bytes<br />
!<br />
interface Serial0/3/0.1 point-to-point<br />
description ====== To SITE-B =======<br />
ip address 10.10.33.1 255.255.255.128<br />
ip ospf mtu-ignore<br />
frame-relay interface-dlci 201<br />
end</p>
<p>HQ(config)#</p>
<p>HQ(config)#<br />
HQ(config)#do sh run int s0/3/0.2<br />
Building configuration&#8230;</p>
<p>Current configuration : 178 bytes<br />
!<br />
interface Serial0/3/0.2 point-to-point<br />
description ===== To SITE-C ======<br />
ip address 10.10.33.129 255.255.255.128<br />
ip ospf mtu-ignore<br />
frame-relay interface-dlci 202<br />
end</p>
<p>HQ(config)#</p>
<p>HQ(config)#<br />
HQ(config)#int s0/3/0.1<br />
HQ(config-subif)#bandwidth 512<br />
HQ(config-subif)#exit<br />
HQ(config)#<br />
HQ(config)#int s0/3/0.1<br />
HQ(config-subif)#<br />
HQ(config-subif)#!first Assign the bandwidth to this interface this is a must<br />
HQ(config-subif)#<br />
HQ(config-subif)#bandwidth 512<br />
HQ(config-subif)#<br />
HQ(config-subif)#!now the magic part<br />
HQ(config-subif)#<br />
HQ(config-subif)#frame-re interface-dlci 201<br />
HQ(config-fr-dlci)#<br />
HQ(config-fr-dlci)#auto qos voip trust fr-atm</p>
<p>Now lets see what MAGIC has the above command has done in your router;</p>
<h5 style="text-align:justify;"><em><span style="color:#ff0000;">Common Myth: </span>Auto-QoS breaks many things. I had the same concept until I proved that it does&#8217;t break anything and is a real time saver tool.  I know all bootcamps teaches not to use it, but they don&#8217;t explain you why not! May be they don&#8217;t want to tell you the secrets? duh! (just joking) . I never been to any bootcamp so I really don&#8217;t know what they teaches. I did everything start to finish in 9 months myself, self learning method with a few wonderful online study mates!</em></h5>
<h5 style="text-align:justify;"><em><br />
the other myth is wheather it is allowed in the real lab exam &#8211; yes it is, I raised this question with Ben NG on Ask Expert and his answer was &#8220;yes you can use it as long as it qualify the questions requirement&#8221; , in other word, its not just run auto-qos and thats all, you need to fine tune it.</em></h5>
<p><strong><span style="color:#993366;">Change#1 in existing configuration<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></strong><br />
First lets see if anything got changed in physical interface;</p>
<p>HQ(config-fr-dlci)#do sh run int s0/3/0<br />
Building configuration&#8230;</p>
<p>Current configuration : 196 bytes<br />
!<br />
interface Serial0/3/0<br />
description &#8212; to frswitch &#8211;<br />
no ip address<br />
encapsulation frame-relay<br />
ip ospf dead-interval minimal hello-multiplier 4<br />
no fair-queue<br />
frame-relay traffic-shaping &lt;&#8212;- NEW NEW<br />
end</p>
<p>HQ(config-fr-dlci)#</p>
<p>note; U don&#8217;t hve to remember to put that command if you are doing FRTS.</p>
<p><strong><span style="color:#993366;">Change#2 in existing configuration<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></strong></p>
<p>Next, lets see what has changed on sub interace:</p>
<p>HQ(config-fr-dlci)#do sh run int s0/3/0.1<br />
Building configuration&#8230;</p>
<p>Current configuration : 236 bytes<br />
!<br />
interface Serial0/3/0.1 point-to-point<br />
description ====== To SITE-B =======<br />
bandwidth 512<br />
ip ospf mtu-ignore<br />
frame-relay interface-dlci 201 ppp Virtual-Template200 &lt;&#8211; WOW<br />
class AutoQoS-FR-Se0/3/0-201 &lt;&#8212;WOW<br />
auto qos voip trust fr-atm<br />
end</p>
<p>HQ(config-fr-dlci)#</p>
<p><strong><span style="color:#993366;">Change#3 in existing configuration<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></strong><br />
HQ(config-fr-dlci)#do sh run | be class<br />
class-map match-any AutoQoS-VoIP-RTP-Trust<br />
match ip dscp ef<br />
class-map match-any AutoQoS-VoIP-Control-Trust<br />
match ip dscp cs3<br />
match ip dscp af31<br />
!<br />
!<br />
policy-map AutoQoS-Policy-Trust<br />
class AutoQoS-VoIP-RTP-Trust<br />
priority percent 70<br />
class AutoQoS-VoIP-Control-Trust<br />
bandwidth percent 5<br />
class class-default<br />
fair-queue</p>
<p>wow &#8211; thats sound really time saver here! but what about virtual template and frame-relay class?</p>
<p>well u won&#8217;t get everything spoon-feed <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
but wait! shut up!</p>
<p>this baby feeds you everything&#8230;. &#8216;auto qos voiptrust fr-atm&#8217;is the man here!</p>
<p><strong><span style="color:#993366;">Change#4 in existing configuration<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></strong></p>
<p>HQ(config-fr-dlci)#do sh run | be Virtual-Tem</p>
<p>frame-relay interface-dlci 201 ppp Virtual-Template200<br />
class AutoQoS-FR-Se0/3/0-201<br />
auto qos voip trust fr-atm<br />
!<br />
interface Serial0/3/0.2 point-to-point<br />
description ===== To SITE-C ======<br />
ip address 10.10.33.129 255.255.255.128<br />
ip ospf mtu-ignore<br />
frame-relay interface-dlci 202<br />
!<br />
interface Virtual-Template200 &lt;&#8212;&#8212;&#8212;&#8212;&#8211;WoW<br />
bandwidth 512<br />
ip address 10.10.33.1 255.255.255.128<br />
ppp multilink<br />
ppp multilink interleave<br />
ppp multilink fragment delay 10<br />
service-policy output AutoQoS-Policy-Trust</p>
<p>!<strong><span style="color:#993366;">Change#5 in existing configuration<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</span></strong></p>
<p>HQ(config-fr-dlci)#<br />
HQ(config-fr-dlci)#do sh run | be map-class<br />
map-class frame-relay AutoQoS-FR-Se0/3/0-201<br />
frame-relay cir 512000<br />
frame-relay bc 5120<br />
frame-relay be 0<br />
frame-relay mincir 512000<br />
!<br />
!</p>
<p>I think thats pretty much all you need for MLPPP scenario, for FRTS only<br />
you need use this command:</p>
<p>HQ(config-subif)#interface 3/0.2 &lt;&#8212; going to CME site for example<br />
HQ(config-subif)#bandwidth 2048<br />
HQ(config-subif)#<br />
HQ(config-subif)#!now the magic part<br />
HQ(config-subif)#<br />
HQ(config-subif)#frame-re interface-dlci 202<br />
HQ(config-fr-dlci)#<br />
HQ(config-fr-dlci)#auto qos voip trust &lt;&#8212; just that yes, noticed there is no &#8220;fr-atm&#8221;</p>
<h2><span style="text-decoration:underline;"><span style="color:#0000ff;">Summary of commands;</span></span></h2>
<p><span style="color:#0000ff;"> </span>auto qos voip trust          &lt;&#8212;- for FRTS only , no mlppp<br />
auto qos voip trust fr-atm   &lt;&#8212;- for MLPPP only</p>
<p><strong><span style="color:#993366;">How can you save time?<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
</span></strong>1. you don&#8217;t have to look in the docCD for any command.<br />
2. Just quickly put the above template on all sites and then copy and paste them into notepad and modify according to the questions need.</p>
<p>Some one who&#8217;s reading this blog must be saying that &#8220;Enough of the bullsh**t and about to close firefox/IE windows and probably mumaling about &#8216;oh dude come on now and get to the real life, show me how to do any QoS scenario in 10 minutes&#8221;</p>
<p>Hue&#8230;. you are 20 yrs+ old now [no morebaby] and still expecting someone will spoon feed you the QoS tricks?<br />
ok ok&#8230; showing you in a sec&#8230;.</p>
<p>Lets take an example;</p>
<p>a. mark sip and h323 traffic to cs3 [ since I hate switches, I will do it on router itself].<br />
b. hq to siteb = MLPPP,                  PVC = 512kbps<br />
c. hq to sitec = frf.12/shapping    PVC = 2048 kbps<br />
d.misc&#8230;. whatever&#8230;</p>
<p><span style="color:#ff0000;">Step#1:</span> do the marking first<br />
config t<br />
class-map match-any NBAR<br />
match protocol Sip<br />
match protocol h323</p>
<p>Policy-map remark<br />
class NBAR<br />
set dscp CS3</p>
<p>interface fas0/0<br />
service-policy input remark</p>
<p>now thats done HQ router, do show run and copy and paste it to other routers. Note when you copy and paste to other router it may take a bit of time to see the all commands pasted on the router, just paste on siteb router and move on to site c and paste there as well. Then come back to siteb router apply service-policy input on the lan facing interface and then move on to siteC router to apply the service-policy input command.</p>
<p>tips1# my fas0/0 had 3 sub-interface &#8211; fas0/0.10 for server ,  fas0/0.100 &#8211; hqvoice-vlan, fas0/0.1000 for datavlan. So instead of applying service policy on all 3 interface, just apply on the main one ie..e fas0/0.<br />
wow!</p>
<p>tips2# I have seen most of my friends tends to be leaving data vlan at siteB for marking. So put on both data and voice vlan at siteB.</p>
<p>tips3# Also noticed, at siteC CME router, be careful when marking. at my home lab i had 2801 router and 2 sub-interface on fast0/0 interface e.g. fas0/0.100 = voice, fas0/0.1000 =data. So i just put my QoS service policy on fas0/0 like i did on my Hq router.</p>
<p>Now you all propably think that marking on router is done and wow easy 10 points. but when you read your score report u will see &#8220;ZERO&#8221;!! Damn blame the innocent  guy at http://www.ccievoice-assessor.com/ coz he graded your lab wrong! May be he was in a pub just before he got back and went straight into your pod to start grading it!!</p>
<p>Think about SITEC where you&#8217;ve h323 RAS traffic also needs to be marked to CS3. You probably applied the QoS service-policy on fas0/0 [in my scenario above] and when dialpeer tries eastiblishing a call to hq, h323 signaling straight hits to WAN interface.<br />
Think about it! , you&#8217;ve applied marking on fas0/0 , when you confirm the QoS marking u won&#8217;t see that h323 protocol counters in the show policy-map interface command.<br />
bummer!</p>
<p>So above practice is just to mark signaling stuffs on each routers &#8211; max time 2-3 minutes. [not for the guys who don't know where "q" key is in the keyboard]. BTW people call me sometime a stenographer coz my typing speed is like those people who type really fast without looking at the keyboard [touch typeing]</p>
<p>Now remaining 7 minutes and I have the whole QoS job to bind up. . damn it doen&#8217;st look right.</p>
<p><span style="color:#ff0000;">STEP#2 Everything else, apart from marking;   s0/3/0.1 = hq to siteb , s0/3/0.2 hq to sitec<br />
</span></p>
<p>config t<br />
HQ(config)#int s0/3/0.1<br />
HQ(config-subif)#<br />
HQ(config-subif)#!first Assign the bandwidth to this interface this is a must<br />
HQ(config-subif)#<br />
HQ(config-subif)#bandwidth 512<br />
HQ(config-subif)#!now the magic part<br />
HQ(config-subif)#frame-re interface-dlci 201<br />
HQ(config-fr-dlci)#auto qos voip trust fr-atm<br />
exit</p>
<p>apply that command to siteb as well. at siteC router just use &#8216;auto qos voip trust&#8217; for frf.12 or frts<br />
<span style="color:#ff0000;">STEP#3 copying/pasting and modifying parameters in notepad to/from router.</span> MAX time = 4 minutes</p>
<p>Do &#8217;show run&#8217; pipe out the class-map+map-class+virtual-template and paste them into the notepad.<br />
HQ(config-fr-dlci)#do sh run | be class</p>
<p>class-map match-any AutoQoS-VoIP-RTP-Trust<br />
match ip dscp ef<br />
class-map match-any AutoQoS-VoIP-Control-Trust<br />
match ip dscp cs3<br />
match ip dscp af31<br />
!<br />
!<br />
policy-map AutoQoS-Policy-Trust &lt;&#8212;&#8211; use this default for HQ-2-siteB<br />
class AutoQoS-VoIP-RTP-Trust<br />
priority percent 70<br />
class AutoQoS-VoIP-Control-Trust<br />
bandwidth percent 5<br />
class class-default<br />
fair-queue</p>
<p>interface Virtual-Template200 &lt;&#8212;&#8212;&#8212;&#8212;&#8211;WoW<br />
bandwidth 512<br />
ip address 10.10.33.1 255.255.255.128<br />
ppp multilink<br />
ppp multilink interleave<br />
ppp multilink fragment delay 10<br />
service-policy output AutoQoS-Policy-Trust<br />
!</p>
<p>HQ(config-fr-dlci)#<br />
HQ(config-fr-dlci)#do sh run | be map-class<br />
map-class frame-relay AutoQoS-FR-Se0/3/0-201<br />
frame-relay cir 512000<br />
frame-relay bc 5120<br />
frame-relay be 0<br />
frame-relay mincir 512000<br />
!</p>
<p>Within your notepad, copy and paste the policy-map (above) commands, we need to prepare that for hq to siteC.<br />
policy-map AutoQoS-Policy-Trust-SITEC &lt;&#8212;&#8211; copy and paste within notepad rename end of itSITEC<br />
class AutoQoS-VoIP-RTP-Trust<br />
priority percent 70 &lt;&#8212;&#8212;&#8212;&#8212;change them if required<br />
class AutoQoS-VoIP-Control-Trust<br />
bandwidth percent 5 &lt;&#8212;&#8212;&#8212;-change them whatever u want<br />
class class-default<br />
fair-queue</p>
<p>another copy and paste business withing notepad;</p>
<p>frame-relay cir 512000 &lt;&#8212; that shud be 95% of pvc according to the QoS SRND<br />
frame-relay bc 5120 &lt;&#8212;&#8212;-ditto&#8212;-<br />
frame-relay be 0<br />
frame-relay mincir 512000 &#8212;-ditto&#8212;-</p>
<p>tips#?# press ctrl + h in notepad put infront of find &#8211; 5120 , replace-with 4864 (95% of pvc), and hit replace all.. bingo&#8230; ur all 3 parameters are replaced now. do the same for hq to siteC frame-relay pvc parameters.</p>
<p>Once everything is ready in notepad, paste above parameters back to routers. Make a note that hq and siteC frame-relay class-map name could be different and also under map-class service-policy statement u need to remove the existing one first then type the new one &#8217;service-policy output autoqos-blah&#8211;sitec&#8217;<br />
paste pvc parameters at the same time.</p>
<p><span style="color:#ff0000;">Last step4# verification </span></p>
<p>show policy-map interface and check the counters.</p>
<p>break-down of time is;</p>
<p>3 minutes = marking<br />
3 minutes = applying autoqos<br />
4 minutes = modifying parameter and pasting them back to router and verification.</p>
<p>First time when I did this practice, it used to take my 30-40 minutes. Gradually when I knew inside out where to modify and how to use notepad I really reduced it down to 10 minutes. Believe me, its doeable, just matter of the practice.</p>
<p>do this practice 10 times and when u reach to 11th then u will see oh, QoS is only 10 minute job.</p>
<p>Note, I haven&#8217;t included the time in reading the QoS question in above 10 minute business.</p>
<p>The other important tip is, read the question 3 times and verify that if the solution u are working on is going in the right direction.</p>
<p>Pushkar Bhatkoti<br />
CCIE voice #21569</p>
<p>PS: if anyone who found this article useful, don&#8217;t forget to send me a post card. LOL :=)</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/pushkarbhatkoti.wordpress.com/95/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/pushkarbhatkoti.wordpress.com/95/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=95&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2008/08/07/a-practical-approach-qos-in-10-minutes/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/89c6928aa356ad85cfc4a6752fea7f09?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pushkarbhatkoti</media:title>
		</media:content>
	</item>
	</channel>
</rss>