<?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>David Sudjiman</title>
	<atom:link href="http://www.davidsudjiman.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidsudjiman.info</link>
	<description>“Being different is hard, but not being different is harder.”</description>
	<lastBuildDate>Fri, 27 Apr 2012 10:33:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>CCIE RS Lab Exam failed, for the second time.</title>
		<link>http://www.davidsudjiman.info/2012/04/27/ccie-rs-lab-exam-failed-for-the-second-time/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ccie-rs-lab-exam-failed-for-the-second-time</link>
		<comments>http://www.davidsudjiman.info/2012/04/27/ccie-rs-lab-exam-failed-for-the-second-time/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 10:27:40 +0000</pubDate>
		<dc:creator>David Sudjiman</dc:creator>
				<category><![CDATA[Catharsis]]></category>
		<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.davidsudjiman.info/?p=855</guid>
		<description><![CDATA[It&#8217;s been a good experience so far, knowing that I failed my CCIE R&#038;S lab for the second time. Well, certainly not the best outcome but certainly was a good experience. Last year, 31 May 2012, I failed my first &#8230; <a href="http://www.davidsudjiman.info/2012/04/27/ccie-rs-lab-exam-failed-for-the-second-time/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a good experience so far, knowing that I failed my CCIE R&#038;S lab for the second time. Well, certainly not the best outcome but certainly was a good experience.</p>
<p>Last year, 31 May 2012, I failed my first lab exam. That time was pretty rough. I was too emotional and nearly walking out of the building for not knowing enough of the technologies. I came out of the building felling stress out. It could probably be that I went to the exam just couple of days after I finished with Narbik&#8217;s Bootcamp. Exhausted and agitated.</p>
<p>Almost a year after that, today, 27 April 2012, I went to the Cisco building with less stress. Not because I know that I&#8217;ll pass the exam. On a contrary, I know that I&#8217;ll fail this one. Not a good attitude to choose but I&#8217;m certainly having quite a few on my plate at the moment and I know I didn&#8217;t study well. This is not a case of miracle, you don&#8217;t study, you won&#8217;t pass!</p>
<p>Surprisingly, I&#8217;ve got better score than my previous attempt. Thank God! I thought I&#8217;m not making a significant progress but the score tells me otherwise. No, it&#8217;s still quite far from the 80% marking but at least knowing that I&#8217;m actually making progress does help build my confident.</p>
<p>Now I have another 12 months before my third attempt. Whether it would be August or December this year, I have to make sure that I can invest sufficient time for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidsudjiman.info/2012/04/27/ccie-rs-lab-exam-failed-for-the-second-time/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cisco 3560 MLS QOS – Part 3 &#8211; Final</title>
		<link>http://www.davidsudjiman.info/2012/02/22/cisco-3560-mls-qos-part-3-final/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cisco-3560-mls-qos-part-3-final</link>
		<comments>http://www.davidsudjiman.info/2012/02/22/cisco-3560-mls-qos-part-3-final/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 11:40:36 +0000</pubDate>
		<dc:creator>David Sudjiman</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.davidsudjiman.info/?p=838</guid>
		<description><![CDATA[This is the third part of Cisco 3560 MLS QOS. Previously I&#8217;ve discussed about Classification and Marking and Ingress Queuing. Egress Queuing Now, it has come to the part where packets are ready to be sent out. The idea is &#8230; <a href="http://www.davidsudjiman.info/2012/02/22/cisco-3560-mls-qos-part-3-final/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is the third part of Cisco 3560 MLS QOS. Previously I&#8217;ve discussed about <a href="http://www.davidsudjiman.info/2012/02/14/cisco-3560-mls-qos-part-1/">Classification and Marking</a> and <a href="http://www.davidsudjiman.info/2012/02/19/cisco-3560-mls-qos-part-2/">Ingress Queuing</a>.</p>
<p><strong>Egress Queuing</strong></p>
<p>Now, it has come to the part where packets are ready to be sent out. The idea is quite similar with Ingress Queuing but Egress has 4 Queues instead of only 2 for Ingress. Unlike Ingress Queues, Egress Queues has two sets of Queue configuration templates. It is called Queue-set 1 and Queue-set 2. This can be handy if you require to have two different settings for access ports and trunk ports. You will be able to configure Queue-set 1 with particular setup and have another different setup for Queue-set 2.<br />
<span id="more-838"></span></p>
<pre>
mls qos queue-set output 1 threshold 1 138 138 92 138
mls qos queue-set output 1 threshold 2 138 138 92 400
mls qos queue-set output 1 threshold 3 36 77 100 318
mls qos queue-set output 1 threshold 4 20 50 67 400
mls qos queue-set output 2 threshold 1 149 149 100 149
mls qos queue-set output 2 threshold 2 118 118 100 235
mls qos queue-set output 2 threshold 3 41 68 100 272
mls qos queue-set output 2 threshold 4 42 72 100 242
mls qos queue-set output 1 buffers 10 10 26 54
mls qos queue-set output 2 buffers 16 6 17 61

SW-3560#sh mls qos queue-set
Queueset: 1
Queue     :       1       2       3       4
----------------------------------------------
buffers   :      10      10      26      54
threshold1:     138     138      36      20
threshold2:     138     138      77      50
reserved  :      92      92     100      67
maximum   :     138     400     318     400
Queueset: 2
Queue     :       1       2       3       4
----------------------------------------------
buffers   :      16       6      17      61
threshold1:     149     118      41      42
threshold2:     149     118      68      72
reserved  :     100     100     100     100
maximum   :     149     235     272     242
</pre>
<p>Let&#8217;s take the example of Queue-set 1. Each Queue has been allocated as much as 10:10:26:54 for Q1, Q2, Q3, and Q4 respectively. Reserved is the maximum amount of the buffers can be used. So, Q4 has been allocated to be able to use 54% but limited to the 67% of the 54%, which is 54*.67=36.18%. But, this is just a reserved value for Q4, which can actually grow up to 400% provided there is enough memory available to borrow. </p>
<p>For T1 and T2, these are the threshold when the packets will start to get dropped (WTD), whichever configured. A little note for WTD here, it would be better to start dropping packets based on its Weighted value when the Queue reaches its threshold rather than waiting for the Queue to reach its maximum limit and dropping any packets, including high priority packets, trying to enter the Queue.</p>
<p>You can choose to use either Queue-set in the interface level using command <code>queue-set &lt;queue_number&gt;</code></p>
<pre>
SW-3560(config)#int f0/1
SW-3560(config-if)#queue-set 2
SW-3560(config-if)#^Z
SW-3560#sh mls qos interface f0/1 Queuing
FastEthernet0/1
Egress Priority Queue : enabled
Shaped queue weights (absolute) :  10 0 0 0
Shared queue weights  :  1 10 60 20
The port bandwidth limit : 100  (Operational Bandwidth:100.0)
<strong>The port is mapped to qset : 2</strong>
</pre>
<p>From the above result, we can see that on port Fa0/1, the bandwidth is shared 10:60:20 for Q2, Q3, and Q4 respectively. You probably will think that Q1 is shaped to 10 and prioritized. No, Q1 can either be prioritized or shaped. If Q1 is prioritized, then the shaped 10 is irrelevant. We might as well to clean the config by making the shape to <code>0 0 0 0</code>. This also means that once the Q1 is prioritized, there is no limit on how much Q1 can use up the bandwidth and might starve other traffic.</p>
<p>You can use the command below to set the SRR and the priority queue.</p>
<pre>
SW-3560(config)#int f0/1
SW-3560(config-if)#srr-queue bandwidth share 1 10 60 20
SW-3560(config-if)#srr-queue bandwidth shape 10 0 0 0
SW-3560(config-if)#priority-queue out
SW-3560(config-if)#do sh mls qos int f0/1 queue
FastEthernet0/1
Egress Priority Queue : enabled
Shaped queue weights (absolute) :  10 0 0 0
Shared queue weights  :  1 10 60 20
The port bandwidth limit : 100  (Operational Bandwidth:100.0)
The port is mapped to qset : 2 

SW-3560(config-if)#srr-queue bandwidth shape <strong>0</strong> 0 0 0
SW-3560(config-if)#do sh mls qos int f0/1 queue
FastEthernet0/1
Egress Priority Queue : enabled
Shaped queue weights (absolute) :  <strong>0</strong> 0 0 0
Shared queue weights  :  1 10 60 20
The port bandwidth limit : 100  (Operational Bandwidth:100.0)
The port is mapped to qset : 2
</pre>
<p>Egress Queues also have <code>cos-output-q</code> and <code>dscp-output-q</code> for L2 and L3 queue mapping, respectively. </p>
<pre>
mls qos srr-queue output cos-map queue 1 threshold 3 5
mls qos srr-queue output cos-map queue 2 threshold 3 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 2 4
mls qos srr-queue output cos-map queue 4 threshold 2 1
mls qos srr-queue output cos-map queue 4 threshold 3 0
mls qos srr-queue output dscp-map queue 1 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 3 threshold 3 32 33 34 35 36 37 38 39
mls qos srr-queue output dscp-map queue 4 threshold 1 8
mls qos srr-queue output dscp-map queue 4 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue output dscp-map queue 4 threshold 3 0 1 2 3 4 5 6 7

SW-3560#sh mls qos maps cos-output-q
   Cos-outputq-threshold map:
              cos:  0   1   2   3   4   5   6   7
              ------------------------------------
  queue-threshold: 4-3 4-2 3-3 2-3 3-3 1-3 2-3 2-3 

SW-3560#sh mls qos maps dscp-output-q
   Dscp-outputq-threshold map:
     d1 :d2    0     1     2     3     4     5     6     7     8     9
     ------------------------------------------------------------
      0 :    04-03 04-03 04-03 04-03 04-03 04-03 04-03 04-03 04-01 04-02
      1 :    04-02 04-02 04-02 04-02 04-02 04-02 03-03 03-03 03-03 03-03
      2 :    03-03 03-03 03-03 03-03 02-03 02-03 02-03 02-03 02-03 02-03
      3 :    02-03 02-03 03-03 03-03 03-03 03-03 03-03 03-03 03-03 03-03
      4 :    01-03 01-03 01-03 01-03 01-03 01-03 01-03 01-03 02-03 02-03
      5 :    02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-03
      6 :    02-03 02-03 02-03 02-03
</pre>
<p>For the Shared and Shaped Round-Robin, we have the option to share the bandwidth and limit (shape) it. <code>srr-queue bandwidth share 10 10 60 20</code> will share the bandwidth evenly as much as 10:10:60:20 for Q1, Q2, Q3, and Q4, respectively. If either of the Queues not utilizing the shared bandwidth, other Queue can borrow the bandwidth above it&#8217;s minimum limit.</p>
<p>For the <code>srr-queue bandwidth shaped 15 0 0 0</code> will limit the maximum bandwidth of Q1 up to 15 portion (no, this is not a percentage) from the shared X 10 60 20. When we put command <code>srr-queue bandwidth shaped 15 0 0 0</code> this will render the first value of <code>srr-queue bandwidth share X 10 60 20</code> useless. It is a good habit to put a minimum value to it to avoid confusion as shown below.</p>
<pre>
 srr-queue bandwidth share 1 10 60 20
 srr-queue bandwidth shape 10 0 0 0
</pre>
<p>We can also prioritize the Q1 using command <code>priority-queue out</code>. This command will also render value of Q1 in Share/Shaped value useless. It is also recommended to put the minimum value for Q1 on Share/Shape as shown below.</p>
<pre>
 srr-queue bandwidth share 1 10 60 20
 srr-queue bandwidth shape 0 0 0 0
 priority-queue out
</pre>
<p>That&#8217;s it from me!</p>
<p>I encourage you to visit this <a href="http://blog.ipexpert.com/?s=campus+qos+vik+malhi">articles</a>. This is where I&#8217;ve got so much understanding of it. <a href="http://www.ipexpert.com/Company/Team">Vikram Malhi</a> explained this MLS QOS in a very easy way to understand.</p>
<p>Related Links<br />
<a href="http://www.davidsudjiman.info/2012/02/14/cisco-3560-mls-qos-part-1/">Cisco 3560 MLS QOS &#8211; Part 1</a><br />
<a href="http://www.davidsudjiman.info/2012/02/19/cisco-3560-mls-qos-part-2/">Cisco 3560 MLS QOS &#8211; Part 2</a><br />
<a href="http://www.davidsudjiman.info/2012/02/22/cisco-3560-mls-qos-part-3-final/">Cisco 3560 MLS QOS &#8211; Part 3 &#8211; Final</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidsudjiman.info/2012/02/22/cisco-3560-mls-qos-part-3-final/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cisco 3560 MLS QOS – Part 2</title>
		<link>http://www.davidsudjiman.info/2012/02/19/cisco-3560-mls-qos-part-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cisco-3560-mls-qos-part-2</link>
		<comments>http://www.davidsudjiman.info/2012/02/19/cisco-3560-mls-qos-part-2/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 18:17:16 +0000</pubDate>
		<dc:creator>David Sudjiman</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.davidsudjiman.info/?p=816</guid>
		<description><![CDATA[This is the second part of Cisco 3560 MLS QOS. Previously I&#8217;ve discused about Classification and Marking which can be found here. For this second part, I&#8217;ll try to explain about the Ingress Queueing mechanism and how can we modify &#8230; <a href="http://www.davidsudjiman.info/2012/02/19/cisco-3560-mls-qos-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is the second part of Cisco 3560 MLS QOS. Previously I&#8217;ve discused about Classification and Marking which can be found <a href="http://www.davidsudjiman.info/2012/02/14/cisco-3560-mls-qos-part-1/">here</a>.</p>
<p>For this second part, I&#8217;ll try to explain about the Ingress Queueing mechanism and how can we modify this to prioritize traffic.<br />
<span id="more-816"></span><br />
<strong>Ingress Queueing.</strong></p>
<p>Once the traffic being marked and classified, packets go into Queues. There are <code>cos-input-q</code> for L2-based marking queue and <code>dscp-input-q</code> for L3-based marking queue as shown below.</p>
<pre>
SW-3560# sh mls qos maps cos-input-q
   Cos-inputq-threshold map:
              cos:  0   1   2   3   4   5   6   7
              ------------------------------------
  queue-threshold: 1-3 1-2 2-1 2-3 2-2 2-3 2-2 2-2
</pre>
<p>To change the <code>cos-input-q</code> map use command <code>mls qos srr-queue input cos-map queue &lt;Queue_Number&gt; threshold &lt;Threshold_Number&gt; &lt;COS_value&gt;</code>. Look at the example below.</p>
<pre>
! put COS 1 to Q1T2
mls qos srr-queue input cos-map queue 1 threshold 2 1

! put COS 0 to Q1T3
mls qos srr-queue input cos-map queue 1 threshold 3 0

! put COS 2 to Q2T1
mls qos srr-queue input cos-map queue 2 threshold 1 2

! put COS 4, 6, and 7 to Q2T2
mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7

! put COS 3 and 5 to Q2T3
mls qos srr-queue input cos-map queue 2 threshold 3 3 5

SW-3560# sh mls qos maps cos-input-q
   Cos-inputq-threshold map:
              cos:  0   1   2   3   4   5   6   7
              ------------------------------------
  queue-threshold: 1-3 1-2 2-1 2-3 2-2 2-3 2-2 2-2
</pre>
<pre>
SW-3560#sh mls qos maps dscp-input-q
   Dscp-inputq-threshold map:
     d1 :d2    0     1     2     3     4     5     6     7     8     9
     ------------------------------------------------------------
      0 :    01-03 01-03 01-03 01-03 01-03 01-03 01-03 01-03 01-01 01-02
      1 :    01-02 01-02 01-02 01-02 01-02 01-02 02-01 02-01 02-01 02-01
      2 :    02-01 02-01 02-01 02-01 02-03 02-03 02-03 02-03 02-03 02-03
      3 :    02-03 02-03 01-03 02-02 02-02 02-02 02-02 02-02 02-02 02-02
      4 :    02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-02 02-02
      5 :    02-02 02-02 02-02 02-02 02-02 02-02 02-02 02-02 02-02 02-02
      6 :    02-02 02-02 02-02 02-02
</pre>
<p>To Change the <code>dscp-input-q</code> use command <code>mls qos srr-queue input dscp-map queue &lt;Queue_Number&gt; threshold &lt;Threshold_Number&gt; &lt;DSCP_DECIMAL_value&gt;</code>. Look at the example below.</p>
<pre>
! put DSCP decimal 32 to Q2T3
mls qos srr-queue input dscp-map queue 1 threshold 3 32

! put DSCP decimal 16, 17, 18, 19, 20, 21, 22, and 23 to Q2T1
mls qos srr-queue input dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23

SW-3560#sh mls qos maps dscp-input-q
   Dscp-inputq-threshold map:
     d1 :d2    0     1     2     3     4     5     6     7     8     9
     ------------------------------------------------------------
      0 :    01-03 01-03 01-03 01-03 01-03 01-03 01-03 01-03 01-01 01-02
      1 :    01-02 01-02 01-02 01-02 01-02 01-02 02-01 02-01 02-01 02-01
      2 :    02-01 02-01 02-01 02-01 02-03 02-03 02-03 02-03 02-03 02-03
      3 :    02-03 02-03 01-03 02-02 02-02 02-02 02-02 02-02 02-02 02-02
      4 :    02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-03 02-02 02-02
      5 :    02-02 02-02 02-02 02-02 02-02 02-02 02-02 02-02 02-02 02-02
      6 :    02-02 02-02 02-02 02-02
</pre>
<p>Now let see what are those Q1 and Q2 are.</p>
<pre>
SW-3560#sh mls qos input-queue
Queue     :       1       2
----------------------------------------------
buffers   :      67      33
bandwidth :      90      10
priority  :       0      10
threshold1:       8      34
threshold2:      16      66
</pre>
<p>From the above input-queue details, Q1T2 means that the Queue 1 can hold as much as Threshold 2 (which is 16 in this case) of Queue 1 Buffers 67. Once it reaches more than Threshold 16% of 67 Buffers, packets will be dropped. Buffers are the percentage value for each Queue.</p>
<p>For Q1T1, it will starts dropping packets once it reaches 8% of 67 Buffers.</p>
<p>So, what is the Threshold value For Q2T3? Threshold 3 will have 100% as default. Any Q uses T3 means that the packets will never get droppped. This makes sense why putting the DSCP EF packets or any other delay sensitive packets here.</p>
<p>Next is the Bandwidth parameters. This is the composition of how much of Q1 and Q2 can be transfered to the internal ring for the next process. Packets will be alternately taken from Q1 and Q2 and 90:10 described the weight composition for each Queue (not a percentage). This means the same with 18:2 or 9:1. For example, both Queue 1 and Queue 2 can take 1000 packets each, 900 will be transfered to the internal ring and 100 will be transfered to the internal ring. If Q1 is not fully occupied (e.g not using the 90 portion of it), the Q2 can transfer more than 10 portion from Q2.</p>
<p>The Priority however, will change the amount of packets taken from Q1 and Q2. Q2 (int this scenario) will be prioritized until it reaches maximum packets (100). Then the rest 900 will be shared between Q1 and Q2 for 810:90 as per 90:10 ratio.</p>
<p>Below are the example if you want to modify the <code>input-queue</code>.</p>
<pre>
mls qos srr-queue input buffers 67 33
mls qos srr-queue input bandwidth 90 10
! NOTE.
! - max PQ BW is 40.
! - We can use Q2 or Q2 as PQ.
mls qos srr-queue input priority-queue 2 bandwidth 10
mls qos srr-queue input threshold 1 8 16
mls qos srr-queue input threshold 2 34 66

SW-3560#sh mls qos input-queue
Queue     :       1       2
----------------------------------------------
buffers   :      67      33
bandwidth :      90      10
priority  :       0      10
threshold1:       8      34
threshold2:      16      66
</pre>
<p>Related Links<br />
<a href="http://www.davidsudjiman.info/2012/02/14/cisco-3560-mls-qos-part-1/">Cisco 3560 MLS QOS &#8211; Part 1</a><br />
<a href="http://www.davidsudjiman.info/2012/02/19/cisco-3560-mls-qos-part-2/">Cisco 3560 MLS QOS &#8211; Part 2</a><br />
<a href="http://www.davidsudjiman.info/2012/02/22/cisco-3560-mls-qos-part-3-final/">Cisco 3560 MLS QOS &#8211; Part 3 &#8211; Final</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidsudjiman.info/2012/02/19/cisco-3560-mls-qos-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco 3560 MLS QOS &#8211; Part 1</title>
		<link>http://www.davidsudjiman.info/2012/02/14/cisco-3560-mls-qos-part-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cisco-3560-mls-qos-part-1</link>
		<comments>http://www.davidsudjiman.info/2012/02/14/cisco-3560-mls-qos-part-1/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 13:27:46 +0000</pubDate>
		<dc:creator>David Sudjiman</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.davidsudjiman.info/?p=798</guid>
		<description><![CDATA[MLS QOS has been one of the greatest fear for my CCIE RS exam. I&#8217;ve read it several times, labbed it more than 3 times, but still I just cannot understand it. Then I decided to write my own notes &#8230; <a href="http://www.davidsudjiman.info/2012/02/14/cisco-3560-mls-qos-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>MLS QOS has been one of the greatest fear for my CCIE RS exam. I&#8217;ve read it several times, labbed it more than 3 times, but still I just cannot understand it. Then I decided to write my own notes to teach myself and hopefully any of you mere mortals like me.</p>
<p>I&#8217;ll start with this Classification and Marking and let see how deep the rabbit hole goes for the next few parts.</p>
<p>Enjoy!<br />
<span id="more-798"></span><br />
<strong>Classification and Marking.</strong></p>
<p>Let&#8217;s just say that you have a switchport Fa0/1 configured for Vlan 100 and want to mark it as DSCP CS1 (Decimal 8).</p>
<pre>SW-3560(config)#mls qos
SW-3560(config)#int f0/1
SW-3560(config-if)#switchport access vlan 100
SW-3560(config-if)#mls qos ?
  cos            cos keyword
  dscp-mutation  dscp-mutation keyword
  trust          trust keyword
  vlan-based     vlan-based keyword</pre>
<p>We only left with COS option and no DSCP option available. COS field can only be found in 802.1q/ISL traffic which is the traffic on the trunk interface, and switchport access is not a trunk interface. In this case, we can use the COS option and then the switch will use the COS-DSCP mapping table to mark the packet as DSCP CS1 (Decimal 8).</p>
<pre>SW-3560# sh mls qos maps cos-dscp
   Cos-dscp map:
        cos:   0  1  2  3  4  5  6  7
     --------------------------------
       dscp:   0  8 16 24 32 40 48 56</pre>
<p>We can actually change this mapping. For example, for most implementation we would like to set COS 5 = DSCP EF (Decimal 46). This is to keep the uniformity from end-to-end that DSCP EF (mostly for VOICE RTP) is mapped to COS 5.</p>
<pre>SW-3560(config)#mls qos map cos-dscp 0 8 16 24 32 46 48 56
SW-3560(config)#mls qos map cos-dscp 0 8 16 24 32 46 48 56
SW-3560(config)#do sh mls qos map cos-dscp
   Cos-dscp map:
        cos:   0  1  2  3  4  5  6  7
     --------------------------------
       dscp:   0  8 16 24 32 46 48 56</pre>
<p>Based on the COS-DSCP map, to mark the packet to DSCP CS1 (Decimal 8), we can use <code>mls qos cos 1</code>.</p>
<pre>SW-3560(config)#mls qos
SW-3560(config)#int f0/1
SW-3560(config-if)#switchport access vlan 100
SW-3560(config-if)#mls qos cos 1
!
SW-3560#sh mls qos int f0/1
FastEthernet0/1
trust state: not trusted
trust mode: not trusted
trust enabled flag: ena
COS override: dis
<strong>default COS: 1</strong>
DSCP Mutation Map: Default DSCP Mutation Map
Trust device: none
qos mode: port-based</pre>
<p>we can combine the <code>mls qos cos 1</code> with several commands below.</p>
<p>If the host is capable of marking the packets entering the switchport Fa0/1, we can also honour its value by trusting its DSCP or IP-PRECEDENCE or COS marking.</p>
<p>For IP packets, we can use <code>mls qos trust dscp</code> or <code>mls qos trust ip-precedence</code>. If the packets are NON-IP but we are trusting IP packets (via DSCP or IP-PRECEDENCE), then the switch will have no choice but to check other than DSCP or IP-PRECEDENCE. It will check the COS marking, which again, only available on trunk port. If there is no COS field available or if it is not an 802.1q/ISL, the packets will be marked with whatever the value in <code>mls qos cos</code> command, look at the COS-DSCP table, then mark it with the appropriate DSCP value. In this case DSCP CS1 (Decimal 8).</p>
<pre>SW-3560#sh mls qos int f0/1
FastEthernet0/1
<strong>trust state: trust dscp</strong>
<strong>trust mode: trust dscp</strong>
trust enabled flag: ena
COS override: dis
<strong>default COS: 1</strong>
DSCP Mutation Map: Default DSCP Mutation Map
Trust device: none
qos mode: port-based</pre>
<p>On the other hand, <code>mls qos trust cos</code> will works for both IP and NON-IP packets marking. If there is a COS value in it, int this case has to be an 802.1q/ISL, it will uses that COS value. If there is no COS value, it will use the <code>mls qos cos 1</code> despite whatever DSCP/IP-PRECEDENCE value it already has. The switch will rewrite this DSCP/IP-PRECEDENCE based on the new COS value (COS 1).</p>
<pre>SW-3560#sh mls qos int f0/1
FastEthernet0/1
<strong>trust state: trust cos</strong>
<strong>trust mode: trust cos</strong>
trust enabled flag: ena
COS override: dis
<strong>default COS: 1</strong>
DSCP Mutation Map: Default DSCP Mutation Map
Trust device: none
qos mode: port-based</pre>
<p>If we just want to override the existing COS or DCSCP/IP-PRECEDENCE value we can use <code>mls qos cos override</code>. This will override any COS value and deduce the DSCP value based on the COS-DSCP mapping table.</p>
<pre>SW-3560#sh mls qos int f0/1
FastEthernet0/1
trust state: cos override
trust mode: cos override
trust enabled flag: ena
COS override: ena
default COS: 1
DSCP Mutation Map: Default DSCP Mutation Map
Trust device: none
qos mode: port-based</pre>
<p>Besides having <code>mls qos cos</code> command, we can use the MQC framework to perform the marking. This can be done as below</p>
<pre>policy-map PM_QOS_MARKING
 class class-default
  set dscp cs1

int f0/1
 switchport access vlan 100
 service-policy in PM_QOS_MARKING

SW-3560#sh mls qos int f0/1
FastEthernet0/1
<strong>Attached policy-map for Ingress: PM_QOS_MARKING</strong>
trust state: not trusted
trust mode: not trusted
trust enabled flag: ena
COS override: dis
<strong>default COS: 1</strong>
DSCP Mutation Map: Default DSCP Mutation Map
Trust device: none
qos mode: port-based</pre>
<p>As shown above, we can use the MQC to mark any packet to DSCP CS1. Using this scenario we cannot use it to mark it as COS 1. Instead we can use DSCP CS1 and use DSCP-COS mapping table</p>
<pre>SW-3560#sh mls qos maps dscp-cos
   Dscp-cos map:
     d1 :  d2 0  1  2  3  4  5  6  7  8  9
     ---------------------------------------
      0 :    00 00 00 00 00 00 00 00 <strong>01</strong> 01
      1 :    01 01 01 01 01 01 02 02 02 02
      2 :    02 02 02 02 03 03 03 03 03 03
      3 :    03 03 04 04 04 04 04 04 04 04
      4 :    05 05 05 05 05 05 05 05 06 06
      5 :    06 06 06 06 06 06 07 07 07 07
      6 :    07 07 07 07</pre>
<p>In this DSCP-COS map, we can see that DSCP CS1, read as decimal 08, has COS 1 mapped to it. Therefore, if the packet has 802.1q/ISL header, then the switch will rewrite it to COS 1.</p>
<p>We can alter this map like we alter cos-dscp map, but now we actually alter the dscp-cos map. Please note that changing cos-dscp map doesn&#8217;t automatically change dscp-cos map. These two maps are not linked to each other and keep its own mapping</p>
<p>the DSCP-COS map above shows that DSCP EF (Decimal 46) has COS value of 5. We can change this value using the command below</p>
<pre>SW-3560(config)#mls qos map dscp-cos  46 to 4
SW-3560(config)#do sh mls qos map dscp-cos
   Dscp-cos map:
     d1 :  d2 0  1  2  3  4  5  6  7  8  9
     ---------------------------------------
      0 :    00 00 00 00 00 00 00 00 01 01
      1 :    01 01 01 01 01 01 02 02 02 02
      2 :    02 02 02 02 03 03 03 03 03 03
      3 :    03 03 04 04 04 04 04 04 04 04
      4 :    05 05 05 05 05 05 <strong>04</strong>05 06 06
      5 :    06 06 06 06 06 06 07 07 07 07
      6 :    07 07 07 07</pre>
<p>Let see another example below:</p>
<pre>int f0/1
 switchport access vlan 100
 switchport voice vlan 200
 mls qos trust device cisco-phone

SW-3560#sh mls qos int f0/37
FastEthernet0/37
trust state: not trusted
trust mode: not trusted
<strong>trust enabled flag: ena</strong>
COS override: dis
<strong>default COS: 0</strong>
DSCP Mutation Map: Default DSCP Mutation Map
<strong>Trust device: cisco-phone</strong>
qos mode: port-based</pre>
<p>The command <code>mls qos trust device cisco-phone</code> will trust the marking if the port can sense a Cisco-phone via CDPv2 or LLDP-Med. The port itself turns into a pseudo-trunk which caries 802.1q header and contains COS value. Again, this can also alter the DSCP value based on COS-DSCP mapping table. However, the switch will not trust the PC on the vlan 100 thus will rewrite it to COS 0 based on the switchport default COS value.</p>
<p>This also means that once you enable the <code>mls qos</code> globally, the switchport will rewrite any packets to COS 0 or DSCP default (decimal 0). If you want, you can change this default COS 0 value to <code>mls qos cos 2</code> to mark the traffic that are not from known Cisco-phone</p>
<p><strong>MQC</strong></p>
<p>We can actually use MQC inline with the <code>mls qos</code>. This is when you need to differentiate several different traffic on vlan 100 and mark those traffic differently.</p>
<pre>ip access-list ext ACL_HTTP
 permit tcp any any eq www
ip access-list ext ACL_TELNET
 permit  tcp any any eq telnet

class-map CM_HTTP
 match access-group name ACL_HTTP
class-map CM_TELNET
 match access-group name ACL_TELNET

policy-map PM_QOS_MARKING
 class CM_HTTP
  set dscp cs1
 class CM_TELNET
  set dscp af41
 class class-default
  set dscp cs1

int f0/1
 switchport access vlan 100
 switchport voice vlan 200
 mls qos trust device cisco-phone
 service-policy input PM_QOS_MARKING</pre>
<p>The above combination will trust the DSCP marking from the Cisco-phone and mark any HTTP packets on vlan 100 as CS1, TELNET as CS3, and the rest will be marked as DSCP cs1. Note that any other packet will not be marked as CS 0 as per the default COS value, this is because the matched class-default inside PM_QOS_MARKING is acting as a catch all. Unless there is no class-default inside the PM_QOS_MARKING, CS 0 will be used.</p>
<p>Also remember on the early paragraph I&#8217;ve showed that we cannot use <code>mls qos dscp</code> command, the only available marking is <code>mls qos cos</code></p>
<p>The moral of this DSCP/IP-PRECEDENCE/COS confusion is basically quite simple. It doesn&#8217;t really matter what marking you&#8217;re trusting, as long as you have the map correctly adjusted then the switch can use both L2 and L3 marking.</p>
<p>Of course, it will make more sense if you trust COS on trunk ports and DSCP/IP-Prec on non-trunk port for efficiency, but again it doesn&#8217;t really matter as long as you have the mapping correctly adjusted.</p>
<p>Another example, you can trust DSCP (instead of COS) on your ingress trunk L2 switch from the dot1q WAN router interface. The reason for this is just merely because packet from the WAN doesn&#8217;t have any COS value in it.</p>
<p>This is it so far for Marking and Classification.</p>
<p>Related Links<br />
<a href="http://www.davidsudjiman.info/2012/02/14/cisco-3560-mls-qos-part-1/">Cisco 3560 MLS QOS &#8211; Part 1</a><br />
<a href="http://www.davidsudjiman.info/2012/02/19/cisco-3560-mls-qos-part-2/">Cisco 3560 MLS QOS &#8211; Part 2</a><br />
<a href="http://www.davidsudjiman.info/2012/02/22/cisco-3560-mls-qos-part-3-final/">Cisco 3560 MLS QOS &#8211; Part 3 &#8211; Final</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidsudjiman.info/2012/02/14/cisco-3560-mls-qos-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NAT with route-maps for two different destinations</title>
		<link>http://www.davidsudjiman.info/2012/02/08/nat-with-route-maps-for-two-different-destinations/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=nat-with-route-maps-for-two-different-destinations</link>
		<comments>http://www.davidsudjiman.info/2012/02/08/nat-with-route-maps-for-two-different-destinations/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 11:58:27 +0000</pubDate>
		<dc:creator>David Sudjiman</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.davidsudjiman.info/?p=781</guid>
		<description><![CDATA[Just say that we have these three sites connected to the main hub R1. R1 &#8211; R2 is running EIGRP 12 and R1 &#8211; R3 is running EIGRP 13. R1 &#8211; R4 runs no routing protocol and R4 uses default &#8230; <a href="http://www.davidsudjiman.info/2012/02/08/nat-with-route-maps-for-two-different-destinations/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just say that we have these three sites connected to the main hub R1. R1 &#8211; R2 is running EIGRP 12 and R1 &#8211; R3 is running EIGRP 13. R1 &#8211; R4 runs no routing protocol and R4 uses default route pointing to R1 Fa2/0 interface 14.14.14.1.</p>
<p><img src="https://lh5.googleusercontent.com/-p5XqUJBFtKU/TzJhLeF9dXI/AAAAAAAAAcE/Z4jfT-rWI7g/s800/nat.jpg" /></p>
<p>Initial configuration below</p>
<p><span id="more-781"></span></p>
<pre>
hostname R2
!
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface Loopback1
 ip address 22.22.22.22 255.255.255.255
!
interface FastEthernet0/0
 ip address 12.12.12.2 255.255.255.0
!
router eigrp 12
 network 0.0.0.0
 no auto-summary
</pre>
<pre>
hostname R3
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface Loopback1
 ip address 33.33.33.33 255.255.255.255
!
interface FastEthernet0/0
 ip address 13.13.13.3 255.255.255.0
!
router eigrp 13
 network 0.0.0.0
 no auto-summary
</pre>
<pre>
hostname R1
!
interface FastEthernet0/0
 ip address 12.12.12.1 255.255.255.0
!
interface FastEthernet1/0
 ip address 13.13.13.1 255.255.255.0
!
interface FastEthernet2/0
 ip address 14.14.14.1 255.255.255.0
!
router eigrp 12
 network 12.12.12.1 0.0.0.0
 auto-summary
!
router eigrp 13
 network 13.13.13.1 0.0.0.0
 no auto-summary
</pre>
<pre>
hostname R4
!
interface FastEthernet0/0
 ip address 14.14.14.4 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 14.14.14.1
</pre>
<p>At this stage, SITE_A doesn&#8217;t know network 14.14.14.0/24 and SITE_B doesn&#8217;t know network 14.14.14.0/24 either. R4 won&#8217;t have reachability to SITE_A nor SITE_B.</p>
<p>Let introduce NAT on R1 by NAT-ing 14.14.14.0/24 to R1 f0/0 &#8211; 12.12.12.1.</p>
<pre>
ip access-list st ACL_14.14.14.0/24
 permit 14.14.14.0 0.0.0.255
!
ip nat inside source list ACL_14.14.14.0/24 interface f0/0 overload
</pre>
<p>This will give R4 reachbility to SITE_A.</p>
<pre>
R4#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 56/67/104 ms
</pre>
<pre>
R1#sh ip nat translations
Pro Inside global      Inside local       Outside local      Outside global
icmp 12.12.12.1:5      14.14.14.4:5       2.2.2.2:5          2.2.2.2:5
</pre>
<p>Inside local address 14.14.14.0/24 being translated to 12.12.12.1 to reach 2.2.2.2. Since SITE_A has the routing information for 12.12.12.0/24, SITE_A is now able to send return traffic to 14.14.14.0/24.</p>
<p>What about SITE_B, can we do the same to R1 Fa1/0 like what we did to R1 Fa0/0?</p>
<p>In order to be able to NAT both Fa0/0 and Fa1/0, we cannot use standar ACL anymore. This can only be done via <code>route-map</code> and extended ACL.</p>
<pre>
ip access-list extended ACL_FROM_14.14.14.0/24_TO_SITE_A
 permit ip 14.14.14.0 0.0.0.255 host 2.2.2.2
 permit ip 14.14.14.0 0.0.0.255 host 22.22.22.22
 permit ip 14.14.14.0 0.0.0.255 12.12.12.0 0.0.0.255
!
ip access-list extended ACL_FROM_14.14.14.0/24_TO_SITE_B
 permit ip 14.14.14.0 0.0.0.255 host 3.3.3.3
 permit ip 14.14.14.0 0.0.0.255 host 33.33.33.33
 permit ip 14.14.14.0 0.0.0.255 13.13.13.0 0.0.0.255
!
no route-map RM_FROM_14.14.14.0/24_TO_SITE_A permit 10
route-map RM_FROM_14.14.14.0/24_TO_SITE_A permit 10
 match ip address ACL_FROM_14.14.14.0/24_TO_SITE_A
!
no route-map RM_FROM_14.14.14.0/24_TO_SITE_B permit 10
route-map RM_FROM_14.14.14.0/24_TO_SITE_B permit 10
 match ip address ACL_FROM_14.14.14.0/24_TO_SITE_B
!
ip nat inside source route-map RM_FROM_14.14.14.0/24_TO_SITE_A interface FastEthernet0/0 overload
ip nat inside source route-map RM_FROM_14.14.14.0/24_TO_SITE_B interface FastEthernet1/0 overload
!
int f0/0
 ip nat outside
int f1/0
 ip nat outside
int f2/0
 ip nat inside
</pre>
<pre>
R4#ping 2.2.2.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/69/80 ms
R4#ping 3.3.3.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/68/92 ms
</pre>
<pre>
R1#sh ip nat translations
Pro Inside global      Inside local       Outside local      Outside global
icmp 12.12.12.1:25     14.14.14.4:25      2.2.2.2:25         2.2.2.2:25
icmp 13.13.13.1:26     14.14.14.4:26      3.3.3.3:26         3.3.3.3:26
</pre>
<p>I&#8217;ve actually tried the combination of using two different route-maps with the same 1 standard ACL or the same 1 extended ACL. This just doesn&#8217;t work. The reason being is that the translation will need two distinct ACLs to differentiate between one translation exit point to another.</p>
<pre>
R1#sh ip nat tran verbose
Pro Inside global      Inside local       Outside local      Outside global
icmp 12.12.12.1:31     14.14.14.4:31      3.3.3.3:31         3.3.3.3:31
    create 00:00:07, use 00:00:07 timeout:60000, left 00:00:52, <strong>Map-Id(In): 16,</strong>
    flags:
extended, use_count: 0, entry-id: 22, lc_entries: 0, Entry type : 0
icmp 12.12.12.1:32     14.14.14.4:32      2.2.2.2:32         2.2.2.2:32
    create 00:00:04, use 00:00:04 timeout:60000, left 00:00:55, <strong>Map-Id(In): 16,</strong>
    flags:
extended, use_count: 0, entry-id: 23, lc_entries: 0, Entry type : 0
</pre>
<p>For each NAT configuration statement <code>ip nat inside source route-map RM_FROM_14.14.14.0/24_TO_SITE_A interface FastEthernet0/0 overload</code> or <code>ip nat inside source route-map RM_FROM_14.14.14.0/24_TO_SITE_B interface FastEthernet1/0 overload</code> the NAT will generate a Map-Id. Having the same Map-Id for both exit points will only confuses the mapping.</p>
<p>The entry below, however, created when we use two route-maps with two different ACLs. It shows different Map-Id for each exit points.</p>
<pre>
R1#sh ip nat translations ver
Pro Inside global      Inside local       Outside local      Outside global
icmp 12.12.12.1:38     14.14.14.4:38      22.22.22.22:38     22.22.22.22:38
    create 00:00:17, use 00:00:17 timeout:60000, left 00:00:42, Map-Id(In): 16,
    flags:
extended, use_count: 0, entry-id: 28, lc_entries: 0
icmp 12.12.12.1:39     14.14.14.4:39      2.2.2.2:39         2.2.2.2:39
    create 00:00:14, use 00:00:14 timeout:60000, left 00:00:45, Map-Id(In): 16,
    flags:
extended, use_count: 0, entry-id: 29, lc_entries: 0
icmp 13.13.13.1:40     14.14.14.4:40      3.3.3.3:40         3.3.3.3:40
    create 00:00:11, use 00:00:11 timeout:60000, left 00:00:48, Map-Id(In): 17,
    flags:
extended, use_count: 0, entry-id: 30, lc_entries: 0
icmp 13.13.13.1:41     14.14.14.4:41      33.33.33.33:41     33.33.33.33:41
    create 00:00:07, use 00:00:07 timeout:60000, left 00:00:52, Map-Id(In): 17,
    flags:
extended, use_count: 0, entry-id: 31, lc_entries: 0
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.davidsudjiman.info/2012/02/08/nat-with-route-maps-for-two-different-destinations/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OSPF Stuck in EXSTART/EXCHANGE</title>
		<link>http://www.davidsudjiman.info/2012/01/02/ospf-stuck-in-exstartexchange/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ospf-stuck-in-exstartexchange</link>
		<comments>http://www.davidsudjiman.info/2012/01/02/ospf-stuck-in-exstartexchange/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 23:02:04 +0000</pubDate>
		<dc:creator>David Sudjiman</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.davidsudjiman.info/?p=765</guid>
		<description><![CDATA[There are several things to be satisfied before OSPF can establish its full adjacency. These are Area-ID, Stub-Flags, Interface-Type, Timers, Authentication, and MTU. These attributes must match to the other peering. Let&#8217;s say that you have a scenario to create &#8230; <a href="http://www.davidsudjiman.info/2012/01/02/ospf-stuck-in-exstartexchange/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are several things to be satisfied before OSPF can establish its full adjacency. These are Area-ID, Stub-Flags, Interface-Type, Timers, Authentication, and MTU. These attributes must match to the other peering.</p>
<p>Let&#8217;s say that you have a scenario to create Q-in-Q which requires you to alter the default MTU to 1504 using <code>system mtu 1504</code>. The verification also shows that your system MTU is indeed 1504.</p>
<pre>
SWITCH-3560#sh system mtu

System MTU size is 1504 bytes
System Jumbo MTU size is 1504 bytes
Routing MTU size is 1500 bytes
</pre>
<p><span id="more-765"></span><br />
Suddenly, your OSPF adjacency went down, re-initialized, and then stuck in EXSTART/EXCHANGE. In this state, both sides will try to exchange the DBD packets. This problem can occurs when the MTU attribute between peers doesn&#8217;t match. (Also, you can check for Unicast traffic &#8211; if any, ACL, or even NAT)</p>
<p>Well, isn&#8217;t that you have your switches MTU&#8217;s adjusted to 1504 using command <code>system mtu 1504</code>? Yes, the SYSTEM MTU is 1504, which was configured for Q-in-Q.</p>
<p>OSPF, however, uses ROUTING MTU instead of SYSTEM MTU. Therefore, to change the ROUTING MTU we need to use command <code>system mtu routing 1504</code>.</p>
<p>Another way to fix this issue is to disable the MTU checking during adjacency process. You can use <code>ip ospf mtu-ignore</code>. This can be handy if you don&#8217;t have the option to change the MTU value.</p>
<pre>
SWITCH-3560#sh system mtu

<strong>System MTU size is 1504 bytes</strong>
System Jumbo MTU size is 1504 bytes
<strong>Routing MTU size is 1500 bytes</strong>
SWITCH-3560#
*Mar  1 00:03:16.050: OSPF: Rcv DBD from 10.4.4.4 on Port-channel14 seq 0x1995 opt 0x52 flag 0x2 len 52  mtu 1504 state EXSTART
*Mar  1 00:03:16.050: OSPF: Nbr 10.4.4.4 has larger interface MTU
*Mar  1 00:03:20.974: OSPF: Send hello to 224.0.0.5 area 0 on Port-channel14 from 163.17.0.1
*Mar  1 00:03:21.058: OSPF: Send DBD to 10.4.4.4 on Port-channel14 seq 0x1995 opt 0x52 flag 0x7 len 32
*Mar  1 00:03:21.058: OSPF: Retransmitting DBD to 10.4.4.4 on Port-channel14 [20]
*Mar  1 00:03:21.058: OSPF: Rcv DBD from 10.4.4.4 on Port-channel14 seq 0x1995 opt 0x52 flag 0x2 len 52  mtu 1504 state EXSTART
<strong>*Mar  1 00:03:21.058: OSPF: Nbr 10.4.4.4 has larger interface MTU</strong>
*Mar  1 00:03:21.460: OSPF: Rcv hello from 10.4.4.4 area 0 from Port-channel14 163.17.0.4l
SWITCH-3560#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SWITCH-3560(config)#system mtu ?
  <1500-1998>  MTU size in bytes
  jumbo        Set Jumbo MTU value for GigabitEthernet or TenGigabitEthernet
               interfaces
  <strong>routing      Set the Routing MTU for the system</strong>

<strong>SWITCH-3560(config)#system mtu routing 1504</strong>
*Mar  1 00:03:46.492: %SYS-5-CONFIG_I: Configured from console by console
*Mar  1 00:03:51.106: %OSPF-5-ADJCHG: Process 1, Nbr 10.4.4.4 on Port-channel14 from EXSTART to DOWN, Neighbor Down: Too many SWITCH-3560(config)#int port 14
SWITCH-3560(config-if)#shut
SWITCH-3560(config-if)#no shut
SWITCH-3560(config-if)#
*Mar  1 00:04:02.162: %OSPF-5-ADJCHG: Process 1, Nbr 10.4.4.4 on Port-channel14 from DOWN to DOWN, Neighbor Down: Interface down or detached
*Mar  1 00:04:03.135: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel14, changed state to down
SWITCH-3560(config-if)#
SWITCH-3560(config-if)#
*Mar  1 00:04:04.133: %LINK-3-UPDOWN: Interface Port-channel14, changed state to down
SWITCH-3560(config-if)#
*Mar  1 00:04:05.106: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/20, changed state to down
*Mar  1 00:04:05.123: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/21, changed state to down
SWITCH-3560(config-if)#
*Mar  1 00:04:06.574: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/21, changed state to up
*Mar  1 00:04:06.650: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/20, changed state to up
SWITCH-3560(config-if)#^Z
SWITCH-3560#
*Mar  1 00:04:07.572: %LINK-3-UPDOWN: Interface Port-channel14, changed state to up
SWITCH-3560#sh ip os
*Mar  1 00:04:08.369: %SYS-5-CONFIG_I: Configured from console by console
*Mar  1 00:04:08.588: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel14, changed state to up
*Mar  1 00:04:17.563: OSPF: Rcv hello from 10.4.4.4 area 0 from Port-channel14 163.17.0.4
*Mar  1 00:04:17.563: OSPF: 2 Way Communication to 10.4.4.4 on Port-channel14, state 2WAY
*Mar  1 00:04:17.563: OSPF: End of hello processing
*Mar  1 00:04:17.572: OSPF: Send hello to 224.0.0.5 area 0 on Port-channel14 from 163.17.0.1
*Mar  1 00:04:17.572: OSPF: will poll [count 10] interface status for Port-channel14
*Mar  1 00:04:27.563: OSPF: Rcv hello from 10.4.4.4 area 0 from Port-channel14 163.17.0.4
*Mar  1 00:04:27.563: OSPF: End of hello processing
*Mar  1 00:04:27.579: OSPF: Send hello to 224.0.0.5 area 0 on Port-channel14 from 163.17.0.1
*Mar  1 00:04:27.579: OSPF: will poll [count 9] interface status for Port-channel14
*Mar  1 00:04:37.562: OSPF: Rcv hello from 10.4.4.4 area 0 from Port-channel14 163.17.0.4
*Mar  1 00:04:37.562: OSPF: End of hello processing
*Mar  1 00:04:37.579: OSPF: Send hello to 224.0.0.5 area 0 on Port-channel14 from 163.17.0.1
*Mar  1 00:04:37.579: OSPF: will poll [count 8] interface status for Port-channel14
*Mar  1 00:04:47.569: OSPF: Rcv hello from 10.4.4.4 area 0 from Port-channel14 163.17.0.4
*Mar  1 00:04:47.569: OSPF: Backup seen Event before WAIT timer on Port-channel14
*Mar  1 00:04:47.569: OSPF: DR/BDR election on Port-channel14
*Mar  1 00:04:47.569: OSPF: Elect BDR 0.0.0.0
*Mar  1 00:04:47.569: OSPF: Elect DR 10.4.4.4
*Mar  1 00:04:47.569:        DR: 10.4.4.4 (Id)   BDR: none
*Mar  1 00:04:47.569: OSPF: Send DBD to 10.4.4.4 on Port-channel14 seq 0x12F3 opt 0x52 flag 0x7 len 32
*Mar  1 00:04:47.569: OSPF: End of hello processing
<strong>*Mar  1 00:04:47.569: OSPF: Rcv DBD from 10.4.4.4 on Port-channel14 seq 0x1041 opt 0x52 flag 0x7 len 32  mtu 1504 state EXSTART
*Mar  1 00:04:47.569: OSPF: First DBD and we are not SLAVE
*Mar  1 00:04:47.569: OSPF: Rcv DBD from 10.4.4.4 on Port-channel14 seq 0x12F3 opt 0x52 flag 0x2 len 92  mtu 1504 state EXSTART</strong>
*Mar  1 00:04:47.569: OSPF: NBR Negotiation Done. We are the MASTER
*Mar  1 00:04:47.569: OSPF: Send DBD to 10.4.4.4 on Port-channel14 seq 0x12F4 opt 0x52 flag 0x3 len 52
<strong>*Mar  1 00:04:47.578: OSPF: Rcv DBD from 10.4.4.4 on Port-channel14 seq 0x12F4 opt 0x52 flag 0x0 len 32  mtu 1504 state EXCHANGE</strong>
*Mar  1 00:04:47.578: OSPF: Send DBD to 10.4.4.4 on Port-channel14 seq 0x12F5 opt 0x52 flag 0x1 len 32
*Mar  1 00:04:47.578: OSPF: Send LS REQ to 10.4.4.4 length 36 LSA count 3
*Mar  1 00:04:47.578: OSPF: Rcv LS REQ from 10.4.4.4 on Port-channel14 length 36 LSA count 1
*Mar  1 00:04:47.578: OSPF: Send UPD to 163.17.0.4 on Port-channel14 length 40 LSA count 1
<strong>*Mar  1 00:04:47.578: OSPF: Rcv DBD from 10.4.4.4 on Port-channel14 seq 0x12F5 opt 0x52 flag 0x0 len 32  mtu 1504 state EXCHANGE</strong>
*Mar  1 00:04:47.578: OSPF: Exchange Done with 10.4.4.4 on Port-channel14
*Mar  1 00:04:47.578: OSPF: Rcv LS UPD from 10.4.4.4 on Port-channel14 length 156 LSA count 3
<strong>*Mar  1 00:04:47.578: OSPF: Synchronized with 10.4.4.4 on Port-channel14, state FULL
*Mar  1 00:04:47.578: %OSPF-5-ADJCHG: Process 1, Nbr 10.4.4.4 on Port-channel14 from LOADING to FULL, Loading Done</strong>
SWITCH-3560#sh system mtu

<strong>System MTU size is 1504 bytes</strong>
System Jumbo MTU size is 1504 bytes
<strong>Routing MTU size is 1504 bytes</strong>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.davidsudjiman.info/2012/01/02/ospf-stuck-in-exstartexchange/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Proxy ARP Notes</title>
		<link>http://www.davidsudjiman.info/2011/07/26/proxy-arp-notes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=proxy-arp-notes</link>
		<comments>http://www.davidsudjiman.info/2011/07/26/proxy-arp-notes/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 10:57:24 +0000</pubDate>
		<dc:creator>David Sudjiman</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.davidsudjiman.info/?p=749</guid>
		<description><![CDATA[Proxy ARP (Cisco Page) To check whether an interface is using Proxy ARP or not. Rack10R6#sh ip int f0/0.146 &#124; i ARP Proxy ARP is enabled Local Proxy ARP is disabled To enable/disable Proxy ARP on the interface Rack10R6(config)#int f0/0.146 &#8230; <a href="http://www.davidsudjiman.info/2011/07/26/proxy-arp-notes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094adb.shtml">Proxy ARP (Cisco Page)</a></li>
<li>To check whether an interface is using Proxy ARP or not.
<pre>
Rack10R6#sh ip int f0/0.146 | i ARP
  Proxy ARP is enabled
  Local Proxy ARP is disabled
</pre>
</li>
<li>To enable/disable Proxy ARP on the interface
<pre>
Rack10R6(config)#int f0/0.146
Rack10R6(config-subif)#no ip proxy-arp
Rack10R6(config-subif)#do sh ip int f0/0.146 | i ARP
  Proxy ARP is disabled
  Local Proxy ARP is disabled
</pre>
</li>
<li>To disable Proxy ARP from the global configuration (Proxy ARP is enabled by default)
<pre>
Rack10R6(config)#ip arp proxy disable
Rack10R6(config)#do sh ip int f0/0.146 | i ARP
  Proxy ARP is disabled (Globally)
  Local Proxy ARP is disabled
</pre>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.davidsudjiman.info/2011/07/26/proxy-arp-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access Port</title>
		<link>http://www.davidsudjiman.info/2011/06/24/access-port/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=access-port</link>
		<comments>http://www.davidsudjiman.info/2011/06/24/access-port/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 12:16:54 +0000</pubDate>
		<dc:creator>David Sudjiman</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.davidsudjiman.info/?p=734</guid>
		<description><![CDATA[When you configure switchport access vlan 20 on an interface: This will make the interface become a layer 2 switchport or non-routeable port. There is no 802.1q/ISL tagging involvement in this port as the traffic will be received and sent &#8230; <a href="http://www.davidsudjiman.info/2011/06/24/access-port/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When you configure <code>switchport access vlan 20</code> on an interface:</p>
<ul>
<li>This will make the interface become a layer 2 switchport or non-routeable port.</li>
<li>There is no 802.1q/ISL tagging involvement in this port as the traffic will be received and sent as untagged.</li>
<li>Because there is no tagging involved, the port has no clue what VLAN this frame should be. Therefore, any packets passing this port is assumed to belong to the VLAN assigned to this port. In this case vlan 20.</li>
<li>If you add the configuration with <code>switchport mode access</code> this will make the interface turned to nontrunking permanently and also <strong>negotiates</strong> or telling the other end of the link to be a nontrunk link. This interface will permanently become nontrunk interface regardless the other end is trunk or nontrunk link. With this in mind, if one port is configured with <code>switchport mode access</code> and other end port happens to be configured with <code>switchport mode dynamic auto</code> or <code>switchport mode dynamic desirable</code></code><br />
<span id="more-734"></span>
<pre>
sw3#sh run int f0/19
Building configuration...

Current configuration : 58 bytes
!
interface FastEthernet0/19
 switchport mode access
end

sw3#sh int f0/19 status

Port      Name               Status       Vlan       Duplex  Speed Type
Fa0/19                       connected    1          a-full  a-100 10/100BaseTX
sw3#sh spann      

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    32769
             Address     a8b1.d45b.3b80
             Cost        19
             Port        21 (FastEthernet0/19)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     aca0.1644.b180
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/19              Root FWD 19        128.21   P2p 

sw3#sh int f0/19 sw
Name: Fa0/19
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none

sw4#sh run int f0/19
Building configuration...

Current configuration : 34 bytes
!
interface FastEthernet0/19
end

sw4#sh int f0/19 status

Port      Name               Status       Vlan       Duplex  Speed Type
Fa0/19                       connected    1          a-full  a-100 10/100BaseTX
sw4#sh spann 

VLAN0001
  Spanning tree enabled protocol ieee
  Root ID    Priority    32769
             Address     a8b1.d45b.3b80
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     a8b1.d45b.3b80
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Fa0/19              Desg FWD 19        128.21   P2p 

sw4#sh int f0/19 sw
sw4#sh int f0/19 switchport
Name: Fa0/19
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
</pre>
</li>
<li>You can actually peer this with a trunk port as configured below
<pre>
! SW3
interface FastEthernet0/19
 switchport access vlan 20
 switchport mode access
 spanning-tree portfast
 spanning-tree bpdufilter enable
int vlan 10
 ip addr 10.10.10.3 255.255.255.0
exit

! SW4
interface FastEthernet0/19
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 20
 switchport mode trunk
 switchport nonegotiate
 spanning-tree portfast trunk
int vlan 10
 ip addr 10.10.10.4 255.255.255.0
exit

sw4#ping 10.10.10.3      

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/9 ms
</pre>
<p>Since <code>switchport access vlan 20</code> will send and receive frame without tagging it and neither the other end (the trunk port), this peering will successfully send and receive frame and assume that it is belong to vlan 20.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.davidsudjiman.info/2011/06/24/access-port/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gotta Set My Sail Again.</title>
		<link>http://www.davidsudjiman.info/2011/06/21/gotta-set-my-sail-again/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=gotta-set-my-sail-again</link>
		<comments>http://www.davidsudjiman.info/2011/06/21/gotta-set-my-sail-again/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 08:18:54 +0000</pubDate>
		<dc:creator>David Sudjiman</dc:creator>
				<category><![CDATA[Catharsis]]></category>
		<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.davidsudjiman.info/?p=723</guid>
		<description><![CDATA[Few weeks ago, May 31, 2011, I sat my CCIE lab exam and failed. I knew I was going to fail but somewhere inside just want to keep trying and wanting to know how far I would get. This exam &#8230; <a href="http://www.davidsudjiman.info/2011/06/21/gotta-set-my-sail-again/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Few weeks ago, May 31, 2011, I sat my CCIE lab exam and failed. I knew I was going to fail but somewhere inside just want to keep trying and wanting to know how far I would get. This exam is not an impossible exam. Yes, it is hard, but not impossible to achieve. I&#8217;ve seen all of the technologies but I didn&#8217;t know it enough to pass.</p>
<p>Enough for the rant, I&#8217;m starting my INE WB from the beginning and it feels like things are keep unlocking itself and I have lots of Aha moments. I guess whatever I read before still inside, somewhere.</p>
<p>Previously I studied like a running train and tried to read as much as I could but not necessarily trying to understand it. That&#8217;s why I failed. <a href="http://www.pickthebrain.com/blog/why-efficiency-is-overrated-–-and-what-to-do-about-it/<br />
">I can be efficient to read more but it wasn&#8217;t effective enough to make me to understand it.</a> This time is different, I have that eagerness to know more and don&#8217;t really care about the time, as long as I can learn 1-2 hours a day and make it count, it will be much better rather than learning until 2am in the morning but understand nothing.</p>
<p>Just before the exam, I was quite lucky to be able to attend Narbik&#8217;s 5-day Bootcamp, for those who wants to know what is it like in details, please visit this <a href="http://noshut.blogspot.com/2011/05/drinking-from-firehose-narbiks-bootcamp.html">article</a>. From my own point of view, this training has opened my eyes that CCIE is not for the faint-hearted, no shortcuts and you have to walk the process. I&#8217;m planning to join his 5-day bootcamp again in December 2011.</p>
<p>For all of those CCIE candidates out there, it&#8217;s hard but not impossible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.davidsudjiman.info/2011/06/21/gotta-set-my-sail-again/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Catalyst QOS Port-Based Policing Cannot Co-exist with Vlan-based Classification.</title>
		<link>http://www.davidsudjiman.info/2011/05/20/catalyst-qos-port-based-policing-cannot-co-exist-with-vlan-based-classification/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=catalyst-qos-port-based-policing-cannot-co-exist-with-vlan-based-classification</link>
		<comments>http://www.davidsudjiman.info/2011/05/20/catalyst-qos-port-based-policing-cannot-co-exist-with-vlan-based-classification/#comments</comments>
		<pubDate>Fri, 20 May 2011 08:44:05 +0000</pubDate>
		<dc:creator>David Sudjiman</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.davidsudjiman.info/?p=711</guid>
		<description><![CDATA[Catalyst QOS Port-Based Policing Cannot Co-exist with Vlan-based Classification. SW1#sh ver &#124; i cisco http://www.cisco.com/wwl/export/crypto/tool/stqrg.html export@cisco.com. cisco WS-C3560-24TS (PowerPC405) processor (revision D0) with 122880K/8184K bytes of memory. SW1#conf t Enter configuration commands, one per line. End with CNTL/Z. SW1(config)# SW1(config)#no &#8230; <a href="http://www.davidsudjiman.info/2011/05/20/catalyst-qos-port-based-policing-cannot-co-exist-with-vlan-based-classification/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<pre>
Catalyst QOS Port-Based Policing Cannot Co-exist with Vlan-based Classification.

SW1#sh ver | i cisco

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

export@cisco.com.
cisco WS-C3560-24TS (PowerPC405) processor (revision D0) with 122880K/8184K bytes of memory.

SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#
SW1(config)#no policy-map PM_QOS
SW1(config)#
SW1(config)#ip access-list ext ACL_IP
SW1(config-ext-nacl)# permit ip any any
SW1(config-ext-nacl)#exit
SW1(config)#
SW1(config)#class-map CM_IP
SW1(config-cmap)# match access-group name ACL_IP
SW1(config-cmap)#exit
SW1(config)#
SW1(config)#no policy-map PM_QOS
SW1(config)#policy-map PM_QOS
SW1(config-pmap)# class class-default
SW1(config-pmap-c)#  police 128000 125000 exceed-action drop
SW1(config-pmap-c)# exit
SW1(config-pmap)#exit
SW1(config)#
SW1(config)#int f0/1
SW1(config-if)# service-policy in PM_QOS
<strong>%QoS: policymap is not attachable to vlan-based interface
Service Policy attachment failed</strong>
SW1(config-if)#exit
SW1(config)#exit
SW1#
*Mar  1 09:26:17.854: %SYS-5-CONFIG_I: Configured from console by console
SW1#sh run int f0/1
Building configuration...

Current configuration : 81 bytes
!
interface FastEthernet0/1
 switchport access vlan 146
 <strong>mls qos vlan-based</strong>
end

SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#int f0/1
SW1(config-if)#<strong>no mls qos vlan-based</strong>
SW1(config-if)#^Z
SW1#
*Mar  1 09:26:35.545: %SYS-5-CONFIG_I: Configured from console by console
SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
SW1(config)#int f0/1
SW1(config-if)# <strong>service-policy in PM_QOS</strong>
SW1(config-if)#exit
SW1(config)#exit
SW1#
*Mar  1 09:26:47.550: %SYS-5-CONFIG_I: Configured from console by console
SW1#sh poli
SW1#sh policy-map int f0/1
 FastEthernet0/1 

  Service-policy input: PM_QOS

    Class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any
        0 packets, 0 bytes
        5 minute rate 0 bps
SW1#
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.davidsudjiman.info/2011/05/20/catalyst-qos-port-based-policing-cannot-co-exist-with-vlan-based-classification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

