<?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>IPCHAMBER</title>
	<atom:link href="http://ipchamber.kr-cpd.pl/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://ipchamber.kr-cpd.pl/wordpress</link>
	<description>by Przemek Bubas</description>
	<lastBuildDate>Fri, 05 Oct 2012 13:55:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Routing table troubleshoot</title>
		<link>http://ipchamber.kr-cpd.pl/wordpress/?p=258</link>
		<comments>http://ipchamber.kr-cpd.pl/wordpress/?p=258#comments</comments>
		<pubDate>Fri, 21 Oct 2011 19:05:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CISCO]]></category>
		<category><![CDATA[IP Routing]]></category>

		<guid isPermaLink="false">http://ipchamber.kr-cpd.pl/wordpress/?p=258</guid>
		<description><![CDATA[On live monitoring of routing table changes during vty session: 1. Set logging level to debugging for vty sessions conf t logging monitor debugging end 2. Turn on display of logging for current vty session and next turn on ip &#8230; <a href="http://ipchamber.kr-cpd.pl/wordpress/?p=258">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>On live monitoring of routing table changes during vty session:<br />
1. Set logging level to debugging for vty sessions<br />
<span id="more-258"></span></p>
<pre><span style="color: #00ff00;">
conf t
logging monitor debugging
end
</span>
</pre>
<p>2. Turn on display of logging for current vty session and next turn on ip routing table debugging</p>
<pre><span style="color: #00ff00;">
terminal monitor
debug ip routing
</span>
</pre>
<p>3. To turn off display of logging for current vty session and turn off debugging </p>
<pre><span style="color: #00ff00;">
terminal no monitor
no debug ip routing
</span>
</pre>
<p>example:</p>
<pre>
<p style="font-size:12px">
Router(config)#<span style="color: #00ff00;">ip route 0.0.0.0 0.0.0.0 192.168.0.1 name DEFAULT-GW</span>
Router(config)#
*Oct 21 06:04:07.822: RT: add 0.0.0.0/0 via 192.168.0.1, static metric [1/0]
*Oct 21 06:04:07.822: RT: NET-RED 0.0.0.0/0
*Oct 21 06:04:07.822: RT: default path is now 0.0.0.0 via 192.168.0.1
*Oct 21 06:04:07.822: RT: new default network 0.0.0.0
*Oct 21 06:04:07.822: RT: NET-RED 0.0.0.0/0
Router(config)#<span style="color: #00ff00;">no ip route 0.0.0.0 0.0.0.0 192.168.0.1</span>
Router(config)#
*Oct 21 06:04:20.810: RT: del 0.0.0.0 via 192.168.0.1, static metric [1/0]
*Oct 21 06:04:20.810: RT: delete network route to 0.0.0.0
*Oct 21 06:04:20.810: RT: NET-RED 0.0.0.0/0
*Oct 21 06:04:20.810: RT: NET-RED 0.0.0.0/0
</p>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://ipchamber.kr-cpd.pl/wordpress/?feed=rss2&#038;p=258</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Full mesh formula</title>
		<link>http://ipchamber.kr-cpd.pl/wordpress/?p=199</link>
		<comments>http://ipchamber.kr-cpd.pl/wordpress/?p=199#comments</comments>
		<pubDate>Tue, 11 Oct 2011 11:15:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Formula]]></category>
		<category><![CDATA[mesh]]></category>

		<guid isPermaLink="false">http://ipchamber.kr-cpd.pl/wordpress/?p=199</guid>
		<description><![CDATA[How to count how much connections we need to build a full mesh ? x = n*(n-1)/2 x &#8211; number of connections n &#8211; number of devices example for 5 devices: we need: 5*(5-1)/2 = 5*4/2 = 20/2 = 10 &#8230; <a href="http://ipchamber.kr-cpd.pl/wordpress/?p=199">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p style="text-aligin: left;">How to count how much connections we need to build a full mesh ?</span></p>
<h1 style="text-aligin: left; color: #ccffcc;">x = n*(n-1)/2</h1>
<ul>
<li>x &#8211; number of connections</li>
<li>n &#8211; number of devices</li>
</ul>
<p>example for 5 devices: <br />
we need: <br />
<em>5*(5-1)/2 = 5*4/2 = 20/2 = 10</em> <br />
connections to build a full mesh beetween them. </p>
]]></content:encoded>
			<wfw:commentRss>http://ipchamber.kr-cpd.pl/wordpress/?feed=rss2&#038;p=199</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CBWFQ Inside GTS</title>
		<link>http://ipchamber.kr-cpd.pl/wordpress/?p=8</link>
		<comments>http://ipchamber.kr-cpd.pl/wordpress/?p=8#comments</comments>
		<pubDate>Fri, 07 Oct 2011 14:18:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CISCO]]></category>
		<category><![CDATA[QoS]]></category>
		<category><![CDATA[CBWFQ]]></category>
		<category><![CDATA[GTS]]></category>
		<category><![CDATA[LLQ]]></category>

		<guid isPermaLink="false">http://212.76.52.250/wordpress/?p=8</guid>
		<description><![CDATA[On Cisco router platform, we can easily divide interface downstream bandwidth between two or more Customers and simultanously guarantee(prioritize or limit) its amount for definded queues. Lets take example with two Customers : CUSTOMER1 has overall bandwidth of 2Mbps with &#8230; <a href="http://ipchamber.kr-cpd.pl/wordpress/?p=8">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p style="text-align: left;">On Cisco router platform, we can easily divide interface downstream bandwidth between two or more Customers and simultanously guarantee(prioritize or limit) its amount for definded queues.<br />
Lets take example with two Customers :<span id="more-8"></span><br />
<a href="http://ipchamber.kr-cpd.pl/wordpress/wp-content/uploads/2011/10/PM.jpg"><img class="alignnone size-full wp-image-156" title="CBWFQ inside GTS" src="http://ipchamber.kr-cpd.pl/wordpress/wp-content/uploads/2011/10/PM.jpg" alt="" width="1020" height="326" /></a>
</p>
<ul>
<li>CUSTOMER1 has overall bandwidth of 2Mbps with guarantee of 40% for GOLD, 20% for SILVER, 10% for BRONZE and 500Kbps limit for other traffic. Client`s IP network &#8211; 10.0.10.0/24
</li>
<li>CUSTOMER2 has overall bandwidth of 6Mbps with priority queue of 10% for GOLD, 2Mbps limit for SILVER, 15% gurantee for BRONZE and 1Mbps limit for other traffic. Client`s IP network &#8211; 10.0.20.0/24 </li>
<li>Any other traffic from FastEtherent inteface with destination address other than 10.0.10.0/24 and 10.0.20.0/24 will be put in 10Mbps limited queue
</li>
<li>Traffic classification is based on IP Precedence markings: 5 goes to GOLD, 4,3 to SILVER, 2,1 to BRONZE, 7,6,0 to DEFAULT
</li>
</li>
</ul>
<p> To achive it we type following into configuration:</p>
<pre><span style="color: #00ff00;">
no policy-map PM_ALL
no policy-map PM_CUSTOMER1
no policy-map PM_CUSTOMER2
no class-map match-any CM_GOLD
no class-map match-any CM_SILVER
no class-map match-any CM_BRONZE
no class-map match-all PM_CUSTOMER1
no class-map match-all PM_CUSTOMER2
no ip access-list extended PM_CUSTOMER1
no ip access-list extended PM_CUSTOMER2

ip access-list extended PM_CUSTOMER1
 permit ip any 10.0.10.0 0.0.0.255
ip access-list extended PM_CUSTOMER2
 permit ip any 10.0.20.0 0.0.0.255

class-map match-any CM_GOLD
 match precedence 5
class-map match-any CM_SILVER
 match precedence 4
 match precedence 3
class-map match-any CM_BRONZE
 match precedence 2
 match precedence 1
class-map match-all PM_CUSTOMER2
 match access-group name PM_CUSTOMER2
class-map match-all PM_CUSTOMER1
 match access-group name PM_CUSTOMER1

policy-map PM_CUSTOMER1
 class CM_GOLD
    bandwidth percent 40
 class CM_SILVER
    bandwidth percent 20
 class CM_BRONZE
    bandwidth percent 10
 class class-default
    police 500000 conform-action transmit exceed-action transmit violate-action drop
policy-map PM_CUSTOMER2
 class CM_GOLD
    priority percent 10
 class CM_SILVER
   police 2048000 conform-action transmit exceed-action transmit violate-action drop
 class CM_BRONZE
    bandwidth percent 15
 class class-default
   police rate 1024000 conform-action transmit exceed-action transmit violate-action drop
policy-map PM_ALL
 class PM_CUSTOMER1
    shape average 2048000
  service-policy PM_CUSTOMER1
 class PM_CUSTOMER2
    shape average 6144000
  service-policy PM_CUSTOMER2
 class class-default
  police 10240000 conform-action transmit exceed-action transmit violate-action drop
interface FastEthernet0/0
 service-policy output PM_ALL
</pre>
<p></span></p>
<p>We can implement above example on almost every Cisco router platform or 3rd layer switch. <br />
We need to check following features before:<br />
<em>Class Based Weighted Fair Queuing (CBWFQ)<br />
Generic Traffic Shaping (GTS)<br />
Low Latency Queueing (LLQ)</em><br />
<br />
Cisco Feature Guide: <a href="http://www.cisco.com/en/US/docs/ios/12_1t/12_1t2/feature/guide/clsbsshp.html#wp1023908" title="Class-Based Shaping" target="_blank">Class-Based Shaping</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ipchamber.kr-cpd.pl/wordpress/?feed=rss2&#038;p=8</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FHRP—Enhanced Object Tracking of IP SLAs Operations</title>
		<link>http://ipchamber.kr-cpd.pl/wordpress/?p=48</link>
		<comments>http://ipchamber.kr-cpd.pl/wordpress/?p=48#comments</comments>
		<pubDate>Fri, 23 Sep 2011 14:34:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SLA]]></category>

		<guid isPermaLink="false">http://212.76.52.250/wordpress/?p=48</guid>
		<description><![CDATA[Today &#8211; I would like to present very useful Cisco IOS feature &#8211; FHRP—Enhanced Object Tracking of IP SLAs Operations &#8211; is an extension of traditional object tracking (eg. interface tracking). Very basic example of using it, is removing of &#8230; <a href="http://ipchamber.kr-cpd.pl/wordpress/?p=48">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Today &#8211; I would like to present very useful Cisco IOS feature &#8211; <em>FHRP—Enhanced Object Tracking of IP SLAs Operations</em> &#8211; is an extension of traditional object tracking (eg. interface tracking). Very basic example of using it, is removing of static route from routing table if specified IP address is not reachable.</p>
<p>1. Creating SLA probe number 1, defining SLA action type and destination, parameters for threshold and timeout for 2seconds, frequency for 5seconds<span id="more-48"></span><br />
<code><span style="color: #00ff00;">conf t<br />
ip sla 1<br />
icmp-echo 120.0.100.1<br />
threshold 2000<br />
timeout 2000<br />
frequency 5<br />
</code></span></p>
<p>2. Making SLA 1 probe alive<br />
<code><span style="color: #00ff00;">ip sla schedule 1 start-time now life forever<br />
</span></code></p>
<p>3. Linking SLA probe with tracking and adding tracked static route<br />
<code><span style="color: #00ff00;">track 1 ip sla 1 reachability<br />
ip route 0.0.0.0 0.0.0.0 120.0.100.1 track 1<br />
</span></code></p>
<p>4. Verify track reachability<br />
<code><span style="color: #00ff00;">show track 1<br />
</span></code></p>
<p>Cisco Configuration Guide: <span style="color: #ffff00;"><a title="http://www.cisco.com/en/US/docs/ios/ipapp/configuration/guide/ipapp_eot.html" href="http://www.cisco.com/en/US/docs/ios/ipapp/configuration/guide/ipapp_eot.html" target="_blank"><span style="color: #ffff00;">FHRP—Enhanced Object Tracking of IP SLA Configuration Guide</span></a></span></p>
<p>&nbsp;</p>
<h2>END</h2>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://ipchamber.kr-cpd.pl/wordpress/?feed=rss2&#038;p=48</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regular expressions on IOS</title>
		<link>http://ipchamber.kr-cpd.pl/wordpress/?p=28</link>
		<comments>http://ipchamber.kr-cpd.pl/wordpress/?p=28#comments</comments>
		<pubDate>Sat, 17 Sep 2011 16:07:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CISCO]]></category>
		<category><![CDATA[regexp]]></category>

		<guid isPermaLink="false">http://212.76.52.250/wordpress/?p=28</guid>
		<description><![CDATA[Some play with IOS command line and regular expressions: 1. showing of every line from running-configuration which inculdes IP address: sh run &#124; inc [0-9].[0-9].[0-9].[0-9] 2.showing of only &#8220;one as long&#8221; paths from bgp table: sh ip bgp quote-regexp ^[0-9]*$ &#8230; <a href="http://ipchamber.kr-cpd.pl/wordpress/?p=28">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Some play with IOS command line and regular expressions:</p>
<p>1. showing of every line from running-configuration which inculdes IP address:</p>
<pre><span style="color: #00ff00;">sh run | inc [0-9].[0-9].[0-9].[0-9]</span></pre>
<p><span id="more-28"></span></p>
<p>2.showing of only &#8220;one as long&#8221; paths from bgp table:</p>
<pre><span style="color: #00ff00;">sh ip bgp quote-regexp ^[0-9]*$</span></pre>
<p>3. showing of &#8220;one as long&#8221; and 4-digit as paths from bgp table</p>
<pre><span style="color: #00ff00;">sh ip bgp quote-regexp ^[0-9][0-9][0-9][0-9]$</span></pre>
<p>4. showing of INPUT access-list from running-configuration</p>
<pre><span style="color: #00ff00;">sh run | beg ^ip.*INPUT$</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://ipchamber.kr-cpd.pl/wordpress/?feed=rss2&#038;p=28</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
