<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Policy on Aaron&#39;s Worthless Words</title>
    <link>https://a996c8ee.aww-3cz.pages.dev/tags/policy/</link>
    <description>Recent content in Policy on Aaron&#39;s Worthless Words</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Fri, 20 Aug 2010 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://a996c8ee.aww-3cz.pages.dev/tags/policy/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Stubby Post - Set DF to 0 with a Route-map</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2010/08/stubby-post-set-df-to-0-with-a-route-map/</link>
      <pubDate>Fri, 20 Aug 2010 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2010/08/stubby-post-set-df-to-0-with-a-route-map/</guid>
      <description>&lt;p&gt;We ran into an issue the other day where an application was setting the DF bit in IP packets to 1.  We thought it may be causing problems, so we looked at setting up a route-map to set the DF bit to 0.  It turned out to be a different application problem, but it was a good exercise in looking at what you can do with route-maps and policies.&lt;/p&gt;&#xA;&lt;p&gt;I set up a lab in GNS3 to replicate and do some captures.  It&amp;rsquo;s a really simple setup.  R1 connected to R2 connected to R3.&lt;/p&gt;</description>
    </item>
    <item>
      <title>ROUTE Notes - PBR and IP SLA</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2010/06/route-notes-pbr-and-ip-sla/</link>
      <pubDate>Thu, 24 Jun 2010 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2010/06/route-notes-pbr-and-ip-sla/</guid>
      <description>&lt;p&gt;Feel free to correct.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Study Questions&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;What&amp;rsquo;s the most primitive way to get traffic destined to a single host to use a different path than your dynamic IGP dictates?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Use a static route.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;What&amp;rsquo;s the most primitive way to get traffic sourced from a single host to use a different path than your dynamic IGP dictates?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Use policy-based routing (PBR).&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;What&amp;rsquo;s the most primitive way to get traffic sourced from a single host and destined for another host to use a different path than your dynamic IGP dictates?&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Use PBR.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Stubby Post - Time-based ACLs and Policy-maps</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2010/04/stubby-post-time-based-acls-and-policy-maps/</link>
      <pubDate>Wed, 28 Apr 2010 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2010/04/stubby-post-time-based-acls-and-policy-maps/</guid>
      <description>&lt;p&gt;Certain divisions of the company tend to shoot themselves in the foot by kicking off large file transfers during business hours, so I had a thought that maybe we could use time-based ACLs to do some QoSing for those guys. I fired up GNS3 with a 3600 running 12.4(25b) with some virtual PCs on it&amp;rsquo;s Ethernet interfaces.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code data-lang=&#34;fallback&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;time-range BUSINESSHOURS&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; periodic daily 8:00 to 17:00&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;!&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ip access-list extended PINGS&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; permit icmp any any time-range BUSINESSHOURS&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;!&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;class-map match-all PINGS&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; match access-group name PINGS&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;!&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;policy-map PM-F0/0-OUT&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; class PINGS&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;First, I set the router&amp;rsquo;s time to outside of the time range and sent some pings over.&lt;/p&gt;</description>
    </item>
    <item>
      <title>NBAR and HTTP Data Conversations</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2010/03/nbar-and-http-data-conversations/</link>
      <pubDate>Mon, 08 Mar 2010 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2010/03/nbar-and-http-data-conversations/</guid>
      <description>&lt;p&gt;I’m still working on the ONT test and doing labs, so I marked up a lab for me to work.  I’m using the same setup as I did last time.  The two routers are 3640s running 12.4(25b).&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://aconaway.com/wp-content/uploads/2010/03/nbarclassmap1.png&#34;&gt;&lt;img src=&#34;images/nbarclassmap1_thumb.png&#34; alt=&#34;nbar-classmap1&#34; loading=&#34;lazy&#34; title=&#34;nbar-classmap1&#34;&gt;&#xA;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Part of the lab was to identify HTTP traffic coming into F0/0 and mark it as CS3.  That’s pretty easy, right?  Of course, the lab I made up was a little more complicated, but the point comes clear with a simpler example.&lt;/p&gt;</description>
    </item>
    <item>
      <title>QoS Pre-classify and Class-map Order</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2010/03/qos-pre-classify-and-class-map-order/</link>
      <pubDate>Sat, 06 Mar 2010 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2010/03/qos-pre-classify-and-class-map-order/</guid>
      <description>&lt;p&gt;I’m still studying for the ONT test, so I did some labs tonight.  One of them was to demonstrate the &lt;strong&gt;qos pre-classify&lt;/strong&gt; command for tunnel interfaces.  When you have a packet sent over a GRE tunnel, the ToS field gets copied to the GRE packet, but there’s no way to see the original packet’s higher-level headers on the way out the interface.  This can be a problem if your service policy needs to see protocol, port, IPs, etc.  The fix for that is to enable qos pre-classify on the tunnel interface and cyrpto map; doing so will provide a copy of the original packet to the physical interface to classify the packet thoroughly.&lt;/p&gt;</description>
    </item>
    <item>
      <title>ONT Notes - AutoQoS</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2010/02/ont-notes-autoqos/</link>
      <pubDate>Wed, 10 Feb 2010 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2010/02/ont-notes-autoqos/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;AutoQoS benefits&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Automates QoS for most deployments&lt;/li&gt;&#xA;&lt;li&gt;Protects business-critical apps to maximize availability&lt;/li&gt;&#xA;&lt;li&gt;Simplifies QoS deployments&lt;/li&gt;&#xA;&lt;li&gt;Reduces configuration errors&lt;/li&gt;&#xA;&lt;li&gt;Cheaper, faster, and simpler deployments&lt;/li&gt;&#xA;&lt;li&gt;Follows DiffServ&lt;/li&gt;&#xA;&lt;li&gt;Allows complete control over QoS configs&lt;/li&gt;&#xA;&lt;li&gt;Allows modification of auto-generated configs&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;AutoQoS phases of evolution&#xA;&lt;ul&gt;&#xA;&lt;li&gt;AutoQoS VOIP - Early version that configures the basics without discovery&lt;/li&gt;&#xA;&lt;li&gt;AutoQoS for Enterprise - Second version that only runs on routers and uses two-step process&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Autodiscovery using NBAR&lt;/li&gt;&#xA;&lt;li&gt;Generation of class maps&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;AutoQoS key elements&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Application classification&lt;/li&gt;&#xA;&lt;li&gt;Policy generation&lt;/li&gt;&#xA;&lt;li&gt;Configuration&lt;/li&gt;&#xA;&lt;li&gt;Monitoring and reporting&lt;/li&gt;&#xA;&lt;li&gt;Consistency&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Interfaces that you can configure AutoQoS on&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Serial ifs with PPP and HDLC&lt;/li&gt;&#xA;&lt;li&gt;FR point-to-point subifs (NOT multipoint)&lt;/li&gt;&#xA;&lt;li&gt;ATM point-to-point subifs&lt;/li&gt;&#xA;&lt;li&gt;FR-to-ATM links&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Prerequsites&#xA;&lt;ul&gt;&#xA;&lt;li&gt;No Qos policy already configured on if&lt;/li&gt;&#xA;&lt;li&gt;CEF enabled on if&lt;/li&gt;&#xA;&lt;li&gt;Correct bandwidth configured on if&lt;/li&gt;&#xA;&lt;li&gt;IP address on low-speed if&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Configuring AutoQoS Enterprise on a router (NOT a switch)&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;auto qos discovery&lt;/strong&gt; - begins discovery process&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;auto qos&lt;/strong&gt; - generates and applies MQC-based policies&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Configuring AutoQoS VOIP&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;auto qos voip [ trust | cisco-phone ]&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Verifying AutoQoS on router&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;show auto discovery qos&lt;/strong&gt; - get autodiscovery results&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;show auto qos&lt;/strong&gt; - examine configuration generated&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Number of classes&lt;/li&gt;&#xA;&lt;li&gt;Classification options&lt;/li&gt;&#xA;&lt;li&gt;Marking options&lt;/li&gt;&#xA;&lt;li&gt;Queuing mechanisms&lt;/li&gt;&#xA;&lt;li&gt;Other QoS mechanisms&lt;/li&gt;&#xA;&lt;li&gt;If, subif, PVC where policy is applied&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;show policy-map interface&lt;/strong&gt; - look at if stats&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Verify AutoQoS VOIP&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;show auto qos&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;show policy-map interface&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;show mls qos maps&lt;/strong&gt; - shows CoS to DSCP mappings&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Possible issues with AutoQoS&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Too many traffic classes - manually consolidate some&lt;/li&gt;&#xA;&lt;li&gt;Configuration doesn&amp;rsquo;t change - rerun AutoQoS&lt;/li&gt;&#xA;&lt;li&gt;Configuration may not fit your situation - fine-tune it by hand&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Fine-tuning AutoQoS&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Use QPM&lt;/li&gt;&#xA;&lt;li&gt;CLI&lt;/li&gt;&#xA;&lt;li&gt;copy policy into editor, change, reapply&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;AutoQoS can match on characteristics besides ACLs and NBAR&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;match input interface&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;match cos&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;match ip precedence&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;match ip dscp&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;match ip rtp&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>ONT Notes - Pre-classify and End-to-end QoS</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2010/02/ont-notes-pre-classify-and-end-to-end-qos/</link>
      <pubDate>Thu, 04 Feb 2010 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2010/02/ont-notes-pre-classify-and-end-to-end-qos/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;VPNs (Didn&amp;rsquo;t ISCW cover this?)&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Provide&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Confidentiality&lt;/li&gt;&#xA;&lt;li&gt;Integrity&lt;/li&gt;&#xA;&lt;li&gt;Authentication&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Types&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Remote-access&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Client-initiated&lt;/li&gt;&#xA;&lt;li&gt;NAS-initiated&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Site-to-site&#xA;&lt;ul&gt;&#xA;&lt;li&gt;LAN-to-LAN&lt;/li&gt;&#xA;&lt;li&gt;Extranet&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;L3 Tunneling protocols&#xA;&lt;ul&gt;&#xA;&lt;li&gt;GRE&lt;/li&gt;&#xA;&lt;li&gt;IPSec&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Pre-classify allows traffic to be classified before being sent across a tunnel or crypto-ed.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;qos pre-classify&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;Provides a view into the original IP headers&lt;/li&gt;&#xA;&lt;li&gt;To classify on pre-tunnel header, apply the policy to the tunnel interface WITHOUT pre-classify.&lt;/li&gt;&#xA;&lt;li&gt;To classify on post-tunnel header, apply the policy to the physical interface WITHOUT pre-classify.&lt;/li&gt;&#xA;&lt;li&gt;To classify on pre-tunnel header, apply the policy to the physical interface WITH pre-classify.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;SLA - agreement with provider to guarantee QoS mechanisms across their network based on your markings.&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Assures availability, loss, throughput, delay, and jitter.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;End-to-end QoS&#xA;&lt;ul&gt;&#xA;&lt;li&gt;To be effective, each hop in the path must have QoS configured similarly.&lt;/li&gt;&#xA;&lt;li&gt;Necessary in three locations&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Campus - within the customer network&lt;/li&gt;&#xA;&lt;li&gt;The edges - customer facing the provider, provider facing customer&lt;/li&gt;&#xA;&lt;li&gt;On the provider network&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;QoS tasks&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Campus access switches&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Speed/duplex settings&lt;/li&gt;&#xA;&lt;li&gt;Classification&lt;/li&gt;&#xA;&lt;li&gt;Trust&lt;/li&gt;&#xA;&lt;li&gt;Phone/access switch configs&lt;/li&gt;&#xA;&lt;li&gt;Multiple queues on switch ports, including priority for VOIP&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Campus distribution&#xA;&lt;ul&gt;&#xA;&lt;li&gt;L3 policing and marking&lt;/li&gt;&#xA;&lt;li&gt;Multiple queues on switch ports, including priority for VOIP&lt;/li&gt;&#xA;&lt;li&gt;WRED&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;WAN edge&#xA;&lt;ul&gt;&#xA;&lt;li&gt;SLA definitions&lt;/li&gt;&#xA;&lt;li&gt;LLQ&lt;/li&gt;&#xA;&lt;li&gt;LFI&lt;/li&gt;&#xA;&lt;li&gt;WRED&lt;/li&gt;&#xA;&lt;li&gt;Shaping&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Provider cloud&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Capacity planning&lt;/li&gt;&#xA;&lt;li&gt;PHB&lt;/li&gt;&#xA;&lt;li&gt;LLQ&lt;/li&gt;&#xA;&lt;li&gt;WRED&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Enterprise campus QoS implementation&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Implement multiple queues to avoid congestion&lt;/li&gt;&#xA;&lt;li&gt;Assign VOIP and video to highest priority queue&lt;/li&gt;&#xA;&lt;li&gt;Esablish trust boundaries&lt;/li&gt;&#xA;&lt;li&gt;Use policing to rate-limit excess traffic&lt;/li&gt;&#xA;&lt;li&gt;Use hardware QoS when possible&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Control Plane Policing (CoPP)&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Applies QoS policy to traffic destined for the router&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Routing protocols&lt;/li&gt;&#xA;&lt;li&gt;Management protocols&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Can be used to avoid DOS attacks&lt;/li&gt;&#xA;&lt;li&gt;Applied to &lt;em&gt;control-plane&lt;/em&gt; in global config&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>ONT Notes - Congestion Avoidance, Policing, Shaping, and Link Efficiency</title>
      <link>https://a996c8ee.aww-3cz.pages.dev/posts/2010/02/ont-notes-congestion-avoidance-policing-shaping-and-link-efficiency/</link>
      <pubDate>Wed, 03 Feb 2010 00:00:00 +0000</pubDate>
      <guid>https://a996c8ee.aww-3cz.pages.dev/posts/2010/02/ont-notes-congestion-avoidance-policing-shaping-and-link-efficiency/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;Tail drop drawbacks&#xA;&lt;ul&gt;&#xA;&lt;li&gt;TCP synchronization - Dropping TCP packets from different flows can cause them all to window down and back up again at the same time in cycles.&lt;/li&gt;&#xA;&lt;li&gt;TCP starvation - Non-TCP or aggressive flows can starve everyone else out when TCP throttles back.&lt;/li&gt;&#xA;&lt;li&gt;No differentiated drop - Tail drop doesn&amp;rsquo;t care who you are, so you get dropped if the queue is full.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;RED - Random Early Detection&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Avoids tail drop by randomly dropping packets from the queue before it gets full&lt;/li&gt;&#xA;&lt;li&gt;Only dropped TCP flows slow down instead of everyone who has sent a packet since the queue filled&lt;/li&gt;&#xA;&lt;li&gt;Queues are smaller.&lt;/li&gt;&#xA;&lt;li&gt;Link utilization is more efficient&lt;/li&gt;&#xA;&lt;li&gt;Configured with&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Minimum threshold - start dropping when the queue is this size&lt;/li&gt;&#xA;&lt;li&gt;Maximum threshold - if the queue is this big, start tail dropping&lt;/li&gt;&#xA;&lt;li&gt;Mark probability denominator (MPD) - 1/MPD is the ratio of packets to drop when between the thresholds&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;WRED - Weighted RED&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Based on IP precedence or DSCP values&lt;/li&gt;&#xA;&lt;li&gt;Less-important packets are dropped more aggressively than important packets&lt;/li&gt;&#xA;&lt;li&gt;Applied to an interface, VC or a class within a policy map&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;CBWRED - Class based WRED&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Configured with CBWFQ&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Policing&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Limits subrate bandwidth (give you 100kbps on a T1)&lt;/li&gt;&#xA;&lt;li&gt;Limits traffic of certain applications&lt;/li&gt;&#xA;&lt;li&gt;Any traffic that exceeds police is dropped or re-classified; it&amp;rsquo;s a hard limit&lt;/li&gt;&#xA;&lt;li&gt;Inbound or outbound&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Shaping&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Sets a limit but buffers any in excess&lt;/li&gt;&#xA;&lt;li&gt;Requires memory to store the buffer&lt;/li&gt;&#xA;&lt;li&gt;Buffers = delay and/or jitter&lt;/li&gt;&#xA;&lt;li&gt;Outbound only&lt;/li&gt;&#xA;&lt;li&gt;Can respond to network signals like BECNs and FECNs&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Token and bucket&#xA;&lt;ul&gt;&#xA;&lt;li&gt;The queue is a bucket; if a byte of data needs to be sent, it needs a token.&lt;/li&gt;&#xA;&lt;li&gt;If there are enough tokens, the traffic is considered conforming.&lt;/li&gt;&#xA;&lt;li&gt;If there aren&amp;rsquo;t enough tokens, the traffic is considered exceeding, which triggers the drop (policing), re-classify (policing), or buffer (shaping).&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Frame relay traffic shaping (FRTS)&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Only controls frame relay traffic&lt;/li&gt;&#xA;&lt;li&gt;Applied on subif or DLCI&lt;/li&gt;&#xA;&lt;li&gt;Support fragmentation and interleaving&lt;/li&gt;&#xA;&lt;li&gt;Reacts to FECNs and BECNs&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Compression&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Removed redundancy and patterns in data&lt;/li&gt;&#xA;&lt;li&gt;Less data = less latency&lt;/li&gt;&#xA;&lt;li&gt;Hardware compression or hardware-assisted compression does not involve the main CPU&lt;/li&gt;&#xA;&lt;li&gt;Software compression does&lt;/li&gt;&#xA;&lt;li&gt;Payload compression&lt;/li&gt;&#xA;&lt;li&gt;Header compression&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Link fragmentation and interleaving&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Small data might be waiting for larger data pieces to finish sending&lt;/li&gt;&#xA;&lt;li&gt;Chunks data into smaller fragments so they don&amp;rsquo;t have to wait&lt;/li&gt;&#xA;&lt;li&gt;Interleaving shuffles flows in the Tx queue&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
