<?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/"
	>

<channel>
	<title>Aaron&#039;s Worthless Words &#187; shaping</title>
	<atom:link href="http://aconaway.com/tag/shaping/feed/" rel="self" type="application/rss+xml" />
	<link>http://aconaway.com</link>
	<description>It&#039;s possible that someone somewhere needs to see this.</description>
	<lastBuildDate>Fri, 10 Feb 2012 02:36:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>ONT Notes &#8211; AutoQoS</title>
		<link>http://aconaway.com/2010/02/10/ont-notes-autoqos/</link>
		<comments>http://aconaway.com/2010/02/10/ont-notes-autoqos/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 23:02:04 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[ccnp]]></category>
		<category><![CDATA[ont]]></category>
		<category><![CDATA[642-845]]></category>
		<category><![CDATA[auto]]></category>
		<category><![CDATA[autoqos]]></category>
		<category><![CDATA[campus]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[headers]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[policing]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[qos]]></category>
		<category><![CDATA[shaping]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[voice]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=484</guid>
		<description><![CDATA[Here are some more notes from my ONT studies.  AutoQoS seems to be pretty straightforward.]]></description>
			<content:encoded><![CDATA[<ul>
<li>AutoQoS benefits
<ul>
<li>Automates QoS for most deployments</li>
<li>Protects business-critical apps to maximize availability</li>
<li>Simplifies QoS deployments</li>
<li>Reduces configuration errors</li>
<li>Cheaper, faster, and simpler deployments</li>
<li>Follows DiffServ</li>
<li>Allows complete control over QoS configs</li>
<li>Allows modification of auto-generated configs</li>
</ul>
</li>
<li>AutoQoS phases of evolution
<ul>
<li>AutoQoS VOIP &#8211; Early version that configures the basics without discovery</li>
<li>AutoQoS for Enterprise &#8211; Second version that only runs on routers and uses two-step process
<ul>
<li>Autodiscovery using NBAR</li>
<li>Generation of class maps</li>
</ul>
</li>
</ul>
</li>
<li>AutoQoS key elements
<ul>
<li>Application classification</li>
<li>Policy generation</li>
<li>Configuration</li>
<li>Monitoring and reporting</li>
<li>Consistency</li>
</ul>
</li>
<li>Interfaces that you can configure AutoQoS on
<ul>
<li>Serial ifs with PPP and HDLC</li>
<li>FR point-to-point subifs (NOT multipoint)</li>
<li>ATM point-to-point subifs</li>
<li>FR-to-ATM links</li>
</ul>
</li>
<li>Prerequsites
<ul>
<li>No Qos policy already configured on if</li>
<li>CEF enabled on if</li>
<li>Correct bandwidth configured on if</li>
<li>IP address on low-speed if</li>
</ul>
</li>
<li>Configuring AutoQoS Enterprise on a router (NOT a switch)
<ul>
<li><strong>auto qos discovery</strong> &#8211; begins discovery process</li>
<li><strong>auto qos</strong> &#8211; generates and applies MQC-based policies</li>
</ul>
</li>
<li>Configuring AutoQoS VOIP
<ul>
<li><strong>auto qos voip [ trust | cisco-phone ]</strong></li>
</ul>
</li>
<li>Verifying AutoQoS on router
<ul>
<li><strong>show auto discovery qos</strong> &#8211; get autodiscovery results</li>
<li><strong>show auto qos</strong> &#8211; examine configuration generated
<ul>
<li>Number of classes</li>
<li>Classification options</li>
<li>Marking options</li>
<li>Queuing mechanisms</li>
<li>Other QoS mechanisms</li>
<li>If, subif, PVC where policy is applied</li>
</ul>
</li>
<li><strong>show policy-map interface</strong> &#8211; look at if stats</li>
</ul>
</li>
<li>Verify AutoQoS VOIP
<ul>
<li><strong>show auto qos</strong></li>
<li><strong>show policy-map interface</strong></li>
<li><strong>show mls qos maps</strong> &#8211; shows CoS to DSCP mappings</li>
</ul>
</li>
<li>Possible issues with AutoQoS
<ul>
<li>Too many traffic classes &#8211; manually consolidate some</li>
<li>Configuration doesn&#8217;t change &#8211; rerun AutoQoS</li>
<li>Configuration may not fit your situation &#8211; fine-tune it by hand</li>
</ul>
</li>
<li>Fine-tuning AutoQoS
<ul>
<li>Use QPM</li>
<li>CLI</li>
<li>copy policy into editor, change, reapply</li>
</ul>
</li>
<li>AutoQoS can match on characteristics besides ACLs and NBAR
<ul>
<li><strong>match input interface</strong></li>
<li><strong>match cos</strong></li>
<li><strong>match ip precedence</strong></li>
<li><strong>match ip dscp</strong></li>
<li><strong>match ip rtp</strong></li>
</ul>
</li>
</ul>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/02/10/ont-notes-autoqos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ONT Notes &#8211; Pre-classify and End-to-end QoS</title>
		<link>http://aconaway.com/2010/02/03/ont-notes-pre-classify-and-end-to-end-qos/</link>
		<comments>http://aconaway.com/2010/02/03/ont-notes-pre-classify-and-end-to-end-qos/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 03:13:53 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[ccnp]]></category>
		<category><![CDATA[ont]]></category>
		<category><![CDATA[642-845]]></category>
		<category><![CDATA[campus]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[control plane]]></category>
		<category><![CDATA[copp]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[headers]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[physical]]></category>
		<category><![CDATA[policing]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[pre-classify]]></category>
		<category><![CDATA[qos]]></category>
		<category><![CDATA[shaping]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[voice]]></category>
		<category><![CDATA[voip]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=482</guid>
		<description><![CDATA[Here are some more ONT notes.  We study pre-classifying and end-to-end QoS this time.]]></description>
			<content:encoded><![CDATA[<ul>
<li>VPNs (Didn&#8217;t ISCW cover this?)
<ul>
<li>Provide
<ul>
<li>Confidentiality</li>
<li>Integrity</li>
<li>Authentication</li>
</ul>
</li>
<li>Types
<ul>
<li>Remote-access
<ul>
<li>Client-initiated</li>
<li>NAS-initiated</li>
</ul>
</li>
<li>Site-to-site
<ul>
<li>LAN-to-LAN</li>
<li>Extranet</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>L3 Tunneling protocols
<ul>
<li>GRE</li>
<li>IPSec</li>
</ul>
</li>
<li>Pre-classify allows traffic to be classified before being sent across a tunnel or crypto-ed.
<ul>
<li><em>qos pre-classify</em></li>
<li>Provides a view into the original IP headers</li>
<li>To classify on pre-tunnel header, apply the policy to the tunnel interface WITHOUT pre-classify.</li>
<li>To classify on post-tunnel header, apply the policy to the physical interface WITHOUT pre-classify.</li>
<li>To classify on pre-tunnel header, apply the policy to the physical interface WITH pre-classify.</li>
</ul>
</li>
<li>SLA &#8211; agreement with provider to guarantee QoS mechanisms across their network based on your markings.
<ul>
<li>Assures availability, loss, throughput, delay, and jitter.</li>
</ul>
</li>
<li>End-to-end QoS
<ul>
<li>To be effective, each hop in the path must have QoS configured similarly.</li>
<li>Necessary in three locations
<ul>
<li>Campus &#8211; within the customer network</li>
<li>The edges &#8211; customer facing the provider, provider facing customer</li>
<li>On the provider network</li>
</ul>
</li>
</ul>
</li>
<li>QoS tasks
<ul>
<li>Campus access switches
<ul>
<li>Speed/duplex settings</li>
<li>Classification</li>
<li>Trust</li>
<li>Phone/access switch configs</li>
<li>Multiple queues on switch ports, including priority for VOIP</li>
</ul>
</li>
<li>Campus distribution
<ul>
<li>L3 policing and marking</li>
<li>Multiple queues on switch ports, including priority for VOIP</li>
<li>WRED</li>
</ul>
</li>
<li>WAN edge
<ul>
<li>SLA definitions</li>
<li>LLQ</li>
<li>LFI</li>
<li>WRED</li>
<li>Shaping</li>
</ul>
</li>
<li>Provider cloud
<ul>
<li>Capacity planning</li>
<li>PHB</li>
<li>LLQ</li>
<li>WRED</li>
</ul>
</li>
</ul>
</li>
<li>Enterprise campus QoS implementation
<ul>
<li>Implement multiple queues to avoid congestion</li>
<li>Assign VOIP and video to highest priority queue</li>
<li>Esablish trust boundaries</li>
<li>Use policing to rate-limit excess traffic</li>
<li>Use hardware QoS when possible</li>
</ul>
</li>
<li>Control Plane Policing (CoPP)
<ul>
<li>Applies QoS policy to traffic destined for the router
<ul>
<li>Routing protocols</li>
<li>Management protocols</li>
</ul>
</li>
<li>Can be used to avoid DOS attacks</li>
<li>Applied to <em>control-plane</em> in global config</li>
</ul>
</li>
</ul>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/02/03/ont-notes-pre-classify-and-end-to-end-qos/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ONT Notes &#8211; Congestion Avoidance, Policing, Shaping, and Link Efficiency</title>
		<link>http://aconaway.com/2010/02/02/ont-notes-congestion-avoidance-policing-shaping-and-link-efficiency/</link>
		<comments>http://aconaway.com/2010/02/02/ont-notes-congestion-avoidance-policing-shaping-and-link-efficiency/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 03:09:47 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[ccnp]]></category>
		<category><![CDATA[ont]]></category>
		<category><![CDATA[642-845]]></category>
		<category><![CDATA[bucket]]></category>
		<category><![CDATA[cbwfq]]></category>
		<category><![CDATA[cbwred]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[fifo]]></category>
		<category><![CDATA[fragmentation]]></category>
		<category><![CDATA[interleaving]]></category>
		<category><![CDATA[policing]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[qos]]></category>
		<category><![CDATA[queueing]]></category>
		<category><![CDATA[queuing]]></category>
		<category><![CDATA[red]]></category>
		<category><![CDATA[shaping]]></category>
		<category><![CDATA[tail drop]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[token]]></category>
		<category><![CDATA[voice]]></category>
		<category><![CDATA[voip]]></category>
		<category><![CDATA[wfq]]></category>
		<category><![CDATA[wred]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=477</guid>
		<description><![CDATA[Here's another set of notes from my ONT studies.]]></description>
			<content:encoded><![CDATA[<ul>
<li>Tail drop drawbacks
<ul>
<li>TCP synchronization &#8211; Dropping TCP packets from different flows can cause them all to window down and back up again at the same time in cycles.</li>
<li>TCP starvation &#8211; Non-TCP or aggressive flows can starve everyone else out when TCP throttles back.</li>
<li>No differentiated drop &#8211; Tail drop doesn&#8217;t care who you are, so you get dropped if the queue is full.</li>
</ul>
</li>
<li>RED &#8211; Random Early Detection
<ul>
<li>Avoids tail drop by randomly dropping packets from the queue before it gets full</li>
<li>Only dropped TCP flows slow down instead of everyone who has sent a packet since the queue filled</li>
<li>Queues are smaller.</li>
<li>Link utilization is more efficient</li>
<li>Configured with
<ul>
<li>Minimum threshold &#8211; start dropping when the queue is this size</li>
<li>Maximum threshold &#8211; if the queue is this big, start tail dropping</li>
<li>Mark probability denominator (MPD) &#8211; 1/MPD is the ratio of packets to drop when between the thresholds</li>
</ul>
</li>
</ul>
</li>
<li>WRED &#8211; Weighted RED
<ul>
<li>Based on IP precedence or DSCP values</li>
<li>Less-important packets are dropped more aggressively than important packets</li>
<li>Applied to an interface, VC or a class within a policy map</li>
</ul>
</li>
<li>CBWRED &#8211; Class based WRED
<ul>
<li>Configured with CBWFQ</li>
</ul>
</li>
<li>Policing
<ul>
<li>Limits subrate bandwidth (give you 100kbps on a T1)</li>
<li>Limits traffic of certain applications</li>
<li>Any traffic that exceeds police is dropped or re-classified; it&#8217;s a hard limit</li>
<li>Inbound or outbound</li>
</ul>
</li>
<li>Shaping
<ul>
<li>Sets a limit but buffers any in excess</li>
<li>Requires memory to store the buffer</li>
<li>Buffers = delay and/or jitter</li>
<li>Outbound only</li>
<li>Can respond to network signals like BECNs and FECNs</li>
</ul>
</li>
<li>Token and bucket
<ul>
<li>The queue is a bucket; if a byte of data needs to be sent, it needs a token.</li>
<li>If there are enough tokens, the traffic is considered conforming.</li>
<li>If there aren&#8217;t enough tokens, the traffic is considered exceeding, which triggers the drop (policing), re-classify (policing), or buffer (shaping).</li>
</ul>
</li>
<li>Frame relay traffic shaping (FRTS)
<ul>
<li>Only controls frame relay traffic</li>
<li>Applied on subif or DLCI</li>
<li>Support fragmentation and interleaving</li>
<li>Reacts to FECNs and BECNs</li>
</ul>
</li>
<li>Compression
<ul>
<li>Removed redundancy and patterns in data</li>
<li>Less data = less latency</li>
<li>Hardware compression or hardware-assisted compression does not involve the main CPU</li>
<li>Software compression does</li>
<li>Payload compression</li>
<li>Header compression</li>
</ul>
</li>
<li>Link fragmentation and interleaving
<ul>
<li>Small data might be waiting for larger data pieces to finish sending</li>
<li>Chunks data into smaller fragments so they don&#8217;t have to wait</li>
<li>Interleaving shuffles flows in the Tx queue</li>
</ul>
</li>
</ul>
<div class="wp-about-author-containter-around" style="background-color:#ffffff;"><div class="wp-about-author-pic"><img alt='' src='http://1.gravatar.com/avatar/14352aa939196349e4b9f2a272ca5112?s=100&amp;d=&amp;r=G' class='avatar avatar-100 photo' height='100' width='100' /></div><div class="wp-about-author-text"><h3><a href='http://aconaway.com/author/jac/' title='Aaron Conaway'>Aaron Conaway</a></h3><p>I like to lean my head to the left, hit it with the palm of my right hand, and document what knowledge falls out.</p><p><a href='http://aconaway.com' title='Aaron Conaway'>Website</a> - <a href='http://aconaway.com/author/jac/' title='More posts by Aaron Conaway'>More Posts</a> </p></div></div>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/02/02/ont-notes-congestion-avoidance-policing-shaping-and-link-efficiency/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

