<?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>TrainSignal Training &#187; QoS</title>
	<atom:link href="http://www.trainsignal.com/blog/tag/qos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.trainsignal.com/blog</link>
	<description>Guide to Certifications and Technology News for IT Professionals</description>
	<lastBuildDate>Wed, 08 Feb 2012 14:00:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Quality of Service Configuration Basics for Cisco Professionals</title>
		<link>http://www.trainsignal.com/blog/qos-quality-of-service-configuration</link>
		<comments>http://www.trainsignal.com/blog/qos-quality-of-service-configuration#comments</comments>
		<pubDate>Wed, 13 Oct 2010 14:00:25 +0000</pubDate>
		<dc:creator>Sean Wilkins</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[QoS]]></category>

		<guid isPermaLink="false">/?p=12506</guid>
		<description><![CDATA[When it comes to configuring Quality of Service (QoS) on Cisco equipment there are a couple of main concepts which must be understood. Cisco QoS is typically configured on modern equipment using the Modular QoS Command-line interface (MQC). With MQC, traffic is classified using the class-map and match commands, traffic policy is defined using the [...]]]></description>
			<content:encoded><![CDATA[<p>When it comes to configuring <a href="/blog/qos-quality-of-service-fundamentals/2010-10-07/">Quality of Service (QoS)</a> on Cisco equipment there are a couple of main concepts which must be understood.</p>
<p>Cisco QoS is typically configured on modern equipment using the Modular QoS Command-line interface (MQC). With MQC, traffic is classified using the <strong>class-map </strong>and <strong>match </strong>commands, traffic policy is defined using the <strong>policy-map</strong>, <strong>class</strong> and <strong>set </strong>commands and policies are assigned using the <strong>service-policy</strong> command.</p>
<p>Another method which can be used is through the use of AutoQoS. AutoQoS takes much of the manual configuration out of the process and creates class and policy maps which are typical of most traffic (as defined by which version of AutoQoS you are using) and sets up policies on the interfaces you specify in a guided setup.</p>
<p>Let&#8217;s take a look at what the configuration looks like for both MQC and AutoQoS.</p>
<h2>MQC Configuration</h2>
<p>Here are a few of the MQC commands mentioned above; keep in mind that there are more <strong>match </strong>and <strong>set </strong>commands available, below is just a sampling.</p>
<p><span id="more-12506"></span></p>
<h5>class-map</h5>
<blockquote><p>router(config)#<strong>class-map </strong><em>class-map-name</em></p></blockquote>
<p>This command is used to create a specific class-map. The <em>class-map-name </em>parameter is used to specify the name of the class-map and can be up to 40 alphanumeric characters.</p>
<h5>match protocol</h5>
<blockquote><p>router(config-cmap)#<strong>match protocol </strong><em>protocol-name</em></p></blockquote>
<p>This command is used to match a specific protocol. The <em>protocol-name </em>parameter is used to specify the protocol name to be matched, there are several which can be used including <em>dhcp, eigrp, h323, http and irc</em>.</p>
<h5>match cos</h5>
<blockquote><p>router(config-cmap)#<strong>match cos </strong><em>cos-value [cos-value]</em></p></blockquote>
<p>This command is used to match a specific Class of Service (CoS) value. The <em>cos-value </em>parameter is used to specify the CoS value carried in the frame to be matched; multiple <em>cos-value</em>’s can be specified in one command.</p>
<h5>match dscp</h5>
<blockquote><p>router(config-cmap)#<strong>match dscp </strong><em>dscp-value [dscp-value]</em></p></blockquote>
<p>This command is used to match a specific Differentiated Services Code Point (DSCP) value. The <em>dscp-value</em> is used to specify the DSCP value carried in the packet to be matched; multiple <em>dscp-value</em>’s can be specified in one command.</p>
<h5>policy-map</h5>
<blockquote><p>router(config)#<strong>policy-map </strong><em>policy-map-name</em></p></blockquote>
<p>This command is used to create a specific policy map. The <em>policy-map-name </em>parameter is used to specify the name of the policy-map and can be up to 40 alphanumeric characters.</p>
<h5>class</h5>
<blockquote><p>router(router-pmap)#<strong>class </strong><em>{class-name </em>| <strong>class-default</strong>}</p></blockquote>
<p>This command is used to link a policy to a specific class-map. The <em>class-name </em>is used to match the <em>class-map-name</em> configured in the <strong>class-map </strong>command. The <strong>class-default </strong>parameter is used to specify the default class-map.</p>
<h5>set cos</h5>
<blockquote><p>router(config-pmap-c)#<strong>set cos </strong><em>cos-value</em></p></blockquote>
<p>This command is used to set a specific CoS value. The <em>cos-value </em>parameter is used to specify the Class of Service value which will be set in the frame.</p>
<h5>set dscp</h5>
<blockquote><p>router(config-pmap-c)#<strong>set dscp </strong><em>dscp-value</em></p></blockquote>
<p>This command is used to set a specific DSCP value. The <em>dscp-value</em> is used to specify the DSCP value which will be set in the packet.</p>
<h5>service-policy</h5>
<blockquote><p>router(config-if)#<strong>service-policy {input | output} </strong><em>policy-map-name</em></p></blockquote>
<p>This command is used to link a policy map to an interface The <strong>input </strong>and <strong>output </strong>parameters are used to specify in which direction the policy is to be evaluated. The <em>policy-map-name </em>parameter is used to specify the matching policy-map name.</p>
<h2>MQC Example</h2>
<p>To wrap this up together a bit, the following is a sample configuration which matches all <a href="/blog/get-to-know-the-h323-voip-protocol-suite/2007-10-08/">H.323</a> traffic and gives it a DSCP value of EF (Expedited Forwarding). The configuration will then be configured to be evaluated on traffic coming into an interface.</p>
<blockquote><p>
router(config)#<strong>class-map h323</strong></p>
<p>router(config-cmap)#<strong>match protocol h323</strong></p>
<p>router(config)#<strong>policy-map h323-policy</strong></p>
<p>router(config-pmap)#<strong>class h323</strong></p>
<p>router(config-pmap-c)#<strong>set dscp EF</strong></p>
<p>router(config-if)#<strong>service-policy input h323-policy</strong>
</p></blockquote>
<h2>AutoQoS Configuration</h2>
<p>There are actually two different types of AutoQos: AutoQoS for VoIP (which was the first iteration) and AutoQoS in the Enterprise (which detects the traffic types and builds policy based on this data).</p>
<h5>auto qos voip</h5>
<blockquote><p>router(config-if)#<strong>auto qos voip</strong></p></blockquote>
<p>This command is used to install the AutoQoS configuration onto a specific interface.</p>
<h5>auto discovery qos</h5>
<blockquote><p>router(config-if)#<strong>auto discovery qos</strong></p></blockquote>
<p>This command is used to start the traffic discovery portion of AutoQoS in the Enterprise. This command should be run for an amount of time to properly detect traffic types before using the next command.</p>
<h5>auto qos</h5>
<blockquote><p>router(config-if)#<strong>auto qos</strong></p></blockquote>
<p>This command is used to install AutoQoS in the Enterprise configuration onto a specific interface.</p>
<h2>QoS Resources</h2>
<p>To learn more about Qos Configuration take a look at this <a href="http://www.cisco.com/en/US/tech/tk543/tk759/technologies_white_paper09186a00801348bc.shtml">QoS Whitepaper</a> from Cisco and if you&#8217;re interested in going as far as the Cisco QOS (642-642) Exam then I&#8217;d definitely recommend the <a href="http://www.ciscopress.com/bookstore/product.asp?isbn=1587201240">Cisco QOS Exam Certification Guide</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/qos-quality-of-service-configuration/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quality of Service Fundamentals for Cisco Professionals</title>
		<link>http://www.trainsignal.com/blog/qos-quality-of-service-fundamentals</link>
		<comments>http://www.trainsignal.com/blog/qos-quality-of-service-fundamentals#comments</comments>
		<pubDate>Wed, 06 Oct 2010 14:00:09 +0000</pubDate>
		<dc:creator>Sean Wilkins</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[QoS]]></category>

		<guid isPermaLink="false">/?p=12502</guid>
		<description><![CDATA[The idea of Quality of Service (QoS) in networking is rather simple; provide an ability to categorize traffic so that it can be separated into different service classes. Each one of these classes is then configured for a specific level of service which is provided to the traffic. What parameters are set for each service [...]]]></description>
			<content:encoded><![CDATA[<p>The idea of Quality of Service (QoS) in networking is rather simple; provide an ability to categorize traffic so that it can be separated into different service classes.</p>
<p>Each one of these classes is then configured for a specific level of service which is provided to the traffic. What parameters are set for each service class is configurable and depends greatly on the requirements of the specific traffic.</p>
<h2>QoS Basics</h2>
<p>There are four major traffic characteristics which are used to classify traffic, these include:</p>
<h5>Bandwidth</h5>
<p>This is a simple concept; how much total sustained bandwidth is required for the specific traffic type.</p>
<h5>Delay</h5>
<p>Delay is typically measured from end-to-end and simply records the amount of acceptable delay from source to destination.</p>
<h5>Jitter</h5>
<p>Jitter is a little more complex in that it defines delay variation. Delay variation is the amount of variation in end-to-end delay which happens from packet to packet. For example, one packet may be delayed so much more than the second packet that the second packet actually gets to the destination before the first.  With data traffic this is not an issue as some reassembly is expected and part of that is reordering the packet. However, with traffic types like voice, getting to the destination out of order lead to voice quality problems.</p>
<h5>Loss</h5>
<p>Again a simple concept; this is simply the number of packets which are lost from end-to-end.</p>
<p>When classifying traffic it is vital that each traffic type have the correct QoS parameters assigned in order for the network to prioritize correctly.</p>
<p><span id="more-12502"></span></p>
<h2>QoS Models</h2>
<p>There are three QoS models which are used in order to provide the correct traffic characteristics. These three models are: Best Effort, Integrated Services and Differentiated Services.</p>
<h5>Best Effort</h5>
<p>The Best Effort model is rather simple and is the most common on public networks. This model simply gives all traffic the same amount of priority.  All traffic is routed in the same manner and the speed and path of a specific packet is determined by typical destination based networking protocols and equipment.</p>
<h5>Integrated Services (IntServ)</h5>
<p>The Integrated Services (IntServ) model is considerably more complex. With this model, traffic coming into the network requests a specific traffic class or specific traffic characteristics. For example, if a voice call is trying to be initiated, the phone will typically request a traffic path with specific low (lower) bandwidth, low delay, low jitter and low loss characteristics. These specific traffic characteristics are requested from  each network device from source to destination, if the specific characteristics are available then they are reserved and the traffic is allowed. If the traffic exceeds the specific characteristics setup at the beginning, the networking equipment may drop those packets which do not conform. The Resource Reservation Protocol (RSVP) is typically used to implement IntServ.</p>
<h5>Differentiated Service (DiffServ)</h5>
<p>The Differentiated Service (DiffServ) model comes at QoS differently; with DiffServ resources are not reserved at the beginning of a traffic flow like with IntServ. DiffServ utilizes classification and marking mechanisms to specify the expected priority that the traffic type expects, this process is typically done at the entry of the network. Each of these devices is then individually configured to react to these specific markings.</p>
<p>Traffic characteristics are maintained through traffic policing and traffic shaping. With traffic policing, traffic with specific markings will be provided a configured service quality (at this device only). If the traffic exceeds the configured amount of service then the device has the ability to drop all non-conforming traffic. With traffic shaping, the traffic is given a little more flexibility and the device attempts to “shape” the traffic into the configured settings. Again, if the traffic is too much out of conformance the device has the ability to drop non-conforming packets.  The DiffServ model is typically deployed over IntServ as it requires a less complex configuration.</p>
<p>Learn more about the <a href="/blog/learn-qos-using-diffserv-model/2007-10-04/">DiffServ Model</a>.</p>
<h2>Congestion Mechanisms</h2>
<p>Another part of this equation is how the network deals with congestion. All of us have been victim to a slow Internet connection from time to time and this is because of network congestion. Simply put, there is more demand for traffic bandwidth then there is supply to service it. How the network deals with these situations is just as important as how it deals with specific traffic service types.</p>
<p>There are two main ways to deal with congestion: Management and Avoidance. These two can also be used with each other. Congestion management looks to deal with congestion after it is already occurring, while congestion avoidance tries to prevent congestion from occurring in the first place.</p>
<p>Congestion management is provided by queue management and gives the ability to queue traffic at a specific point in order to give the equipment time to forward earlier traffic; it also has the ability to skip certain high priority traffic to the front of the queue in order to provide an even higher level of service. There are many queue mechanisms including:</p>
<ul>
<li>Weighted Fair Queueing (WFQ)</li>
<li>First In – First Out (FIFO)</li>
<li>Class Based – Weighted Fair Queueing (CBWFQ)</li>
<li>Priority Queueing (PQ)</li>
<li>Low Latency Queueing (LLQ)</li>
</ul>
<p>WFQ and FIFO are the most used as they are the default on many interface types.</p>
<p>There are a couple of congestion avoidance mechanisms: Tail Drop and <a href="/blog/network-congestion-avoidance-wred-the-sophisticated-choice/2007-10-23/">Weighted Random Early Detection (WRED)</a>.</p>
<p>Tail Drop is the default with most devices and simply drops all traffic which arrives to a device with full queues. WRED works by selectively dropping packets depending on the average queue size and the priority markings of the traffic. The specifics of the WRED algorithm are outside the scope of this article as it can be quite complex.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trainsignal.com/blog/qos-quality-of-service-fundamentals/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
