<?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; Uncategorized</title>
	<atom:link href="http://aconaway.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://aconaway.com</link>
	<description>Not something you want to hear</description>
	<lastBuildDate>Wed, 08 Sep 2010 14:39:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Aaron Appears on Packet Pushers Podcast</title>
		<link>http://aconaway.com/2010/07/11/aaron-appears-on-packet-pushers-podcast/</link>
		<comments>http://aconaway.com/2010/07/11/aaron-appears-on-packet-pushers-podcast/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 03:42:00 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[appearance]]></category>
		<category><![CDATA[guest]]></category>
		<category><![CDATA[packet pushers]]></category>
		<category><![CDATA[podcast]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=907</guid>
		<description><![CDATA[Hey, guys.  Head over to the Packet Pushers Podcast site and check out the latest episode.  You'll hear my soothing, wonderful voice discuss some of the rantings of the week including career development.]]></description>
			<content:encoded><![CDATA[<p>Hey, guys.  Head over to the Packet Pushers Podcast site and check out the latest episode.  You&#8217;ll hear my soothing, wonderful voice discuss some of the rantings of the week including career development.  It was fun hanging out with Greg, Dan, and Ethan.  They have a great podcast over there; be sure to subscribe and review!</p>
<p><a href="http://packetpushers.net/episode-11-if-you-cant-be-replaced-you-cant-be-promoted/">Packet Pushers Podcast Episode 11: If You Can’t Be Replaced, You Can’t  Be Promoted</a></p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/07/11/aaron-appears-on-packet-pushers-podcast/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ROUTE Notes &#8211; OSPF Topology Stuff</title>
		<link>http://aconaway.com/2010/06/19/route-notes-ospf-topology-stuff/</link>
		<comments>http://aconaway.com/2010/06/19/route-notes-ospf-topology-stuff/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 03:35:25 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[842-902]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[ospf]]></category>
		<category><![CDATA[route]]></category>
		<category><![CDATA[topology]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=837</guid>
		<description><![CDATA[I'm going further into OSPF with my notes on OSPF topologies.]]></description>
			<content:encoded><![CDATA[<p>Feel free to correct.</p>
<p><strong>Study Questions</strong></p>
<ul>
<li>The obvious first question involves the common LSA types and their function.  Can you list them?</li>
</ul>
<p style="padding-left: 90px;">Type-1 &#8211; Router &#8211; Lists each router their connected IP addresses<br />
Type-2 &#8211; Network &#8211; Lists all the transit, or multiaccess, networks<br />
Type-3 &#8211; Net Summary &#8211; Defines a  host route for interarea routes; this is from the ABR<br />
Type-4 &#8211; ASBR Summary &#8211; Defines a host route for an external (to OSPF) route; this is from an ASBR<br />
Type-5 &#8211; AS External &#8211; Lists the networks advertised into OSPF from external sources (redistribution)<br />
Type-7 &#8211; NSSA External &#8211; External routes injected into a not-so-stubby area</p>
<ul>
<li>What information about the OSPF area does a router&#8217;s OSPF database contain?</li>
</ul>
<p style="padding-left: 60px;">Everything, basically.  The database includes all the routers in the area, the IPs of every OSPF-enable interface, all the networks, and the costs of each hop.  The SPF algorithm uses all this information to figure out the best path to all networks advertised.</p>
<ul>
<li>Define the reference bandwidth in OSPF.  What&#8217;s the default value, and how do you change it?</li>
</ul>
<p style="padding-left: 60px;">The reference bandwidth is the bandwidth that is divided by an interface bandwidth to get a the cost for that link.  The default value is 100Mbps, which can be changed with the <em>auto-cost reference-bandwidth</em> OSPF subcommand.</p>
<ul>
<li>How can you override the cost on an interface?</li>
</ul>
<p style="padding-left: 60px;">You can change the reference bandwidth, but that will change the costs of all interfaces.  The <em>ip ospf cost X</em> command on an interface will do the trick.  You can also give it the old <em>bandwidth</em> change (the one that tends to break or influence other things).</p>
<ul>
<li>What is the formula for calculating the cost of an interface?</li>
</ul>
<p style="padding-left: 60px;">reference bandwidth / interface bandwidth</p>
<ul>
<li>What are the five OSPF message types, and what do they do?</li>
</ul>
<p style="padding-left: 60px;">Hello &#8211; Establishes neighbor relationships<br />
Database Description (DBD) &#8211; Send summaries of the LSAs a router has<br />
Link State Requests (LSR) &#8211; Sent to a router to ask for more details on an LSA<br />
Link State Update (LSU) &#8211; Reply to an LSR that includes the details of the requested LSA<br />
Link State Acknowledgment (LSAck) &#8211; An acknowledgement of the DBD</p>
<ul>
<li>How often does a router send its full OSPF database to its neighbors?</li>
</ul>
<p style="padding-left: 60px;">It doesn&#8217;t.  It does, however, send any self-originated LSAs (LSAs that it generated) every 30 minutes (1800 seconds).</p>
<ul>
<li>R1 is an ABR to area 1 with an area 0 route to a network with a cost of 100.  R2, also the same ABR setup, advertises the same route to area 1 (and, thus, R1) with a cost of 10.  Which route does R1 take?</li>
</ul>
<p style="padding-left: 60px;">ABRs always take an intra-area route over and interarea route, so the path with a cost of 100 will be chosen.</p>
<ul>
<li>You see a type-2 LSA in a router&#8217;s database.  Without knowing what the details of the LSA are, list some things you can assume have happened.</li>
</ul>
<p style="padding-left: 60px;">Type-2 LSAs mean a transit network (multiaccess network) is turned up somewhere.<br />
This transit network has two or more OSPF routers on it.<br />
An election for DR and BDR has taken place.<br />
The DR has started acting as a pseudonode for the transit network.<br />
All other area routers have been told about that transit network.<br />
[There are many others, I'm sure.]</p>
<ul>
<li>What configuration is required to enable unequal-cost load balancing in OSPF?</li>
</ul>
<p style="padding-left: 60px;">This isn&#8217;t EIGRP; you can&#8217;t do that.</p>
<ul>
<li>It seems that your OSPF database has 95 equal-cost paths to the same network.  By default, how many show up in the routing table?</li>
</ul>
<p style="padding-left: 60px;">Four.  You can change this with the <em>maximum-paths</em> directive under OSPF.</p>
<ul>
<li>Your 700 series router has been elected the DR on a transit network.  How do you make sure your 12000 series is elected instead?</li>
</ul>
<p style="padding-left: 60px;">On the 12000&#8242;s interface, set the priority higher with the <em>ip ospf priority x</em> command.</p>
<p><strong>What Command Was That</strong></p>
<p>What command&#8230;</p>
<p>&#8230;shows all the type-1 (router) LSAs that a router has seen?</p>
<p>show ip ospf database router</p>
<p>&#8230;shows all the type-2 (network) LSAs that a router has seen?</p>
<p>show ip ospf database network</p>
<p>&#8230;shows all the type-3 (network summary) LSAs that a router has seen?</p>
<p>show ip ospf database summary</p>
<p>&#8230;shows the maximum paths OSPF will send to the routing table?</p>
<p>show ip protocols</p>
<p>&#8230;shows what transit networks exist in the area?</p>
<p>show ip ospf database network</p>
<p>&#8230;shows all the routers in the area?</p>
<p>show ip ospf database router</p>
<p>&#8230;shows what router advertise a particular transit network?</p>
<p>show ip ospf database</p>
<p>&#8230;shows the DR and BDR for a transit network?</p>
<p>show ip ospf interface</p>
<p>&#8230;shows the reference bandwidth?</p>
<p>show ip protocols</p>
<p>&#8230;shows how many times the SPF algorithm has been run in an area?</p>
<p>show ip ospf<br />
- OR -<br />
show ip ospf statistics</p>
<p>&#8230;shows how many of each message type a router has sent?</p>
<p>show ip ospf traffic</p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/06/19/route-notes-ospf-topology-stuff/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ROUTE Notes &#8211; EIGRP Neighbor Relationships</title>
		<link>http://aconaway.com/2010/06/16/route-notes-eigrp-neighbor-relationships/</link>
		<comments>http://aconaway.com/2010/06/16/route-notes-eigrp-neighbor-relationships/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 02:15:01 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[route]]></category>
		<category><![CDATA[642-902]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[eigrp]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=808</guid>
		<description><![CDATA[I did my study notes in the form of questions this time.  I think it might help with the implementation and verification steps on the test.]]></description>
			<content:encoded><![CDATA[<p>Or neighborships, as they call it in the book.  What a terrible word.</p>
<p><strong>Study Questions</strong></p>
<ul>
<li>What settings must match between two routers in order to become EIGRP neighbors?</li>
</ul>
<p style="padding-left: 60px;">Both routers must be in the same primary subnet<br />
Both routers must be configured to use the same k-values<br />
Both routers must in the same AS<br />
Both routers must have the same authentication configuration (within reason)<br />
The interfaces facing each other must not be passive</p>
<ul>
<li>What are the default hello and hold times in EIGRP?</li>
</ul>
<p style="padding-left: 60px;">On links with bandwidth &gt; 1.544Mbps:<br />
Hello:  5 sec<br />
Hold:  15 sec</p>
<p style="padding-left: 60px;">On links with bandwidth &lt;= 1.544<br />
Hello:  60 sec<br />
Hold:  180 sec</p>
<ul>
<li>How do you change the hello and hold times?</li>
</ul>
<p style="padding-left: 60px;">You set these values at the interface.</p>
<p style="padding-left: 90px;">R1(config-if)#ip hello-interval eigrp 1 X<br />
R1(config-if)#ip hold-tim eigrp 1 X</p>
<ul>
<li>How do you keep an interface from being used for EIGRP discovery?</li>
</ul>
<p style="padding-left: 60px;">Don&#8217;t configure a network statement that includes that interface<br />
Make the interface passive<br />
Configure static neighbors for that interface</p>
<ul>
<li>Why might NTP be a good thing to use in regards to EIGRP?</li>
</ul>
<p style="padding-left: 60px;">EIGRP uses key chains for authentication.  Key chains can be configured with a range of valid dates and times.  If the time on two routers was off by even a few seconds, some keys would expire, causing neighbor relationships to drop.</p>
<ul>
<li>How do you configure EIGRP authentication?</li>
</ul>
<p style="padding-left: 60px;">In each interface participating in EIGRP, you configure the authentication mode and the key chain to use.</p>
<p style="padding-left: 90px;">R1(config-if)#ip authentication mode eigrp 1 md5<br />
R1(config-if)#ip authentication key-chain eigrp 1 KEYCHAIN1</p>
<ul>
<li> What are the k-values that EIGRP uses?</li>
</ul>
<p style="padding-left: 60px;">k1 = bandwidth<br />
k2 = load<br />
k3 = delay<br />
k4 = reliability<br />
k5 = MTU</p>
<ul>
<li>How does a router choose its router ID in EIGRP?</li>
</ul>
<p style="padding-left: 60px;">First, it looks for a configured router-id in the EIGRP configuration.  If none exists, it uses the highest (largest) IP address configured on a loopback interface.  If no loopbacks exist, it uses the highest IP configured on the other interfaces.</p>
<p><strong>What Command Was That?</strong></p>
<p>What command tells you&#8230;</p>
<ul>
<li>&#8230;whether a neighbor was discovered or statically configured?</li>
</ul>
<p style="padding-left: 60px;">show ip eigrp neighbor detail</p>
<ul>
<li>&#8230;what interfaces are involved in EIGRP?</li>
</ul>
<p style="padding-left: 60px;">show ip eigrp interfaces</p>
<ul>
<li>&#8230;what k-values your router is using?</li>
</ul>
<p style="padding-left: 60px;">show ip protocols</p>
<ul>
<li>&#8230;how long your router has been neighbored with another router?</li>
</ul>
<p style="padding-left: 60px;">show ip eigrp neighbors</p>
<ul>
<li>&#8230;what your router ID is?</li>
</ul>
<p style="padding-left: 60px;">show ip eigrp topology<br />
show ip eigrp accounting</p>
<ul>
<li>&#8230;a summary of the configured network statements?</li>
</ul>
<p style="padding-left: 60px;">show ip protocols</p>
<ul>
<li>&#8230;the configured hello interval?</li>
</ul>
<p style="padding-left: 60px;">show ip eigrp interface detail</p>
<ul>
<li>&#8230;the configured hold time?</li>
</ul>
<p style="padding-left: 60px;">There&#8217;s isn&#8217;t a way to do it directly.  You have to check your neighbors several times over the course of a few seconds to see where the hold timers drop to before resetting.</p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/06/16/route-notes-eigrp-neighbor-relationships/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stubby Post &#8211; show ip protocols</title>
		<link>http://aconaway.com/2010/06/09/stubby-post-show-ip-protocols/</link>
		<comments>http://aconaway.com/2010/06/09/stubby-post-show-ip-protocols/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 01:31:12 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[642-902]]></category>
		<category><![CDATA[bgp]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[eigrp]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[ospf]]></category>
		<category><![CDATA[protocols]]></category>
		<category><![CDATA[route]]></category>
		<category><![CDATA[show]]></category>
		<category><![CDATA[test]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=794</guid>
		<description><![CDATA[Here's a quick chunk of words on the show ip protocols command.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen and used the command before, but I&#8217;ve never really seen any use of the <em>show ip protocols</em> command until tonight while reading up for my ROUTE test.  There&#8217;s a lot of good information in the output, and, from the way the book is reading, this is a great candidate for use in a lab question.</p>
<p>To check it out a bit, I set up a small network with four routers connected only to a single Ethernet segment.  I set up one router to run EIGRP, OSPF, and BGP to each one of the other routers just so I could see the output for the different routing protocols.  Here&#8217;s what puked out after struggling with GNS for a few minutes.</p>
<blockquote>
<pre>R1#sh ip protocols
Routing Protocol is "eigrp 1"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 1
  EIGRP NSF-aware route hold timer is 240s
  Automatic network summarization is in effect
  Maximum path: 4
  Routing for Networks:
    192.168.0.0
  Routing Information Sources:
    Gateway         Distance      Last Update
  Distance: internal 90 external 170

Routing Protocol is "ospf 1"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 192.168.0.101
  Number of areas in this router is 1. 1 normal 0 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    192.168.0.0 0.0.0.255 area 0
 Reference bandwidth unit is 100 mbps
  Routing Information Sources:
    Gateway         Distance      Last Update
  Distance: (default is 110)

Routing Protocol is "bgp 65001"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  IGP synchronization is disabled
  Automatic route summarization is disabled
  Neighbor(s):
    Address          FiltIn FiltOut DistIn DistOut Weight RouteMap
    192.168.0.104
  Maximum path: 1
  Routing Information Sources:
    Gateway         Distance      Last Update
  Distance: external 20 internal 200 local 200</pre>
</blockquote>
<p>The EIGRP section shows some important details, including what k-values are used, networks configured, and administrative distance (AD) of the various route types (internal and external).  The OSPF section shows the router ID, number of areas on the router, and number of area types (normal, stub, NSSA), as well as the networks configured and the AD.  The section regarding BGP shows summarization status, neighbors (along with any filter lists, distribution lists, local weights, and route-maps if they were configured), and the ADs again.</p>
<p>That&#8217;s good stuff to know.  I&#8217;ll have to put that command in usual repertoire.</p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/06/09/stubby-post-show-ip-protocols/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stubby Post &#8211; VTP Clients Send Updates</title>
		<link>http://aconaway.com/2010/05/17/stubby-post-vtp-clients-send-updates/</link>
		<comments>http://aconaway.com/2010/05/17/stubby-post-vtp-clients-send-updates/#comments</comments>
		<pubDate>Tue, 18 May 2010 00:36:07 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[642-812]]></category>
		<category><![CDATA[642-813]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vtp]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=748</guid>
		<description><![CDATA[Here's one that's been rehashed countless times concerning a VTP client taking down your network.]]></description>
			<content:encoded><![CDATA[<p>VTP clients send VLAN updates.  Did you know that?</p>
<p>I had a VTP server and client in the same VTP domain, and, when I cabled up the trunk, the client overwrote the VLAN database on the server.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="385" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/dLBwKV04fNw&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="385" src="http://www.youtube.com/v/dLBwKV04fNw&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>The moral of the story is that the best revision number will win no matter what the operating mode of the switch.</p>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/05/17/stubby-post-vtp-clients-send-updates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ONT Notes &#8211; QoS On Wireless Networks</title>
		<link>http://aconaway.com/2010/02/10/ont-notes-qos-on-wireless-networks/</link>
		<comments>http://aconaway.com/2010/02/10/ont-notes-qos-on-wireless-networks/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 03:05:23 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[642-845]]></category>
		<category><![CDATA[802.1p]]></category>
		<category><![CDATA[campus]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[dscp]]></category>
		<category><![CDATA[headers]]></category>
		<category><![CDATA[lwap]]></category>
		<category><![CDATA[lwapp]]></category>
		<category><![CDATA[ont]]></category>
		<category><![CDATA[precedence]]></category>
		<category><![CDATA[qos]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=490</guid>
		<description><![CDATA[Imagine that...another ONT notes post.  This one is about QoS on wireless networks.]]></description>
			<content:encoded><![CDATA[<ul>
<li>Wireless LANs (WLANs)
<ul>
<li>Extensions to wired LANs</li>
<li>Carrier sense multiple access collision avoidance (CSMA/CA) as media access method</li>
<li>Uses distributed coordinated function (DCF) for collision avoidance</li>
<li>DCF is based on RF carrier sense, inter-frame spacing (IFS), and random wait timers</li>
</ul>
</li>
<li>Wifi QoS standards
<ul>
<li>802.11e
<ul>
<li>IEEE standard</li>
<li>0-7 priority levels</li>
</ul>
</li>
<li>Wifi Multimedia (WMM)
<ul>
<li>Four access categories
<ul>
<li>Platinum (voice) &#8211; 6 or 7 802.11e</li>
<li>Gold (video) &#8211; 4 or 5 802.11e</li>
<li>Silver (BE) &#8211; 0 or 3 802.11e</li>
<li>Bronze (Background) &#8211; 1 or 2 802.11e</li>
</ul>
</li>
</ul>
</li>
<li>WMM and 802.11e replace DCF with EDCF</li>
</ul>
</li>
<li>Cisco Split-MAC
<ul>
<li>Splits functions between Lightweight access points (LWAPs) and WLAN controllers (WLCs)</li>
<li>LWAPs handle real-time functions
<ul>
<li>Beacon generation</li>
<li>Probe transmission and response</li>
<li>Power management</li>
<li>802.11e/WMM scheduling and queuing</li>
<li>Packet buffering</li>
<li>Encryption/decryption</li>
<li>Control frame/message processing</li>
</ul>
</li>
<li>WLCs handle non-real-time functions
<ul>
<li>Association/disassociation/reassociation</li>
<li>802.11e/WMM resource reservation</li>
<li>802.1x EAP</li>
<li>Key management</li>
<li>Authentication</li>
<li>Fragmentation</li>
<li>Ethernet-WLAN bridging</li>
</ul>
</li>
</ul>
</li>
<li>End-to-end QoS
<ul>
<li>Step 1:  WLC copies DSCP from switch to outer DSCP and outer 802.1p and sends to LWAP over LWAPP tunnel</li>
<li>Step 2:  LWAP copies outer DSCP from WLC to 802.11e/WMM field and sent to client</li>
<li>Step 3:  LWAP copies 802.11e/WMM value from the client to outer DSCP and sends it to WLC</li>
<li>Step 4:  WLC copies outer DSCP from WLAP to 802.1p (CoS) fields and sends it to the switch</li>
</ul>
</li>
<li>Web interface (do you even need to know this?)
<ul>
<li>Controller&gt;QoS Profiles
<ul>
<li>Per-User Bandwidth Contracts &#8211; set avg data rate, burst data rate, avg real-time rate, and burst real-time rate</li>
<li>Over the Air QoS
<ul>
<li>Maximum RF usage per AP (%)</li>
<li>Queue Depth &#8211; queue size before dropping packets</li>
<li>Wired QoS Protocol &#8211; 802.1p or None</li>
</ul>
</li>
</ul>
</li>
<li>Controller&gt;WLANs&gt;Edit
<ul>
<li>For each WLAN ID, set the QoS value:  plat, gold, silver, bronze</li>
<li>WMM Policy
<ul>
<li>Disabled &#8211; 802.11e/WMM QoS requests are ignored</li>
<li>Allowed &#8211; 802.11e/WMM QoS requests are sent</li>
<li>Required &#8211; 802.11e/WMM QoS requests are required</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/02/10/ont-notes-qos-on-wireless-networks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ONT Notes &#8211; Queuing</title>
		<link>http://aconaway.com/2010/01/23/ont-notes-queuing/</link>
		<comments>http://aconaway.com/2010/01/23/ont-notes-queuing/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 04:22:06 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[642-845]]></category>
		<category><![CDATA[cbwfq]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[classification]]></category>
		<category><![CDATA[diffserv]]></category>
		<category><![CDATA[fifo]]></category>
		<category><![CDATA[llq]]></category>
		<category><![CDATA[marking]]></category>
		<category><![CDATA[ont]]></category>
		<category><![CDATA[policing]]></category>
		<category><![CDATA[pq]]></category>
		<category><![CDATA[qos]]></category>
		<category><![CDATA[queueing]]></category>
		<category><![CDATA[queuing]]></category>
		<category><![CDATA[round robin]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[voice]]></category>
		<category><![CDATA[voip]]></category>
		<category><![CDATA[wfq]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=452</guid>
		<description><![CDATA[Here are some more notes from my studies.  Of course, no one cares about them but me, but it&#8217;s my blog.  I’m sure someone will find it useful.  Please help to correct dumbass mistakes. Congestion Speed mismatch &#8211; traffic leaves a lower-bandwidth interface than the one it came in on Aggregation problem &#8211; lots of [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some more notes from my studies.  Of course, no one cares about them but me, but it&#8217;s my blog.  I’m sure someone will find it useful.  Please help to correct dumbass mistakes.</p>
<ul>
<li>Congestion
<ul>
<li>Speed mismatch &#8211; traffic leaves a lower-bandwidth interface than the one it came in on</li>
<li>Aggregation problem &#8211; lots of links with one egress of equal bandwidth</li>
<li>Confluence problem &#8211; a bunch of traffic needs to egress out of the same interface</li>
</ul>
</li>
<li>Queuing
<ul>
<li>Transmit queue (TxQ) &#8211; hardware queue; there&#8217;s only one you can&#8217;t touch</li>
<li>Software queue &#8211; where packets wait to be sent; there are many queue-types that you modified to police traffic</li>
</ul>
</li>
<li>FIFO
<ul>
<li>If I beat you to the router, I leave the router first.</li>
<li>Possible long delays, jitter, and starvation</li>
</ul>
</li>
<li>Priority queuing (PQ)
<ul>
<li>Four queues
<ul>
<li>High-priority</li>
<li>Medium-priority</li>
<li>Normal-priority</li>
<li>Low-priority</li>
</ul>
</li>
<li>Scheduler starts from high and work to low</li>
<li>When the high queue is empty, it processes a packet from medium, then starts all over</li>
<li>Can you say starvation?</li>
</ul>
</li>
<li>Round robin queuing (RR)
<ul>
<li>One packet from this queue, one from the next, etc., then start over again</li>
</ul>
</li>
<li>Custom queuing (CQ)
<ul>
<li>Weighted round robin</li>
<li>Queues are given weights (bandwidth guarantees)</li>
</ul>
</li>
<li>Weighted Fair Queuing (WFQ)
<ul>
<li>Default queuing on slow links ( &lt; E1 )</li>
<li>Divides traffic into flows</li>
<li>Equal bandwidth is given to each flow</li>
<li>Provides faster scheduling to low-volume flows</li>
<li>Provides more bandwidth to higher-priority flows</li>
<li>Flows identified by a hash
<ul>
<li>Source IP</li>
<li>Destination IP</li>
<li>Protocol number</li>
<li>ToS</li>
<li>Source port</li>
<li>Destination port</li>
</ul>
</li>
<li>Each unique has is a new flow</li>
<li>No way to allocate bandwidth among the flows</li>
<li>By default, up to 256 queues are made, but that is changeable to a power of 2 between 16 and 4096</li>
<li>If the max number of flows is reached, queues are reused for other flows</li>
<li>If a queue is full, a packet may be dropped.</li>
<li>WFQ early dropping drops packets when the queue reaches the congestive discard threshold (CDT)</li>
<li>Advantages
<ul>
<li>Simple configuration</li>
<li>No starvation</li>
<li>Guarantee processing of all flows</li>
<li>Drops packets from big-hitter flows</li>
<li>Faster service no low-hitters (interactive) flows</li>
<li>Standard on (nearly) all IOS devices</li>
</ul>
</li>
<li>Disadvantages
<ul>
<li>Classification and scheduling are not configurable</li>
<li>Only on slow links</li>
<li>No guarantee of bandwidth or delay</li>
</ul>
</li>
</ul>
</li>
<li>Class-based Weighted Fair Queuing (CBWFQ)
<ul>
<li>User-defined queues for flexibility</li>
<li>Configured with class-maps via MQC</li>
<li>Weights are calculated based on values give in class-map
<ul>
<li>Bandwidth &#8211; guarantee this much bandwidth</li>
<li>Bandwidth percent &#8211; give me this much of the available bandwidth</li>
<li>Bandwidth remaining percent</li>
</ul>
</li>
<li>Advantages
<ul>
<li>User-defined traffic classes</li>
<li>Each queue gets its own bandwidth</li>
<li>Scalability</li>
</ul>
</li>
<li>Disadvantages
<ul>
<li>No delay guarantee (not good for real-time application like voice)</li>
</ul>
</li>
<li>Configuring
<ul>
<blockquote>
<pre>class-map TESTCM1
 match access-group 100
!
class-map TESTCM2
 match access-group 200
!
policy-map TESTPM
 class TESTCM1
  bandwidth 64
 class TESTCM2
  bandwidth 128</pre>
</blockquote>
</ul>
</li>
</ul>
</li>
<li>Low-latency Queuing
<ul>
<li>Includes strict priority queue for delay-sensitive data</li>
<li>Strict priority queue is policed to avoid starvation of other queues</li>
<li>Configured the same way as normal CBWFQ, but with the <em>priority</em> keyword</li>
<li>This configuration makes <em>TESTCM2</em> a priority queue</li>
<blockquote>
<pre>class-map TESTCM1
 match access-group 100
!
class-map TESTCM2
 match access-group 200
!
policy-map TESTPM
 class TESTCM1
  bandwidth 64
 class TESTCM2
  priority bandwidth 128</pre>
</blockquote>
</ul>
</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/01/23/ont-notes-queuing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ONT Notes – Classification, Marking, and NBAR</title>
		<link>http://aconaway.com/2010/01/22/ont-notes-classification-marking-and-nbar/</link>
		<comments>http://aconaway.com/2010/01/22/ont-notes-classification-marking-and-nbar/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 16:32:58 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[642-845]]></category>
		<category><![CDATA[autoqos]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[classification]]></category>
		<category><![CDATA[diffserv]]></category>
		<category><![CDATA[dscp]]></category>
		<category><![CDATA[marking]]></category>
		<category><![CDATA[ont]]></category>
		<category><![CDATA[policing]]></category>
		<category><![CDATA[qos]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[voice]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=441</guid>
		<description><![CDATA[Here&#8217;s another set of notes from my ONT studies.  I&#8217;m sure someone will find it useful.  Please help to correct dumbass mistakes. Classification is done with traffic desriptors Ingress interface CoS value on ISL or 802.1P frames Source/destination IP address IP Precedence or DSCP value MPLS EXP Application type Layer 3 QoS Type of Service [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another set of notes from my ONT studies.  I&#8217;m sure someone will find it useful.  Please help to correct dumbass mistakes.</p>
<ul>
<li>Classification is done with traffic desriptors
<ul>
<li>Ingress interface</li>
<li>CoS value on ISL or 802.1P frames</li>
<li>Source/destination IP address</li>
<li>IP Precedence or DSCP value</li>
<li>MPLS EXP</li>
<li>Application type</li>
</ul>
</li>
<li>Layer 3 QoS
<ul>
<li>Type of Service (ToS) is 8-bit field.</li>
<li>First 3 bits of ToS are the IP precedence.</li>
<li>First 6 bits of ToS are the DSCP value.</li>
<li>Last 2 bits of ToS are explicit congestion notification (ECN).</li>
</ul>
</li>
<li>Layer 2 QoS
<ul>
<li>Ethernet
<ul>
<li>Class of Service (CoS)</li>
<li>On 802.1P frame</li>
<li>3-bit priority (PRI) field
<ul>
<li>000 &#8211; Routine &#8211; Best-effort</li>
<li>001 &#8211; Priority &#8211; Medium priority</li>
<li>010 &#8211; Immediate &#8211; High priority</li>
<li>011 &#8211; Flash &#8211; Call signaling</li>
<li>100 &#8211; Flash-Override &#8211; Video conferencing</li>
<li>101 &#8211; Critical &#8211; Voice bearer</li>
<li>110 &#8211; Internet &#8211; Reserved</li>
<li>111 &#8211; Network &#8211; Reserved</li>
</ul>
</li>
</ul>
</li>
<li>Frame Relay
<ul>
<li>1-bit discard eligible (DE) field</li>
</ul>
</li>
<li>ATM
<ul>
<li>1-bit cell loss priority (CLP) field</li>
</ul>
</li>
<li>MPLS (layer 2 1/2)
<ul>
<li>3-bit experimental (EXP) field</li>
<li>By default, the 3 most significant ToS bits (IP Precedence bits) are copied to EXP</li>
</ul>
</li>
</ul>
</li>
<li>Per-hop Behavior (PHB)
<ul>
<li>&#8220;an externally observable fowarding behavior of a network node toward a group of IP packets that have the same DSCP value&#8221;</li>
<li>In other words, treat packets with the same DSCP value in the same manner &#8211; scheduling, queuing, policing, etc.</li>
<li>Behavior aggregate (BA) is a group of packets with the same DSCP value</li>
</ul>
</li>
<li>DSCP
<ul>
<li>DSCP is chopped up into 4 PHBs
<ul>
<li>Class selector PHB &#8211; (000) old IP precedence compatibility</li>
<li>Default PHB &#8211; (000) best effort</li>
<li>Assured forwarding (AF) PHB &#8211; (001, 010, 011, 100) guarantee bandwidth
<ul>
<li>Provides 4 queues for 4 classes of traffic (AF1-4)</li>
<li>Also specifies drop preference (ex., AF41, A13) where second number is preference (higher is more probable to be dropped)</li>
<li>Each queue must have (W)RED to avoid drops</li>
<li>No queue is any better than the other</li>
<li>Backward compatible with IP precedence</li>
</ul>
</li>
</ul>
</li>
</ul>
<ul>
<li>
<ul>
<li>Expedited forwarding (EF) PHB &#8211; (101) low delay
<ul>
<li>Minimum delay</li>
<li>Bandwidth guarantee</li>
<li>Policing</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>Trust boundaries
<ul>
<li>Establish DSCP values as close to the source as possible
<ul>
<li>On the device (IP phone), access switch, or distribution switch</li>
<li>The core should never assign DSCP values</li>
</ul>
</li>
<li>Only trust DSCP values from devices you trust</li>
<li>Examine and rewrite values from untrust sources</li>
</ul>
</li>
<li>Network-based Application Recognition (NBAR)
<ul>
<li>Protocol discovery &#8211; discovers what protocols you&#8217;re running on your network</li>
<li>Traffic statistics collection &#8211; keeps tracks of stats on each protocol</li>
<li>Traffic classification &#8211; NBAR protocols can be used in <em>class-maps</em> to define traffic to be services</li>
<li>Packet description language models (PDLMs) &#8211; table of what protocols NBAR recognizes</li>
<li>Limitations
<ul>
<li>Doesn&#8217;t work on EtherChannel interfaces</li>
<li>Only handles 24 URLs, hosts, or MIME types</li>
<li>Only analyzes first 400 bytes of the packets</li>
<li>Requires CEF</li>
<li>Doesn&#8217;t work on HTTPS, multicasts, or fragments</li>
<li>Ignored traffic destined for the router itself</li>
</ul>
</li>
<li>NBAR commands
<ul>
<li>Router(config)# <strong>ip nbar pdlm </strong><em>pdlm-name</em> : Update the PDLM table</li>
<li>Router(config)# <strong>ip nbar port-map </strong><em>protocol-name</em><em></em><strong> [tcp|udp] </strong><em>port-number</em> : Adds an entry to the PDLM table</li>
<li>Router# <strong>show ip nbar port-map</strong> <em>protocol-name</em> : Shows what&#8217;s in the PDLM table</li>
<li>Router# <strong>show ip nbar protocol-discovery</strong> : Shows what&#8217;s been discovered</li>
<li>Router(config-cmap)# <strong>match protocol</strong> <em>name </em>: a class-map match for an NBAR-discovered protocol</li>
</ul>
</li>
<li>Special protocol matching
<ul>
<li>Can match beyond the port number with deep packet inspection</li>
<li>Matches HTTP hostname, URL, or MIME type</li>
<li>Matches fast-track P2P</li>
<li>Matches RTP content</li>
</ul>
</li>
</ul>
</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/01/22/ont-notes-classification-marking-and-nbar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ONT Notes &#8211; Intro to QoS</title>
		<link>http://aconaway.com/2010/01/20/ont-notes-intro-to-qos/</link>
		<comments>http://aconaway.com/2010/01/20/ont-notes-intro-to-qos/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 03:21:40 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[642-845]]></category>
		<category><![CDATA[autoqos]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[diffserv]]></category>
		<category><![CDATA[intserv]]></category>
		<category><![CDATA[ont]]></category>
		<category><![CDATA[qos]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[voice]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=436</guid>
		<description><![CDATA[I&#8217;ll try to keep it a little shorter this time. Major issues for converged enterprise networks Available bandwidth: competition among applications Fixes Increase bandwidth: More power! Properly queue based on classification and marking: QoS Compress: cRTP, TCP header compression, etc. Delay: Lead time to get a packet to the destination Types of delay Processing delay: [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll try to keep it a little shorter this time.</p>
<p><strong>Major issues for converged enterprise networks</strong></p>
<ul>
<li>Available bandwidth: competition among applications
<ul>
<li>Fixes
<ul>
<li>Increase bandwidth: More power!</li>
<li>Properly queue based on classification and marking: QoS</li>
<li>Compress: cRTP, TCP header compression, etc.</li>
</ul>
</li>
</ul>
</li>
<li>Delay: Lead time to get a packet to the destination
<ul>
<li>Types of delay
<ul>
<li>Processing delay: routing, switch delay</li>
<li>Queuing delay: how long a frame stays in an output queue</li>
<li>Serialization delay:  how long to put the frame on the wire</li>
<li>Propagation delay: the time to cross the physical medium</li>
</ul>
</li>
</ul>
</li>
<li>Jitter (delay variation): Variation is the delay
<ul>
<li>Different delays mean different arrival times</li>
<li>De-jitter buffers save up packets to reduce jitter (like the old CD writers)</li>
<li>Fixes
<ul>
<li>More bandwidth</li>
<li>Prioritize sensitive data and forward first</li>
<li>Remark (reclassify) packets based on sensitivity</li>
<li>Enable L2 payload compression: make sure compression delay isn&#8217;t worse than the jitter</li>
<li>Use header compression</li>
</ul>
</li>
</ul>
</li>
<li>Packet loss: Packets are lost in the network somewhere
<ul>
<li>Fixes
<ul>
<li>More bandwidth</li>
<li>Increase buffers space: more room for the queue on the interface</li>
<li>Provide guaranteed bandwidth: Queuing and QoS</li>
<li>Congestion avoidance
<ul>
<li>Random Early Detection (RED) and weighted RED (WRED) drop packets before the queue is full</li>
<li>Selective dropping is better than FIFO or LIFO dropping</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><strong>QoS History</strong></p>
<ul>
<li>Priority queuing: gives certain data the right-of-way for transmission</li>
<li>Weighted Fair Queuing (WFQ): prevents small packets from waiting too long for big packets</li>
<li>RTP priority queuing: Gives voice packets the right-of-way</li>
<li>CAC: Makes sure we don&#8217;t fill up the queue or pipe with voice traffic</li>
</ul>
<p><strong>Implementing QoS</strong></p>
<ul>
<li>Step 1: Identify traffic types and requirements
<ul>
<li>Network audit</li>
<li>Business audit</li>
<li>Define bandwidth requirements for each class found</li>
</ul>
</li>
<li>Step 2: Classify the traffic
<ul>
<li>Common classes
<ul>
<li>VOIP</li>
<li>Mission-critical</li>
<li>Signal traffic: for VOIP</li>
<li>Transactional application: SAP, ERP</li>
<li>Best-effort: Everything else</li>
<li>Scavenger: Crap you don&#8217;t care about like P2P and your boss&#8217;s email</li>
</ul>
</li>
</ul>
</li>
<li>Step 3: Define policies for each class
<ul>
<li>Tasks for each class
<ul>
<li>Set max bandwidth</li>
<li>Set min bandwidth</li>
<li>Assign relative priorities</li>
<li>Apply congestion avoidance, congestion management, etc.</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><strong>QoS Models</strong></p>
<ul>
<li>Best-effort: no QoS
<ul>
<li>Scalable</li>
<li>Easy</li>
<li>No service guarantee: doesn&#8217;t care what you&#8217;re trying to do</li>
<li>No service differentiation: all traffic is equal</li>
</ul>
</li>
<li>Integrated Service (IntServ)
<ul>
<li>Hard-QoS</li>
<li>Uses RSVP to guarantee bandwidth through the entire path</li>
<li>Requires
<ul>
<li>Admission control</li>
<li>Classification</li>
<li>Polices the traffic (ceiling)</li>
<li>Queuing</li>
<li>Scheduling</li>
</ul>
</li>
<li>Advantages
<ul>
<li>End-to-end resource admission control</li>
<li>Per-request policy admission control</li>
<li>Signaling of dynamic ports</li>
</ul>
</li>
<li>Disadvantages
<ul>
<li>Continuous signaling</li>
<li>Not scalable</li>
</ul>
</li>
</ul>
</li>
<li>Differentiated Services (DiffServ)
<ul>
<li>Soft-QoS</li>
<li>Configured on each hop</li>
<li>Traffic is classified</li>
<li>Enforces different treatment on different classes</li>
<li>Defined based on business requirements</li>
<li>Benefits
<ul>
<li>Scalable</li>
<li>Supports lots of service levels</li>
</ul>
</li>
<li>Drawbacks
<ul>
<li>No absolute guarantee of service</li>
<li>Complex configuration throughout network</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><strong>QoS Implementation Methods</strong></p>
<ul>
<li>CLI
<ul>
<li>Old school</li>
<li>Not used any more</li>
</ul>
</li>
<li>Modules QoS CLI (MQC)
<ul>
<li>Step 1: <em>class-map</em></li>
<li>Step 2: <em>policy-map</em></li>
<li>Step 3: <em>service-policy</em></li>
</ul>
</li>
<li>AutoQoS
<ul>
<li>Automatically generates classes and policies based on traffic it sees</li>
<li>Super-simple</li>
<li>Requires CEF, NBAR, and correct bandwidth statements</li>
</ul>
</li>
<li>SDM QoS Wizard
<ul>
<li>Next, next, next</li>
<li>Can be used to implement, monitor, or troubleshoot QoS</li>
</ul>
</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/01/20/ont-notes-intro-to-qos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ONT Notes &#8211; VOIP Networks</title>
		<link>http://aconaway.com/2010/01/10/ont-notes-voip-networks/</link>
		<comments>http://aconaway.com/2010/01/10/ont-notes-voip-networks/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 19:16:53 +0000</pubDate>
		<dc:creator>Aaron Conaway</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[642-845]]></category>
		<category><![CDATA[analog]]></category>
		<category><![CDATA[ccnp]]></category>
		<category><![CDATA[certification]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[ont]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[voice]]></category>
		<category><![CDATA[voip]]></category>

		<guid isPermaLink="false">http://aconaway.com/?p=417</guid>
		<description><![CDATA[Here are some of the notes I&#8217;ve been taking while reading over the ONT book. I hope it benefits somebody.  Feel free to correct any stupid mistakes as a paraphrase to avoid a lawsuit. There&#8217;s way too much info here.  I&#8217;ll refine the process a little better for the next topics. Benefits of Packet Telephony [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some of the notes I&#8217;ve been taking while reading over the ONT book.  I hope it benefits somebody.  Feel free to correct any stupid mistakes as a paraphrase to avoid a lawsuit.</p>
<p>There&#8217;s way too much info here.  I&#8217;ll refine the process a little better for the next topics.</p>
<p><strong>Benefits of Packet Telephony Networks</strong></p>
<ul>
<li>More efficient use of bandwidth and equipment &#8211; Packet telephony networks don&#8217;t dedicate channels or a static bandwidth to a call; it&#8217;s just another network application.</li>
<li>Consolidate network expense &#8211; The common infrastructure (IP-based networks) keeps you from having to support another distinct network for voice like in traditional PBX implementations.</li>
<li>Improved employee productivity &#8211; The phone can be used for more than just phone calls by utilizing the XML interface to run applications or provide content from the network.</li>
<li>Access to new communications devices &#8211; IP phones can communicate with computers, network gear, PDAs, etc., and not just the PBX.</li>
</ul>
<p><strong>Packet Telephony Components</strong></p>
<ul>
<li>Phones &#8211; These include analog phone, digital phones, IP phones, softphones, etc.</li>
<li>Gateways &#8211; These devices connect the different devices that cannot access the IP network.  For example, making a 911 call from your IP phone requires a gateway that switches and converts your VOIP conversation to the PSTN.</li>
<li>Gatekeepers &#8211; These are devices that handle call routing (resolving an IP to an extension/phone number) and call admission control (CAC, grants permission to make the call).</li>
<li>Multipoint control units (MCUs) &#8211; These are conference bridges that connect a bunch of streams together and present it to all participants.  Some can do video as well.</li>
<li>Call agents &#8211; These are devices used in a centralized model that handle the call routing, address translation, call setup, call maintenance, and call termination.</li>
<li>Application and database servers &#8211; These provide required and optional services to the packet telephony network and include TFTP servers for configuration and OS download and XML servers for application use.</li>
<li>Digital signal processors (DSPs) &#8211; These guys converts signals from one form to another.  They convert analog to digital signals, digital to packetized data in the form of a codec, from codec to codec, etc.</li>
</ul>
<p><strong>Analog Interfaces</strong></p>
<ul>
<li>Foreign Exchange Office (FXO) &#8211; These are interfaces that expect to connect to a CO or equivalent.  You connect these to your wall jack to get access to the PSTN.</li>
<li>Foreign Exchange Station (FXS) &#8211; You connect your analog devices (phones, modems, faxes, etc.) to these guys to get dial tone.</li>
<li>Ear and Mouth (E&amp;M) &#8211; These are the old-school way to connect PBXes together.</li>
</ul>
<p><strong>Digital Interfaces</strong></p>
<ul>
<li>Basic Rate ISDN (BRI) &#8211; These give you 2 64kbps channels (bearer channels) to run voice over.  It also includes a 16kbps D (delta) channel with 48kbps of framing overhead to give you 192kbps.</li>
</ul>
<ul>
<li>T1 (North America) &#8211; This is a channelized T1 or a Primary Rate ISDN (PRI).
<ul>
<li><a class="glossaryLink" href="http://aconaway.com/glossary/common-channel-signaling/" title="Glossary: Common Channel Signaling">Common Channel Signaling</a> (CCS) &#8211; The D channel is dedicated to signaling, giving you 23 64kbps channels.</li>
<li><a class="glossaryLink" href="http://aconaway.com/glossary/channel-associated-signaling/" title="Glossary: Channel Associated Signaling">Channel Associated Signaling</a> (CAS)  &#8211; There is no D channel, but every bearer channel dedicates a few data bits for its own signaling.</li>
</ul>
</li>
</ul>
<ul>
<li>
<ul>
<li>E1 (North America) &#8211; This is a channelized E1 or a Primary Rate ISDN (PRI).
<ul>
<li><a class="glossaryLink" href="http://aconaway.com/glossary/common-channel-signaling/" title="Glossary: Common Channel Signaling">Common Channel Signaling</a> (CCS) &#8211; The D channel is dedicated to signaling, giving you 30 64kbps channels.</li>
<li><a class="glossaryLink" href="http://aconaway.com/glossary/channel-associated-signaling/" title="Glossary: Channel Associated Signaling">Channel Associated Signaling</a> (CAS)  &#8211; There is still a dedicated D channel, so you still have 30 64kbps channels to use.</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><strong>VOIP Signaling</strong></p>
<ul>
<li>H323. &#8211; ITU Standard that uses a whole mess of RFCs; distributed model</li>
<li>Media Gateway Control Protocol (MGCP) &#8211; IETF RFC 3435; centralized model</li>
<li>Session Initiation Protocol (SIP) &#8211; IETF standard; distributed model</li>
</ul>
<p><strong>Phone Call Stages</strong></p>
<ul>
<li>Call setup &#8211; connects the call between the endpoints
<ul>
<li>Call routing &#8211; figures out where the call is going</li>
<li>CAC (optional) &#8211; Do you have enough resources (i.e., an available channel or bandwidth) to make the call?</li>
<li>Call negotiation &#8211; negotiates the source and destination IPs, source and destination UDP ports, and codec.</li>
</ul>
</li>
<li>Call maintenance &#8211; collects call statistics for on-demand or historical use</li>
<li>Call teardown &#8211; hanging up and terminating the connection</li>
</ul>
<p><strong>Digitizing Analog Signals</strong></p>
<ul>
<li><a class="glossaryLink" href="http://aconaway.com/glossary/sampling/" title="Glossary: Sampling">Sampling</a> &#8211; Periodic capturing and recording of voice resulting in a pulse amplitude modulation (PAM) signal</li>
<li>Quantization &#8211; Assigning numerical values to the PAM signal</li>
<li>Encoding &#8211; Converting the quantization to binary</li>
<li>Compression (optional) &#8211; compressing the binary stream</li>
<li>Pulse code modulation (PCM) converts analog to digital, but it doesn&#8217;t use compression.  It takes 8000 samples per second and converts each sample to an 8-bit number, giving 64kbps of capacity.</li>
</ul>
<p><strong>Digital to Analog</strong></p>
<ul>
<li>Decompression (optional)</li>
<li>Decoding and filtering &#8211; binary is converted back to a PAM signal; filtering removes any noise from the conversion</li>
<li>Reconstructing the analog signal</li>
</ul>
<p><strong>The Nyquist Theorem</strong></p>
<ul>
<li>The number of samples required to accurately encode (and decode) a signal is twice the highest frequency of the signal.</li>
<li>Since telephone lines can only transmit up to 3400 Hz (4000 Hz for simplicity), the sample rate should be 8000 samples/second.</li>
</ul>
<p><strong>Measuring Compression Qualities<br />
</strong></p>
<ul>
<li>Mean opinion score (MOS) &#8211; ITU standard technique for measuring quality of codec; subjective score from 1 to 5</li>
<li>Perceptual speech quality measurement (PSQM) &#8211; Another ITU standard technique for measuring quality of codec; test equipment score from 0. to 6.5</li>
<li>Perceptual analysis measurement system (PAMS) &#8211; Developed by BT; predictive system</li>
<li>Perceptual evaluation of speech quality (PESQ) &#8211; Another ITU standard; combines PSQM and PAMS; objective measurement of factors including subjective values</li>
</ul>
<p><strong>Digital Signal Processors (DSPs)</strong></p>
<ul>
<li>Provide 3 major services &#8211; voice termination, transcoding, conferencing</li>
<li>Also performs compression (codec), echo cancellation, voice activity detection (VAD), comfort noise generation (CNG), and jitter handling</li>
<li>Conferencing among participants with the same codec is called a single-mode conference.</li>
<li>Conferencing among participants with different codecs is called a mixed-mode conference.</li>
</ul>
<p><strong>Protocols</strong></p>
<ul>
<li>VOIP calls run over Real Time Protocol (RTP).</li>
<li>RTP provides sequence reordering, time-stamping, and multiplexing</li>
<li>Rides on UDP ports 16384-32767</li>
<li>Voice does not need the reliability (retransmission) of TCP since retransmitted data is no longer useful (I already said that).</li>
<li>VOIP packets headers:
<ul>
<li>IP &#8211; 20 bytes</li>
<li>UDP &#8211; 8 bytes</li>
<li>RTP &#8211; 12 bytes</li>
<li>L2 headers vary depending on technology (Ethernet = 12 bytes, MPLS, etc.)</li>
</ul>
</li>
<li>2 10-ms packages are usually in one packet (20ms of voice)</li>
<li>G.711 (64kbps) produces 160 bytes from 20 ms of voice.</li>
<li>G.729 (8kbps) produces 20 bytes from 20 ms of voice.</li>
</ul>
<p><strong>cRTP</strong></p>
<ul>
<li>Compressed RTP (cRTP) reduces the headers</li>
<li>After the first packet lands, the IP, UDP, and RTP headers won&#8217;t change, so why send them again?</li>
<li>The headers are reduced to a hash.</li>
<li>cRTP reduces the headers to 4 bytes with a UDP checksum and 2 bytes without a UDP checksum.</li>
<li>Slow links only</li>
<li>Processing overhead</li>
<li>Finite delay in packetization</li>
</ul>
<p><strong>Packet Size Effect on Bandwidth<br />
</strong></p>
<ul>
<li>The size of a voice frame depends on:
<ul>
<li>Packet rate and packetization size &#8211; rate is inversely proporational to size</li>
<li>IP overhead &#8211; RTP, UDP, IP, cRTP overhead</li>
<li>L2 overhead -</li>
<li>Tunneling overhead &#8211; IPSec, GRP, MPLS, etc.</li>
</ul>
</li>
<li>Codecs have different bandwidth
<ul>
<li>G.711 (PCM) &#8211; 8000 samples per second @ 8 bits per sample = 64 kbps</li>
<li>G.726 (Adaptive Differencial PCM &#8211; ADPCM) &#8211; Variable bit rate of 32 kbps, 24 kbps, or 16 kbps</li>
<li>G.722 (Wideband Speech Encoding) &#8211; 2 subbands using modified ADPCM of 64 kpbs, 56kbps, or 48 kbps</li>
<li>G.728</li>
<li>G.729 &#8211; 10 samples per 10-bit code = 8 kbps</li>
</ul>
</li>
</ul>
<p><strong>Calculating Total Bandwidth</strong></p>
<ul>
<li>Step 1 &#8211; Determine codec and packetization period: What does the codec require in bandwidth?  How many samples per packet (usually 2)?</li>
<li>Step 2 &#8211; Determine link-specific overhead:  Encapsulation?  cRTP?</li>
<li>Step 3 &#8211; Calculate packetization size:  Size of voice payload; codec bandwidth * packetization period / 8 = voice payload in bytes</li>
<li>Step 4 &#8211; Calculate total frame size: IP + UDP + RTP + Tunneling + data link + packetization size</li>
<li>Step 5 &#8211; Calculate packet rate: 1 / packetization period (ex., 20ms packetization period is 1/0.020 = 50 packets per second)</li>
<li>Step 6 &#8211; Calculate total bandwidth:  Total frame size * packet rate</li>
</ul>
<p><strong>VAD and Bandwidth</strong></p>
<ul>
<li>Common for 1/3 of conversation to be silence</li>
<li>VAD bandwidth savings depends on:
<ul>
<li>Type of audio: regular phone call (two-way), conf call (one-way), music on hold (MOH)</li>
<li>Background noise: noise may be detected as voice</li>
<li>Other factors:  language, culture may influence amount of silence</li>
</ul>
</li>
</ul>
<p><strong>Enterprise VOIP Implementations</strong></p>
<ul>
<li>Consists of gateways, gatekeepers, Cisco Unified CallManagers (CCM), Cisco IP Phones</li>
<li>Routers can provide the voice gateway function by connecting the IP network to the WAN (and other gateways), PSTN, PBXes, etc.</li>
<li>Survivable Remote Site Telephony (SRST) allows local calling and use of PSTN while services are down</li>
</ul>
<p><strong>Functions of CCM</strong></p>
<ul>
<li>Call processing &#8211; routing, signaling, accounting</li>
<li>Dial plan administration -  call routing</li>
<li>Signaling and device control &#8211; configuration and instruction in case of events</li>
<li>Phone feature administration &#8211; button programming, profiles, etc.</li>
<li>Directory and XML</li>
<li>API for interface &#8211; allows custom programming for IP phones</li>
</ul>
<p><strong>Enterprise Deployment Models</strong></p>
<ul>
<li>Single-site: You have one site, and everything is there.</li>
<li>Multisite with centralized call processing: You have multiple sites, but the main site has the CCM cluster.</li>
<li>Multisite with distributed call processing: You have multiple sites, and each site has its own CCM cluster.</li>
<li>Clustering over WAN: You have multiple sites, and each site has a part of one big CCM cluster.</li>
</ul>
<p><strong>IOS Voice Commands</strong></p>
<blockquote>
<pre>----- R1 -----
! FXS on 1/1/2
Dial-peer voice 1 POTS
 destination-pattern 120
 port 1/1/2

! Extension 230 is on R2
Dial-peer voice 2 R2
 destination-pattern 230
 session target ipv4:10.1.1.2

----- R2 -----
! FXS on 2/2/1
Dial-peer voice 1 POTS
 destination-pattern 230
 port 2/2/1

! Extension
Dial-peer voice 2 R2
 destination-pattern 120
 session target ipv4:10.1.1.1</pre>
</blockquote>
<p><strong>Call Admission Control (CAC)</strong></p>
<ul>
<li>QoS can guarantee bandwidth but can only reserve so much (say, for 2 simultaneous calls).</li>
<li>CAC make sure that resources are available (denies a new call if 2 calls are already placed).</li>
<li>Dropped packets affect every call &#8211; not just the new ones</li>
</ul>
<p>&#8212;&#8211;</p>
<p>Additional Reading</p>
<ol>
<li><a title="Wikipedia's Sources for H.323" href="http://en.wikipedia.org/wiki/H.323#References">H.323 Sources on Wikipedia</a></li>
<li><a title="IETF RFC 3435" href="http://tools.ietf.org/html/rfc3435">MGCP &#8211; RFC 3435</a></li>
<li><a title="IETF RFC 3261" href="http://tools.ietf.org/html/rfc3261">SIP &#8211; RFC 3261</a></li>
<li><a title="Nyquist Theorem" href="http://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem">Nyquist Theorem on Wikipedia</a></li>
<li><a title="MPLS on Wikipedia" href="http://en.wikipedia.org/wiki/Multiprotocol_Label_Switching#How_MPLS_works">MPLS on Wikipedia</a></li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://aconaway.com/2010/01/10/ont-notes-voip-networks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
