 




<?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>The Journey of a Network Engineer &#187; policy-map</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/network-engineering-journey/tag/policy-map/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/network-engineering-journey</link>
	<description></description>
	<lastBuildDate>Tue, 26 Feb 2013 11:05:07 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to configure per-vlan QoS in Cisco 3550 and 3560</title>
		<link>http://itknowledgeexchange.techtarget.com/network-engineering-journey/how-to-configure-per-vlan-qos-in-cisco-3550-and-3560/</link>
		<comments>http://itknowledgeexchange.techtarget.com/network-engineering-journey/how-to-configure-per-vlan-qos-in-cisco-3550-and-3560/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 05:26:13 +0000</pubDate>
		<dc:creator>Sulaiman Syed</dc:creator>
				<category><![CDATA[3550]]></category>
		<category><![CDATA[3560]]></category>
		<category><![CDATA[CCIE]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[class-map]]></category>
		<category><![CDATA[Configure]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[mark]]></category>
		<category><![CDATA[nested policy]]></category>
		<category><![CDATA[parent policy]]></category>
		<category><![CDATA[per-vlan]]></category>
		<category><![CDATA[police]]></category>
		<category><![CDATA[policy-map]]></category>
		<category><![CDATA[QoS]]></category>
		<category><![CDATA[rate]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[vlan]]></category>

		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/network-engineering-journey/?p=238</guid>
		<description><![CDATA[You might think that configuring QoS in Cisco Switches will follow the same syntax. That what I thought till i started studying CCIE. Let&#8217;s See one major difference in how policing is implemented on these two platforms. Cisco Catalyst 3550 I find the configuration of 3550 rather easier. First, you would enable QoS. second, when [...]]]></description>
				<content:encoded><![CDATA[<p>You might think that configuring QoS in Cisco Switches will follow the same syntax. That what I thought till i started studying CCIE. Let&#8217;s See one major difference in how policing is implemented on these two platforms.</p>
<p><strong>Cisco Catalyst 3550</strong></p>
<p>I find the configuration of 3550 rather easier. First, you would enable QoS. second, when classifying traffic (you of course will use MQC) in the class map you match vlan id. Then you just police that traffic however you want it. Lets see a configuration for that.</p>
<blockquote><p>mls qos<br />
!<br />
class-map HTTP_VLAN_10<br />
match vlan 10<br />
match protocol http<br />
!<br />
policy-map HIGH_BANDWIDTH<br />
class HTTP_VLAN_10<br />
set dscp af11<br />
policy 12800 1600 exceed-action drop<br />
!<br />
interface fastethernet 0/1<br />
service-policy input HIGH_BANDWIDTH</p></blockquote>
<p>That is straight forward, and should be done easily without much confusion since that approach is what used in most routers.</p>
<p><strong><strong>Cisco Catalyst 3560</strong></strong></p>
<p>Here where we have rather different way of doing the same task. First, enable mls qos. Second, Match the interesting traffic. Third, enable mls qos on the interface. Fourth, mark the traffic in the First policy. Fifth, Police the rate at the nested policy. lastly, Apply it at the vlan interface.</p>
<blockquote><p>mls qos<br />
!<br />
interface fa0/2<br />
mls qos vlan-based<br />
!<br />
class-map INT<br />
match input-interface fa0/2<br />
!<br />
policy-map NESTED_POLICE<br />
class INT<br />
policy 12800 1600 exceed-action drop<br />
!<br />
class-map HTTP<br />
match protocol http<br />
!<br />
policy-map PARENT_MARK<br />
class HTTP<br />
set dscp af11<br />
service-policy NESTED_POLICE<br />
!<br />
interface vlan 10<br />
service-policy PARENT_MARK</p></blockquote>
<p>Please note that you can&#8217;t MARK and POLICE the traffic in the same policy. So creating parent policy for marking and nested policy for rate police. We have to enable the interfaces that we want to participate in policing the vlan traffic since a direct match can&#8217;t be made. lastly, the service-policy will be applied into the Vlan interface and not the physical interface.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/network-engineering-journey/how-to-configure-per-vlan-qos-in-cisco-3550-and-3560/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
