<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5375174056040496067</id><updated>2012-02-01T10:55:48.739-08:00</updated><category term='Description'/><category term='SNMP'/><category term='Account'/><category term='DNS'/><category term='Line consol 0'/><category term='CCIE'/><category term='3750'/><category term='HTTPS'/><category term='MRTG'/><category term='VLAN'/><category term='supernetting'/><category term='domain name'/><category term='naming convention'/><category term='password recovery'/><category term='DMVPN'/><category term='Switch'/><category term='SMI'/><category term='subnetting'/><category term='Microsoft IIS'/><category term='ios commands'/><category term='Graphical'/><category term='VPN'/><category term='encryption'/><category term='ios upgrade'/><category term='LDP'/><category term='TCP'/><category term='configuration'/><category term='hostname'/><category term='Router Security'/><category term='Juniper'/><category term='PC'/><category term='eclipse'/><category term='IPSec VPN'/><category term='xp'/><category term='banner'/><category term='Corkscrew'/><category term='Huawei'/><category term='IBM'/><category term='E1'/><category term='java'/><category term='jre'/><category term='IPS'/><category term='Linux PC as Router'/><category term='Logging'/><category term='XM-Series'/><category term='Delat RPM in Fedora-11'/><category term='Archive'/><category term='KRON'/><category term='GRE/IPsec'/><category term='CE500 switch'/><category term='3550'/><category term='Netscreen'/><category term='Administrator'/><category term='Juniper Firewall'/><category term='Notes'/><category term='CLI cofiguration'/><category term='CCNP'/><category term='ssl'/><category term='xmodem'/><category term='EMI'/><category term='Label'/><category term='OpenSSH'/><category term='Inter-Vlan Routing'/><category term='SDM'/><category term='jre rpm'/><category term='IDS'/><category term='IP Hourglass Model'/><category term='T1'/><category term='WAN'/><category term='10 important commands'/><category term='NetFlow'/><category term='EIGRP'/><category term='Firewall'/><category term='netid'/><category term='Lotus'/><category term='ISP'/><category term='FrameRelay'/><category term='Nipper'/><category term='Network Security'/><category term='ios'/><category term='Windows-7'/><category term='Domino'/><category term='voice'/><category term='windows'/><category term='hostid'/><category term='NE40E'/><category term='Routing'/><category term='DPD'/><category term='startup configuration'/><category term='alias'/><category term='site- to-site VPN'/><category term='CLI'/><category term='netmeeting'/><category term='Internet'/><category term='loops'/><category term='BGP'/><category term='MPLS'/><category term='ssh'/><category term='subnets'/><category term='ICMP'/><category term='split-horizon EIGRP'/><category term='GRE Tunneling'/><category term='Using Configuration'/><category term='password complexity'/><category term='Squid'/><category term='broadcast'/><category term='linux on network'/><category term='QoS'/><category term='Ethernet Configuration'/><category term='IDM'/><category term='Keepalive'/><category term='TLS'/><category term='Cable Modem'/><category term='Cisco Router'/><category term='DNS Cache'/><category term='domain controller'/><title type='text'>Sohail Akhtar</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default?start-index=101&amp;max-results=100'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>164</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-8637648561666339364</id><published>2012-01-03T23:45:00.000-08:00</published><updated>2012-01-03T23:45:08.829-08:00</updated><title type='text'>Service Provider General Tasks</title><content type='html'>&lt;a href="http://www.shafagh.net/2011/04/service-provider-general-tasks.html#.TwQDZCn-iJ8.blogger"&gt;Service Provider General Tasks&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-8637648561666339364?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/8637648561666339364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=8637648561666339364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8637648561666339364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8637648561666339364'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2012/01/service-provider-general-tasks.html' title='Service Provider General Tasks'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5501509499866432058</id><published>2012-01-03T23:41:00.000-08:00</published><updated>2012-01-03T23:41:37.886-08:00</updated><title type='text'>Virtual Switching System</title><content type='html'>&lt;a href="http://www.shafagh.net/2011/07/virtual-switching-system.html#.TwQCbYWdYlo.blogger"&gt;Virtual Switching System&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5501509499866432058?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5501509499866432058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5501509499866432058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5501509499866432058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5501509499866432058'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2012/01/virtual-switching-system.html' title='Virtual Switching System'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-4733840742381298091</id><published>2011-12-31T07:18:00.000-08:00</published><updated>2011-12-31T07:31:12.522-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Account'/><category scheme='http://www.blogger.com/atom/ns#' term='Administrator'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows-7'/><title type='text'>Enable the Hidden Administrator Account on Windows-7</title><content type='html'>I was trying to install Mozilla Firefox on my laptop. When i try to install it shows me a mesage "install with Administrator account". I try to install with my account which is Administrator of Laptop but still it says "install with Administrator" and I stuck as i haven't use/seen any Administrator account. After that i search on google and came to know that it's hidden and not enable by default, so we have to enable this account on windowns-7 machine. Here we go :)&lt;br /&gt;&lt;br /&gt;1. Go to Command Prompt&lt;br /&gt;&lt;br /&gt;2. c:\&gt; net user administrator /active:yes&lt;br /&gt;The command completed successfully&lt;br /&gt;&lt;br /&gt;3. The above line shows the successfull result.&lt;br /&gt;&lt;br /&gt;4. Now you can use your Administrator account.&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you.&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-4733840742381298091?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/4733840742381298091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=4733840742381298091' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4733840742381298091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4733840742381298091'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2011/12/enable-hidden-administrator-account-on.html' title='Enable the Hidden Administrator Account on Windows-7'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-1610313030552097874</id><published>2011-12-25T17:24:00.000-08:00</published><updated>2011-12-25T17:28:21.566-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Huawei'/><category scheme='http://www.blogger.com/atom/ns#' term='NE40E'/><title type='text'>Huawei Basic Commands</title><content type='html'>Hi Everyone !&lt;br /&gt;&lt;br /&gt;I don't have time to talk about the basic commands of huawei, i will talk about the details stuff of it. If one is use to with cisco so he/she will not face any problem in understanding Huawei. I got this site with having the basic commands for huawei. If you want to study so look at &lt;a href="http://labnario.wordpress.com/"&gt;Mariusz Stola&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I Hope this wil be informative for you !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-1610313030552097874?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/1610313030552097874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=1610313030552097874' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1610313030552097874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1610313030552097874'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2011/12/huawei-basic-commands.html' title='Huawei Basic Commands'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-2936661547727404620</id><published>2011-12-25T17:13:00.000-08:00</published><updated>2011-12-25T17:19:08.350-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Huawei'/><category scheme='http://www.blogger.com/atom/ns#' term='NE40E'/><title type='text'>The SERDES Module on Subcard NP-3 1 is Failed</title><content type='html'>I got this problem in our network on one of our NE40E. Before going to the troubleshooting section, I just need to go through the impact of th above problem on a system. Actually we have three groups of SERDES on NE40E i.e. 0,1 and 2 on the LPU. These SERDES are plot on sub-card 0 and 1. If we have problem on SERDES 0 it will not effet the services on SERDES 1 and like wise. &lt;br /&gt;&lt;br /&gt;The problem cause can be identifed by checking the clock of SERDES module. The above problem can result because of:&lt;br /&gt;&lt;br /&gt;1. Sub-card-1 not prooperly connected to LPU&lt;br /&gt;2. Sub-card 1 is faulty&lt;br /&gt;3. The Port is not configured correctly&lt;br /&gt;4. The connector between the Sub-card and LPU is faulty&lt;br /&gt;5. The optical module is faulty&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. We have to check wheather the sub-card ETH_xyz_abc_CARD is registere by using the following command.&lt;br /&gt;&lt;br /&gt;          &lt;c&gt;&lt;b&gt;display device pic-status&lt;/b&gt;&lt;/c&gt;&lt;br /&gt;&lt;br /&gt;2. If it is registered, then we have to replace our optical module.&lt;br /&gt;&lt;br /&gt;3. If Optical module is working normal then plug out from the existing sub-card and plug-in in another card. For Example from Sub-Card 0 to Sub-Card 1.&lt;br /&gt;&lt;br /&gt;4. Now again verify by using the above command and collect the trap information.&lt;br /&gt;&lt;br /&gt;          &lt;c&gt;&lt;b&gt;display trapbuffer&lt;/b&gt;&lt;/c&gt;&lt;br /&gt;          &lt;c&gt;&lt;b&gt;terminal monitor&lt;/b&gt;&lt;/c&gt;&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-2936661547727404620?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/2936661547727404620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=2936661547727404620' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2936661547727404620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2936661547727404620'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2011/12/serdes-module-on-subcard-np-3-1-is.html' title='The SERDES Module on Subcard NP-3 1 is Failed'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5812648231264224545</id><published>2011-09-13T23:15:00.000-07:00</published><updated>2011-09-13T23:15:36.535-07:00</updated><title type='text'>Long Time...............!</title><content type='html'>Hi Everyone !!!!!!!!It has been long time that i am not in contact with blog because of my busy schedule. Although i have many stuff to post and many things are waiting in my mind and computer memory, soon i will be back :)Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5812648231264224545?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5812648231264224545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5812648231264224545' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5812648231264224545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5812648231264224545'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2011/09/long-time.html' title='Long Time...............!'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-4012988907805722387</id><published>2011-04-03T04:52:00.000-07:00</published><updated>2011-04-03T05:00:49.886-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Label'/><category scheme='http://www.blogger.com/atom/ns#' term='MPLS'/><category scheme='http://www.blogger.com/atom/ns#' term='LDP'/><title type='text'>MPLS Configuration</title><content type='html'>Make sure “ip cef” is running by using “show running” command&lt;br /&gt;&lt;br /&gt;R2(config) # ip cef&lt;br /&gt;R2(config) # mpls label protocol ldp&lt;br /&gt;&lt;br /&gt;To make LDP router-id (using loopback address)&lt;br /&gt;&lt;br /&gt;R2(config) # mpls ldp router-id loopback 0&lt;br /&gt;&lt;br /&gt;Perform these steps on R3 and R4 ?&lt;br /&gt;&lt;br /&gt;We will enable MPLS on those interface on which neighbor exists.&lt;br /&gt;&lt;br /&gt;R2(config) # interface serial 1/1&lt;br /&gt;R2(config-if) # mpls ip&lt;br /&gt;&lt;br /&gt;R3(config) # interface serial 1/0&lt;br /&gt;R3(config-if) # mpls ip&lt;br /&gt;&lt;br /&gt;R4(config) # interface serial 1/0&lt;br /&gt;R4(config-if) # mpls ip&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-MKLHtxN8IZU/TZhhV7a3rDI/AAAAAAAAAhw/hF4fCVGK_Oc/s1600/11.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 152px;" src="http://1.bp.blogspot.com/-MKLHtxN8IZU/TZhhV7a3rDI/AAAAAAAAAhw/hF4fCVGK_Oc/s320/11.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5591325966736010290" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;Operations and Verify&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;R2 # show mpls ldp discovery&lt;br /&gt;R2 # show mpls interfaces&lt;br /&gt;&lt;br /&gt;R2 # show mpls ldp neighbors&lt;br /&gt;Min label: 16&lt;br /&gt;As 0-15 are reserved&lt;br /&gt;&lt;br /&gt;R2# show mpls ldp discovery detail&lt;br /&gt;&lt;br /&gt;R2# show ip route-------------------------Control Plane&lt;br /&gt;&lt;br /&gt;R2# show ip cef----------------------------Data Plane&lt;br /&gt;&lt;br /&gt;R2# show mpls ldp bindings-----------LIB&lt;br /&gt;&lt;br /&gt;1. Here we will see one local binding and one remote binding as we have one neighbor so onw remote binding&lt;br /&gt;&lt;br /&gt;2. For directly connected it will assign implicit Null label&lt;br /&gt;e.g. 2.0.0.0-------imp-null&lt;br /&gt;&lt;br /&gt;For 10.0.0.0------------Local Binding 22 &lt;br /&gt;                    and Remote binding 23&lt;br /&gt;&lt;br /&gt;R3# show mpls ldp binding&lt;br /&gt;10.0.0.0--------Local Binding 23&lt;br /&gt;  Remote Binding 22&lt;br /&gt;&lt;br /&gt;R4# show mpls ldp binding&lt;br /&gt;&lt;br /&gt;1. Local and Remote can be same on R4.&lt;br /&gt;2. On R4 for network 2.0.0.0------Local Binding 18&lt;br /&gt;                                 --------Remote binding “imp null”&lt;br /&gt;This imp null means that R3 state that 2.0.0.0 is my directly connected so if you want to send some traffic for this network so remove the label as to get rid of the double lookup.&lt;br /&gt;&lt;br /&gt;This was just a window to the MPLS configuration. I Hope this will be informative for you.&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-4012988907805722387?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/4012988907805722387/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=4012988907805722387' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4012988907805722387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4012988907805722387'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2011/04/mpls-configuration.html' title='MPLS Configuration'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-MKLHtxN8IZU/TZhhV7a3rDI/AAAAAAAAAhw/hF4fCVGK_Oc/s72-c/11.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-2956003937806166828</id><published>2011-04-03T04:34:00.000-07:00</published><updated>2011-04-03T04:37:30.010-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MPLS'/><title type='text'>What is MPLS ?</title><content type='html'>Here we go……! The very first blog from me on MPLS, I have a lot stuff to publish and write on many things but because of the hectic schedule I am unable to write things, anyway I will try to be regular now onwards. First let’s talk about what is this lovely term MPLS?? ? Anyone?? ? No Idea :( hmmm! Let me explain what this, “Multiprotocol Label Switching (MPLS) is a new forwarding mechanism in which packets are forwarded based on labels”. MPLS comes in to our life because of some problems in the traditional IP routing like:&lt;br /&gt;&lt;br /&gt;1. Routing Lookup is performed on every hop (router)&lt;br /&gt;&lt;br /&gt;2. When IP is carrying over ATM or Frame Relay so Layer-2 and Layer-3 topology many be different which results in the least best path or suboptimal path and link utilization.&lt;br /&gt;&lt;br /&gt;3. At times data only goes through the primary link and not use the other link means we can’t do Traffic Engineering. In traditional IP routing we can do so by using PBR (Policy Based Routing) but that is strongly recommended not to use.&lt;br /&gt;MPLS comes into our life and solve the Problems of traditional IP routing. MPLS is a layer 2.5 technology and it is called “Multiprotocol” because it supports forwarding of other protocol as well. If we can say that end of the day what MPLS will give us so we can say that “Optimization” and “Scalability”.  Speed can never be in the definition of MPLS because now a day’s IP is also too fast because of the hardware enhancement.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;Modes of Operation&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. MPLS use a 32-bit label field that is inserted between Layer-2 and Layer-3 header (Frame Mode).&lt;br /&gt;2. MPLS over ATM use the ATM header as the label (Cell Mode).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;MPLS Architecture&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;MPLS has two major components i.e. Control Plane and Data Plane&lt;br /&gt;&lt;br /&gt;1. Control Plane: Exchange Layer-3 information and label&lt;br /&gt;2. Data Plane: Forward packets based on Label&lt;br /&gt;&lt;br /&gt;Let me briefly explain how the two planes behave when a packet comes to it:&lt;br /&gt;a) When the incoming packet is IP based so request comes to RIB (control plane) which then consult FIB (data plane).&lt;br /&gt;b) When the incoming packet is label so request comes to LIB (control plane) which then consult LFIB (data plane).&lt;br /&gt;c) Outgoing packet doesn’t matter whether it is packet (IP) or label.&lt;br /&gt;&lt;br /&gt;We can have total of four tables in MPLS, i.e. LIB, RIB, FIB and LFIB.&lt;br /&gt;&lt;br /&gt;1. RIB (Routing Information Base)&lt;br /&gt;2. LIB (Label Information Base)&lt;br /&gt;3. FIB (Forwarding Information Base)&lt;br /&gt;4. LFIB (Label Forwarding Information Base)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Label Format&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;MPLS uses 32-bit label field that contains the following information.&lt;br /&gt;1. 20-bit Label&lt;br /&gt;2. 3-bit experimental field and this is used for Quality of Service (QoS)&lt;br /&gt;3. 1-bit bottom of stack indicator, this play role when we are using multiple label&lt;br /&gt;4. 8-bit Time-to-live (TTL) field, when a packet is in a loop so it brings that out of that state.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router Terminologies in MPLS Domain&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Edge LSR (Label Switch Router), It can be either Egress LSR or Ingress LSR. The nature of the router depends on the flow of the data; a router can be Egress LSR or Ingress LSR at one time. For example data comes as IP based so the router which receive the IP packet is Ingress LSR at this point and forward the packet to the MPLS domain and on a router where this packet leaves the MPLS domain so that is Egress LSR. The duty of Edge LSR to received IP based packet and assign label and send to MPLS domain and vice versa.&lt;br /&gt;2. LSR (Label Switch Router) which is in the MPLS domain and whose duty is to forward labeled packets means duty just include Label swapping and forwarding.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Label Switch Path (LSP)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;LSP is the path which the packet follows forms the point where it enters the domain till it leaves the domain. LSP is unidirectional means from Router-A to Router-B we can have two LSP in opposite direction.&lt;br /&gt;A very little and brief introduction to MPLS, I hope this will be informative for you. Soon you will get more blogs on it.&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for you !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-2956003937806166828?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/2956003937806166828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=2956003937806166828' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2956003937806166828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2956003937806166828'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2011/04/what-is-mpls.html' title='What is MPLS ?'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7128459448406374376</id><published>2011-02-15T02:46:00.000-08:00</published><updated>2011-02-15T02:51:17.856-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='QoS'/><title type='text'>Quality of Service (QoS)</title><content type='html'>Finally I am going to say something about Quality of Service (QoS). QoS is becoming the need of every network now a days and one should be aware of this technology and one have to implement this in his network in order to have smooth communication. In this part of QoS I will be talking about the following few concept and slowly we will be going in dept of QoS.&lt;br /&gt;&lt;br /&gt; Brief History&lt;br /&gt; QoS Requirement&lt;br /&gt; QoS Deploying Methods&lt;br /&gt; QoS Toolbelt &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;History&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Best-Effort Model was based on first come and get, means whoever comes in so they will be assigned the bandwidth, then Integrated Services comes in and that was the first QoS application which uses RSVP to reserve bandwidth for our traffic. Differentiated Services was another application which was based on or gives services on per-hop basis to prioritized traffic, more flexible than Integrated Services as we don’t need to do reservation. After this MPLS/VPN QoS comes in, then Auto QoS then QoS for security, NBAR (Network Based Application Recognition) is used by QoS for security; I will discuss NBAR in detail later on in this QoS series. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;QoS Requirement&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We can have traffic in our network like DATA, VOICE or VEDIO; normally data is not that much important in comparison to Voice or Video and data is not that much bandwidth hungry like video. Voice is giving priority than all other traffic including video as we should have voice clear and a bit delay in video is acceptable. Now days we having video conferencing (Voice + Video):&lt;br /&gt;&lt;br /&gt;There are four evils of your network:&lt;br /&gt; &lt;br /&gt;&lt;em&gt;Lack of Bandwidth&lt;/em&gt; is when you not sufficient bandwidth available in your network for data. &lt;br /&gt;&lt;br /&gt;&lt;em&gt;Packet Loss&lt;/em&gt; is when you lose your data traffic because of delay or jitter.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Delay&lt;/em&gt; means how long it takes a packet to reach from one point to another point, For example ITU said that for PSTN the delay (one side) can be &lt; 150 ms.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Jitter&lt;/em&gt; is known as Delay Variation means one packet take 100 ms to reach from point-A to point-B and another packet take 130 ms, so the variation in the delay is called jitter. We can say that in this communication the jitter is 30 ms which results in packet loss.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;QoS Deploying Methods&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Command-Line Interface (CLI)&lt;br /&gt;2. Modular QoS CLI (MQC)&lt;br /&gt;3. Auto QoS&lt;br /&gt;4. QoS Policy Manager (QPM)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;QoS Toolbelt&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Classification &amp; Marking&lt;br /&gt;2. Policing &amp; Shaping&lt;br /&gt;3. Congestion Avoidance &lt;br /&gt;4. Congestion Management&lt;br /&gt;5. Link Efficiency Tools&lt;br /&gt;&lt;br /&gt;Study this site for more about the QoS in the coming posts.&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for you&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7128459448406374376?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7128459448406374376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7128459448406374376' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7128459448406374376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7128459448406374376'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2011/02/quality-of-service-qos.html' title='Quality of Service (QoS)'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3103315514363097635</id><published>2011-01-31T21:14:00.000-08:00</published><updated>2011-01-31T21:20:40.959-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Firewall'/><category scheme='http://www.blogger.com/atom/ns#' term='Netscreen'/><category scheme='http://www.blogger.com/atom/ns#' term='Juniper'/><category scheme='http://www.blogger.com/atom/ns#' term='Juniper Firewall'/><title type='text'>Resetting Netscreen Device (Juniper Firewall)</title><content type='html'>While thinking to start working on juniper, when I picked up Juniper Firewall (Netscreen-50) I was unable to login using the default username and password i.e. Netscreen and Netscreen, Now I had to reset the device in order to get in and enjoy configuring Juniper Firewall but same time you will loss all your configuration. When I consult the Netscreen-50 manual, I got two ways which can be used to reset the firewall, let’s look at the both ways:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Using RESET Button&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;a) On you device near power switch there is a small pinhole which can be used to reset you device.&lt;br /&gt;&lt;br /&gt;b) Use a small paper pin or any other narrow pin and insert that into this pinhole and push, while pushing the status of the LED will turn into AMBER&lt;br /&gt;&lt;br /&gt;c) Now after releasing the status will turn into GREEN&lt;br /&gt;&lt;br /&gt;d) Now wait for two to three seconds&lt;br /&gt;&lt;br /&gt;e) After that insert the pin into pinhole again and press for five to six seconds when the status of LED turn into RED, release you pin&lt;br /&gt;&lt;br /&gt;f) Now your device will resets into the default factory settings.&lt;br /&gt;&lt;br /&gt;g) Now you can enter into your device using the default username (Netscreen) and    password (Netscreen) &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Using Device Serial Number&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;a) This just needs your device to connect using consol cable.&lt;br /&gt;&lt;br /&gt;b) We can also reset our device using the device serial number, note down the serial number from the back of the device.&lt;br /&gt;&lt;br /&gt;c) Enter the serial number at the login prompt like &lt;br /&gt;&lt;br /&gt;&lt;em&gt;Login: 000099991111 (example)&lt;/em&gt;&lt;br /&gt;d) Again enter the same number at the password prompt&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Password: 000099991111&lt;/em&gt; &lt;br /&gt;&lt;br /&gt;&lt;em&gt;!!! lost password reset/!! you ha ye initiated a command to reset the device to factory defaults, clearing ah current configuration, keys and settings. would you like to continue? y/in!&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Enter Y&lt;br /&gt;&lt;br /&gt;Again you will see the following message:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;!! reconfirm lost password reset 111fyou continue, the entire configuration of the device will be erased. in addition, a permanent counter will be incremented to signify that this device has been reset. this is your last chance to cancel this command. if you proceed, the device will return to factory default configuration, which is: system ip: 192.188.1.1; username: netscreen;password' netscreen. would you like to continue? y/[n]&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Enter  Y&lt;br /&gt;&lt;br /&gt;Now you can login using the default username and password.  The device recovery feature is enable by default but we can disable it by using following command:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;unset admin device-reset &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you.&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3103315514363097635?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3103315514363097635/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3103315514363097635' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3103315514363097635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3103315514363097635'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2011/01/resetting-netscreen-device-juniper.html' title='Resetting Netscreen Device (Juniper Firewall)'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-2724888120890981483</id><published>2011-01-10T03:59:00.000-08:00</published><updated>2011-01-10T04:34:41.785-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='SDM'/><category scheme='http://www.blogger.com/atom/ns#' term='IPS'/><title type='text'>Low Heap Memory Size Configuring IPS using SDM</title><content type='html'>To have a secure network we must be aware of the technologies which can really help us in securing our network, I was studying CCNA-Security last day and a task was about to perform on Cisco router, “Implementing Router Based IPS”. In my case I took 1841 series router and access through SDM. when I select IPS from the left panel I got the following message……….! Banggggg :(&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;“Your current Java memory heap size is less than 256MB, the amount required for IOS to run. To change the Java memory heap size, open the java control panel and enter -Xmx256m in the Java Applet Runtime Settings dialog. This dialog is in the Java tab, or in the Advance tab of the Java control panel. After you have changed the Java heap size, restart Cisco SDM”.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I consult Google and SDM help so got the solution, Its very simple just follow the following steps:&lt;br /&gt;&lt;br /&gt;1. Select START, click on Control Panel&lt;br /&gt;&lt;br /&gt;2. Double Click on JAVA&lt;br /&gt;&lt;br /&gt;3. Click on ADVANCE tab, and Click on “Java Runtime” if you not able to see this then follow Step-4&lt;br /&gt;&lt;br /&gt;4. Click on JAVA tab and click on “View” under “Java Applet Runtime Settings”&lt;br /&gt;&lt;br /&gt;5. In the window under “Java Runtime Parameters” write down “-Xmx256m”.&lt;br /&gt;&lt;br /&gt;6. Click OK&lt;br /&gt;&lt;br /&gt;7. Click Apply and OK&lt;br /&gt;&lt;br /&gt;8. Restart your SDM &lt;br /&gt;&lt;br /&gt;9. Enjoy IPS Configuration :)&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-2724888120890981483?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/2724888120890981483/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=2724888120890981483' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2724888120890981483'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2724888120890981483'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2011/01/low-heap-memory-size-configuring-ips.html' title='Low Heap Memory Size Configuring IPS using SDM'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-1179599714085756460</id><published>2010-12-11T23:08:00.000-08:00</published><updated>2010-12-12T06:06:14.928-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='password recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='3750'/><category scheme='http://www.blogger.com/atom/ns#' term='Switch'/><title type='text'>3750 Switch Password Recovery</title><content type='html'>While having a class of CCNP-SWITCH, i had to perform some labs using layer-3 switch, i used cisco-3750 for the lab, i found that two of the switches are password protected as we purchased that few days before so i had to recvoer the password. Connect the PC to the console port of the switch and if switch is power on, unplug the power and again plug power and press the mode button (it depends on series to series for how long you have to press mode button untill the light turn to green then release it, in 3750 you may required to press for around 15-seconds).&lt;br /&gt;&lt;br /&gt;The switch should then give you this prompt&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;switch:&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;To initialize the flash file system, run the command&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;switch: flash_init &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The switch will now print few messages about the flash memeory, now the next command will be the helper command.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;switch: load_helper&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now we have to list the contents of our flash memory using folowing command.switch: &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;swith: dir flash:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This will display you the output somewhat like this as show below&lt;br /&gt;The switch file system appears: &lt;br /&gt;&lt;br /&gt;&lt;em&gt;Directory of flash:&lt;br /&gt;   13  drwx         192   Mar 01 1993 22:30:48  c3750-ipservices-mz-122-25.SEB&lt;br /&gt;   11  -rwx        5825   Mar 01 1993 22:31:59  config.text&lt;br /&gt;   18  -rwx         720   Mar 01 1993 02:21:30  vlan.dat&lt;br /&gt;16128000 bytes total (10003456 bytes free) &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Now rename the configuration file to be used later on.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;switch: rename flash:config.text flash:oldconfig.text &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To further boot the switch run the boot command, this will start the boot you are used to. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;switch: boot&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;When the switch is booted up, you will realize that the configuration is lost But you are enabled on the switch now and we can recover our old configuration as we kept that in flash with different name.&lt;br /&gt;&lt;br /&gt;To recover the old configuration:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Switch# rename flash:oldconfig.text flash:config.text &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;And now to replace the running configuration with the backup&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Switch# copy flash:config.text running-config&lt;/strong&gt;&lt;br /&gt;Destination filename [running-config]? &lt;br /&gt;&lt;br /&gt;Press enter, and you will have your old switch configuration back and you are enabled but remember to change your password now.&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you.&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-1179599714085756460?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/1179599714085756460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=1179599714085756460' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1179599714085756460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1179599714085756460'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/12/3750-switch-password-recovery.html' title='3750 Switch Password Recovery'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-8739725963794460928</id><published>2010-12-08T04:01:00.000-08:00</published><updated>2010-12-08T04:03:51.992-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hostid'/><category scheme='http://www.blogger.com/atom/ns#' term='netid'/><category scheme='http://www.blogger.com/atom/ns#' term='subnetting'/><category scheme='http://www.blogger.com/atom/ns#' term='supernetting'/><category scheme='http://www.blogger.com/atom/ns#' term='subnets'/><title type='text'>Find Net-ID, Host-ID, Total Subnets</title><content type='html'>Method # 1&lt;br /&gt;&lt;br /&gt;Let suppose we have address 192.168.1.142/25&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;First Address:&lt;/strong&gt; The first address in the block can be found by setting rightmost 32 – n bits to 0’s. Let’s take the address give above:&lt;br /&gt;11000000 10101000 00000001 10001110&lt;br /&gt;11000000 10101000 00000001 10000000 (as 32-25 = 7)&lt;br /&gt;&lt;br /&gt;192.168.1.127 is the First Address&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Last Address: &lt;/strong&gt;The last address in the block can be found by setting rightmost 32 – n bits to 1’s. Let’s take the address given above: &lt;br /&gt;   11000000 10101000 00000001 10001110&lt;br /&gt;   11000000 10101000 00000001 11111110 (do 32 – n)&lt;br /&gt;&lt;br /&gt;   192.168.1.254 is the Last Address&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Total Addresses:&lt;/strong&gt; The number of address in the block can be found by using the formula 232-n, let’s look at this:&lt;br /&gt;    232-25 = 24 = 16 &lt;br /&gt;&lt;br /&gt;I hope this will be informative for you.&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-8739725963794460928?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/8739725963794460928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=8739725963794460928' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8739725963794460928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8739725963794460928'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/12/find-net-id-host-id-total-subnets.html' title='Find Net-ID, Host-ID, Total Subnets'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3136453376931566644</id><published>2010-10-23T08:29:00.000-07:00</published><updated>2010-10-23T08:36:11.722-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='netmeeting'/><category scheme='http://www.blogger.com/atom/ns#' term='xp'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>NetMeeting in Windows XP?</title><content type='html'>NetMeeting is an XP standard component and is hidden and you have to configure it manually to share any resources between two nodes, participate in virtual meetings, and share data over the internet or intranet.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Steps for configuration:&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;1. Go to the Start menu and select Run.&lt;br /&gt;2. Type &lt;span style="font-style:italic;"&gt;conf&lt;/span&gt;&lt;br /&gt;3. After the NetMeeting configuration wizard starts, click Next.&lt;br /&gt;4. Enter your personal details and click Next.&lt;br /&gt;5. Select listing directory options and click Next.&lt;br /&gt;6. Select your connection media (e.g. DSL) and click Next.&lt;br /&gt;7. Configure the shortcut options to your liking and click Next.&lt;br /&gt;8. Click Next to check and configure your speaker volume and again next to check your headphone.&lt;br /&gt;9. Click Finish.&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for you !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3136453376931566644?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3136453376931566644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3136453376931566644' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3136453376931566644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3136453376931566644'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/10/netmeeting-in-windows-xp.html' title='NetMeeting in Windows XP?'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6873460784473073673</id><published>2010-09-16T22:20:00.000-07:00</published><updated>2010-09-16T22:24:45.462-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lotus'/><category scheme='http://www.blogger.com/atom/ns#' term='IBM'/><category scheme='http://www.blogger.com/atom/ns#' term='Notes'/><category scheme='http://www.blogger.com/atom/ns#' term='Domino'/><title type='text'>Lotus Domino Installation</title><content type='html'>Lotus represents BRAND, Domino is SERVER and Notes is CLIENT. I got the chance in Sui Northern Gas to work on this mail server and I found this very good and powerful. I will share the installation process of the Lotus Domino (Server) and Lotus Notes (Client) and some other necessary information related to this, here we go :), In this article lets see the installation of Lotus Domino:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Installation&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The Installation process is in Three Steps i.e. Installation, Setup and Run&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Installation&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Run the Setup (In my case 7.0.1), click Next, Again Next, Then Give Path like D:\Lotus\Domino\, click Next, You will get Four Option like &lt;br /&gt;&lt;br /&gt;1. Domino Utility Server, Only Application&lt;br /&gt;2. Messaging Server, Only Messages&lt;br /&gt;3. Enterprise Server Both&lt;br /&gt;4. Customize&lt;br /&gt;&lt;br /&gt;Select the one which suit you or which is your requirement, here I want to mention that in Lotus Domino Notes we can also configure the chat server also named as “SameTime”.&lt;br /&gt;In my case I select “Enterprise Server”, click Next and Finish.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Setup&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;After you done with Installation step, you will get an icon on desktop, Double Click to run setup (Lotus Domino Server) and Setup step starts:&lt;br /&gt;Click Next, Select First Server (If it is first, in my case it is), Give Server name and Server Title.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Server Name:&lt;/em&gt; R&amp;D&lt;br /&gt;&lt;em&gt;Server Title:&lt;/em&gt; Domino Server for R&amp;D&lt;br /&gt;&lt;br /&gt;Click Next, Give Org: Name and Org: Cert Password&lt;br /&gt;&lt;em&gt;Org Name:&lt;/em&gt; xyz&lt;br /&gt;&lt;em&gt;Org Cert Pass:&lt;/em&gt; 123456&lt;br /&gt;&lt;br /&gt;Click on Customize and Give Country Code: PK, Click OK then Click Next and for Admin and Password Click the Option “Also Save a Local Copy of ID File” &lt;br /&gt;&lt;br /&gt;Give &lt;em&gt;Domino Name:&lt;/em&gt; XYZ, Click Next, Setup for Internet (Three Option will List)&lt;br /&gt;&lt;br /&gt;1. HTTP&lt;br /&gt;2. Internet Call&lt;br /&gt;3. Directory Services (LDAP)&lt;br /&gt;&lt;br /&gt;In my case I chose all three options, Now Click Next, Then Customize and select TCP/IP then R&amp;D and then give name “R&amp;D.XYZ.COM”. click Next and Setup&lt;br /&gt;&lt;br /&gt;Now After Setup Complete so RUN the Lotus Domino and Your Installation is complete.&lt;br /&gt;&lt;br /&gt;NOTE: I use word Local Copy of ID, so I will talk about the ID, a total of three ID’s are created During Installation of Lotus Domino namely Server ID, Cert ID, and Admin ID.&lt;br /&gt;&lt;br /&gt;1. &lt;strong&gt;Server ID:&lt;/strong&gt; It is used to Create Server / Authentication&lt;br /&gt;2. &lt;strong&gt;Cert ID:&lt;/strong&gt; Used for User/Group Creation&lt;br /&gt;3. &lt;strong&gt;Admin ID:&lt;/strong&gt; Administrator used for Administration Purpose&lt;br /&gt;&lt;br /&gt;This is just the installation phase now a lot of configuration is required in the server to make it fully operational.&lt;br /&gt;&lt;br /&gt;I Hope it will be informative for You !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6873460784473073673?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6873460784473073673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6873460784473073673' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6873460784473073673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6873460784473073673'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/09/lotus-domino-installation.html' title='Lotus Domino Installation'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7858197456205577917</id><published>2010-08-28T00:33:00.000-07:00</published><updated>2010-08-28T00:57:15.523-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='alias'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco Router'/><title type='text'>Configuring ALIAS on Cisco Routers</title><content type='html'>If you are like me ;), you will hate typing in long commands again and again.... and again..... and again, here we have the solution for it. Instead of typing "show ip interface brief" all the time wouldn't it be nice to just type sib or any short cut you want. We can do it just by configuring an alias.&lt;br /&gt;&lt;br /&gt;Let's take a closer look at the alias command. This command is used at Global Configuration mode, enter the alias and identify the level for which you specify the alias. Some example are given as under:&lt;br /&gt;&lt;br /&gt;Use alias &lt;span style="font-weight:bold;"&gt;exec&lt;/span&gt; for Privileged Mode (Command you use at the Router#)&lt;br /&gt;&lt;br /&gt;Use alias &lt;span style="font-weight:bold;"&gt;configure&lt;/span&gt; for Global Configuration Mode (Command you use at the Router(config)#)&lt;br /&gt;&lt;br /&gt;Use alias &lt;span style="font-weight:bold;"&gt;interface&lt;/span&gt; for Interface Configuration Mode (Command you use at the Router(config-if)# prompt)&lt;br /&gt;&lt;br /&gt;After specifying the privilege level, enter the alias you want to create and the command you want it to stand for.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"As far as I know, you can configure an alias to do anything that you can do at the command line. Of course, there's a catch: An alias can't move between modes, type in passwords, or do anything interactive for you". Reference:&lt;/span&gt; &lt;a href="http://articles.techrepublic.com.com"&gt;Click Here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Eamples (Alias):&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Router(config) # alias exec sib show ip interface brief&lt;br /&gt;2. Router(config) # alias exec sr show ip route&lt;br /&gt;3. Router(config) # alias exec r show running&lt;br /&gt;4. Router(config) # alias exec son show ip ospf neighbour&lt;br /&gt;&lt;br /&gt;5. Router(config) # alias configure rr router rip&lt;br /&gt;6. Router(config) # alias configure ro router ospf&lt;br /&gt;&lt;br /&gt;7. Router(config) # alias interface ns no shutdown&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Default Alias:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. P for ping&lt;br /&gt;2. h for help&lt;br /&gt;3. u and un for undebug&lt;br /&gt;&lt;br /&gt;So likewise we can configure different alias and make our life easy.&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for you.&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7858197456205577917?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7858197456205577917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7858197456205577917' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7858197456205577917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7858197456205577917'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/08/configuring-alias-on-cisco-routers.html' title='Configuring ALIAS on Cisco Routers'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6874683782182894183</id><published>2010-08-15T12:42:00.000-07:00</published><updated>2010-08-15T13:23:16.056-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='FrameRelay'/><category scheme='http://www.blogger.com/atom/ns#' term='WAN'/><category scheme='http://www.blogger.com/atom/ns#' term='CCIE'/><title type='text'>Advance WAN Configuration, Frame Relay</title><content type='html'>While preparing for my CCIE (Routing &amp; Switching), I am going through the detail concept of each topic, lets talk little bit about frame relay. The different terminology that are used in frame realy are as under:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Terminlogy&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Permanent Virtual Circuti (PVC)&lt;br /&gt;Data-Link Connection Identifier (DLCI)&lt;br /&gt;Local Management Interface (LMI)&lt;br /&gt;Network-to-Network Interface (NNI)&lt;br /&gt;Local Access Rate / Committed Information Rate&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Base Config, W/Inverse-ARP&lt;br /&gt;Manual Config, Sub-Interfaces&lt;br /&gt;Hybrid Config Example&lt;br /&gt;Verification&lt;br /&gt;Frame-Relay Config, W/Inverse ARP&lt;br /&gt;&lt;br /&gt;What this &lt;span style="font-style:italic;"&gt;Inverse-ARP&lt;/span&gt; means, when Router-A sends request with DLCI 102 so the response of Router-B is positve that I available here so this response of Router-B is Inverse-ARP. Whenever configuration of frame relay is done so we can have any one of the following state by issuing a single command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router-B #&lt;/span&gt; Show frame-relay map&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Status:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Active:&lt;/span&gt; This means that Local and Remote connection are working&lt;br /&gt;&lt;span style="font-style:italic;"&gt;InActive:&lt;/span&gt; This means that Local Connection is woring while Remote is not working&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Deleted:&lt;/span&gt; Local Connection is not working while Remote is unknown&lt;br /&gt;Let suppose Router-A say to Router-B that I want to reach DLCI 109 and in response Router-B say I am unaware of this DLCI so this is Deleted Status.&lt;br /&gt;Lets look at the output on one router&lt;br /&gt;&lt;br /&gt;Router-C#show frame-relay map&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Serial1/0 (up): ip 172.16.1.3 dlci 301(0x12D,0x48D0), static,&lt;br /&gt;              broadcast,&lt;br /&gt;              CISCO, status defined, active&lt;br /&gt;Serial1/0 (up): ip 172.16.1.1 dlci 301(0x12D,0x48D0), static,&lt;br /&gt;              broadcast,&lt;br /&gt;              CISCO, status defined, active&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE:&lt;/span&gt; In CCIE Lab and actual lab we have to turn off this INVERSE-ARP as it will dynamically find the DLCI and Traffice will send to those route to which we don’t want to send.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Frame Relay Configuration, Sub Interfaces&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;First Let me clear why we using sub-interfaces, why not single interfaces so there are couple of reason for it, 1st Reason is that we have two different subnets, 2nd Reason is Due to Split Horizon (“It states that don’t send traffic back on interface on which it arrives” for further deatil see &lt;a href="http://sohailpk.blogspot.com/search/label/split-horizon%20EIGRP"&gt;Here&lt;/a&gt;), 3rd Reason is that look at the topology when LAN traffic of Router-B send to Router-A so it will send to Router-C and Routing loops will be created and split-horizon rules tells us not to do this, so we use sub-interfaces for this reason.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OTefDZiV8NU/TGhLE5PWsjI/AAAAAAAAAdU/KOM5vNiVyss/s1600/1.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 229px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/TGhLE5PWsjI/AAAAAAAAAdU/KOM5vNiVyss/s320/1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5505733091917214258" /&gt;&lt;/a&gt;&lt;br /&gt;Look at the configuration below, but let me explain two commands that why I used that here:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Router-A (config) # interface serial 1/0&lt;br /&gt;Router-A (config-if) # no frame-relay inverse-arp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We block to discover who is on other side&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Router-A (config-if) # no arp frame-relay&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This command states that one any onw try to access you, so don’t response&lt;br /&gt;After configuration between Router-A and Router-B as Point-to-Point  and Router-A and Router-C, Router-D as Multipoint so when we chek connectivity between Router-C and Router-D so it will not work as we have to do the DLCI mapping for them also.&lt;br /&gt;Another most important thing is that at end of all configuraion The Router-D LAN traffice will be there in Router-A but not in Router-B and Router-C and it is because of split-horizon, so we have to turn off it manually  (Traffice send from Router-D  on interface serial 1/0.2)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router-A(config)# interface serial 1/0.2&lt;br /&gt;Router-A(config-subif)# no ip split-horizon eigrp 1&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router-C # show ip route&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;     172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks&lt;br /&gt;D       172.16.0.0/16 is a summary, 00:01:12, Null0&lt;br /&gt;C       172.16.1.0/24 is directly connected, Serial1/0&lt;br /&gt;D    10.0.0.0/8 [90/2681856] via 172.16.1.1, 00:00:12, Serial1/0&lt;br /&gt;C    192.168.2.0/24 is directly connected, FastEthernet2/0&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;D    192.168.3.0/24 [90/2684416] via 172.16.1.1, 00:00:07, Serial1/0&lt;/span&gt;&lt;br /&gt;The Router-D LAN route is shown as bold in the output.&lt;br /&gt;&lt;br /&gt;Now lets look at the detail configuration on each router:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Frame-Relay Switch&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;hostname FRS&lt;br /&gt;!&lt;br /&gt;boot-start-marker&lt;br /&gt;boot-end-marker&lt;br /&gt;!&lt;br /&gt;&lt;br /&gt;ip cef&lt;br /&gt;!&lt;br /&gt;frame-relay switching&lt;br /&gt;!&lt;br /&gt;interface FastEthernet0/0&lt;br /&gt; no ip address&lt;br /&gt; shutdown&lt;br /&gt; duplex half&lt;br /&gt;!&lt;br /&gt;interface Serial1/0&lt;br /&gt; no ip address&lt;br /&gt; encapsulation frame-relay&lt;br /&gt; serial restart-delay 0&lt;br /&gt; clock rate 64000&lt;br /&gt; no fair-queue&lt;br /&gt; frame-relay lmi-type cisco&lt;br /&gt; frame-relay intf-type dce&lt;br /&gt; frame-relay route 102 interface Serial1/1 201&lt;br /&gt; frame-relay route 103 interface Serial1/2 301&lt;br /&gt; frame-relay route 104 interface Serial1/3 401&lt;br /&gt;!&lt;br /&gt;interface Serial1/1&lt;br /&gt; no ip address&lt;br /&gt; encapsulation frame-relay&lt;br /&gt; serial restart-delay 0&lt;br /&gt; clock rate 64000&lt;br /&gt; frame-relay lmi-type cisco&lt;br /&gt; frame-relay intf-type dce&lt;br /&gt; frame-relay route 201 interface Serial1/0 102&lt;br /&gt;!&lt;br /&gt;interface Serial1/2&lt;br /&gt; no ip address&lt;br /&gt; encapsulation frame-relay&lt;br /&gt; serial restart-delay 0&lt;br /&gt; clock rate 64000&lt;br /&gt; frame-relay lmi-type cisco&lt;br /&gt; frame-relay intf-type dce&lt;br /&gt; frame-relay route 301 interface Serial1/0 103&lt;br /&gt;!&lt;br /&gt;interface Serial1/3&lt;br /&gt; no ip address&lt;br /&gt; encapsulation frame-relay&lt;br /&gt; serial restart-delay 0&lt;br /&gt; clock rate 64000&lt;br /&gt; frame-relay lmi-type cisco&lt;br /&gt; frame-relay intf-type dce&lt;br /&gt; frame-relay route 401 interface Serial1/0 104&lt;br /&gt;!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router-A CONFIGURATIONS&lt;/span&gt;&lt;br /&gt;!&lt;br /&gt;hostname A&lt;br /&gt;!&lt;br /&gt;ip cef&lt;br /&gt;!&lt;br /&gt;interface Serial1/0&lt;br /&gt; no ip address&lt;br /&gt; encapsulation frame-relay&lt;br /&gt; serial restart-delay 0&lt;br /&gt; no fair-queue&lt;br /&gt; no arp frame-relay&lt;br /&gt; no frame-relay inverse-arp&lt;br /&gt;!&lt;br /&gt;interface Serial1/0.1 point-to-point&lt;br /&gt; ip address 10.1.1.1 255.255.255.0&lt;br /&gt; frame-relay interface-dlci 102   &lt;br /&gt;!&lt;br /&gt;interface Serial1/0.2 multipoint&lt;br /&gt; ip address 172.16.1.1 255.255.255.0&lt;br /&gt; no ip split-horizon eigrp 1&lt;br /&gt; frame-relay map ip 172.16.1.3 104 broadcast&lt;br /&gt; frame-relay map ip 172.16.1.2 103 broadcast&lt;br /&gt;!&lt;br /&gt;router eigrp 1&lt;br /&gt; network 10.0.0.0&lt;br /&gt; network 172.16.0.0&lt;br /&gt; auto-summary&lt;br /&gt;!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router-C CONFIGURATIONS&lt;/span&gt;&lt;br /&gt;!&lt;br /&gt;hostname C&lt;br /&gt;!&lt;br /&gt;no aaa new-model&lt;br /&gt;!&lt;br /&gt;!&lt;br /&gt;ip cef&lt;br /&gt;&lt;br /&gt;interface Serial1/0&lt;br /&gt; ip address 172.16.1.2 255.255.255.0&lt;br /&gt; encapsulation frame-relay&lt;br /&gt; serial restart-delay 0&lt;br /&gt; clock rate 64000&lt;br /&gt; no arp frame-relay&lt;br /&gt; frame-relay map ip 172.16.1.3 301 broadcast&lt;br /&gt; frame-relay map ip 172.16.1.1 301 broadcast&lt;br /&gt; no frame-relay inverse-arp&lt;br /&gt; frame-relay lmi-type cisco&lt;br /&gt;!&lt;br /&gt;interface FastEthernet2/0&lt;br /&gt; ip address 192.168.2.1 255.255.255.0&lt;br /&gt; duplex auto&lt;br /&gt; speed auto&lt;br /&gt;!&lt;br /&gt;router eigrp 1&lt;br /&gt; network 172.16.0.0&lt;br /&gt; network 192.168.2.0&lt;br /&gt; auto-summary&lt;br /&gt;!&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for You !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6874683782182894183?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6874683782182894183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6874683782182894183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6874683782182894183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6874683782182894183'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/08/advance-wan-configuration-frame-relay.html' title='Advance WAN Configuration, Frame Relay'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/TGhLE5PWsjI/AAAAAAAAAdU/KOM5vNiVyss/s72-c/1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-9160308186480749624</id><published>2010-08-13T11:49:00.000-07:00</published><updated>2010-08-13T12:21:46.779-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3550'/><category scheme='http://www.blogger.com/atom/ns#' term='SMI'/><category scheme='http://www.blogger.com/atom/ns#' term='Switch'/><category scheme='http://www.blogger.com/atom/ns#' term='EMI'/><title type='text'>Why 3550 and SMI v/s EMI</title><content type='html'>Before I discuss difference between SMI and EMI ios on Cisco catalyst switch (3550), lets first talk about a big Question WHY 3350 switch ?&lt;br /&gt;&lt;br /&gt;1. First Switch which can be a Router&lt;br /&gt;2. Some other features support like Uplink Fast / Backbone Fast / Rapid STP&lt;br /&gt;3. HUGE bandwidth optimization using Layer-2 and Layer-3 Etherchannel&lt;br /&gt;4. Advance QoS Features&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Models&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. 3550-24&lt;br /&gt;2. 3550-48&lt;br /&gt;3. 3550-12T&lt;br /&gt;4. 3550-12G&lt;br /&gt;&lt;br /&gt;3550-24 and 48 are either 10-Base, 100-Base or 1000-Base. While 3550-12T provides 10-ports of having speed either 10, 100 or 1000 Base while having 2-GBIC ports which is used for Fiber connectivity. On the other hand 3550-12G provides 10-GBIC ports and two Cat-5 ports of respective speed.&lt;br /&gt;&lt;br /&gt;Now Lets talk about the ios that 3550 switch has, it will be either 3550-EMI IOS or 3550-SMI IOS so we should know the difference between these two so that we can decide which ios to go for:&lt;br /&gt;&lt;br /&gt;The 3550 is either a Layer-2 or Layer-3 switch, which depends on the software version and feature set that you install. The naming conventions for 3550 images can be any one:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ipbase (Formerly SMI)&lt;/span&gt;: Cisco IOS IP base image and device manager files. This image has Layer 2+ and basic Layer 3 routing (Static, RIP) features.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ipservices(Formerly EMI):&lt;/span&gt; Cisco IOS IP services image and device manager files. This image has Layer 2+ and full Layer 3 features.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ipbasek9:&lt;/span&gt; Cisco IOS IP base cryptographic image and device manager files. This image has the Kerberos, Secure Shell (SSH), Layer 2+, and basic Layer 3 routing features.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ipservicesk9:&lt;/span&gt; Cisco IOS IP services cryptographic image and device manager files. This image has the Kerberos, SSH, Layer 2+, and full Layer 3 features.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The differences between the two are:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;SMI&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The SMI image is essentially an L2-only image. However, SMI adds basic L3 functionality to the image. This L3 functionality includes static unicast routing, the Routing Information Protocol (RIP), and other features. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;EMI&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The EMI image is an L2 image in combination with a full L3 feature set. This feature set includes:&lt;br /&gt;Interior Gateway Routing Protocol (IGRP) and Enhanced IGRP (EIGRP)&lt;br /&gt;Open Shortest Path First (OSPF) Protocol&lt;br /&gt;Border Gateway Protocol Version 4 (BGP4)&lt;br /&gt;Hot Standby Router Protocol (HSRP)&lt;br /&gt;Protocol Independent Multicast (PIM)&lt;br /&gt;Other advanced services&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for you !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-9160308186480749624?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/9160308186480749624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=9160308186480749624' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/9160308186480749624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/9160308186480749624'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/08/why-3550-and-smi-vs-emi.html' title='Why 3550 and SMI v/s EMI'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7457129117939278949</id><published>2010-08-10T00:22:00.000-07:00</published><updated>2010-08-10T00:31:24.124-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP'/><title type='text'>Golden Rule of BGP</title><content type='html'>&lt;span style="font-style:italic;"&gt;BGP does not enable one AS to send traffic to a neighbor AS intending that the traffic take a different route from that taken by traffic originating in the neighbor AS.&lt;/span&gt; RFC 1711&lt;br /&gt;&lt;br /&gt;While preparing for my CCIE, I came across with the above statement showed as Golden Rule of BGP but believe me I didn’t get what it means while reading for the first time, in fact after reading more than ten times I got a little bit, then after some help and consultancy I got the whole idea, let me explain what it means:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;“This simply means that don’t tell a person how to work” means that we are not allowed suggesting other AS traffic to follow which  path or another servide provider tell us what to do.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7457129117939278949?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7457129117939278949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7457129117939278949' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7457129117939278949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7457129117939278949'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/08/golden-rule-of-bgp.html' title='Golden Rule of BGP'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-2235015373000775665</id><published>2010-08-06T11:22:00.000-07:00</published><updated>2010-08-06T11:31:31.776-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CCIE'/><title type='text'>Core Knowledge Questions Removed for CCIE R&amp;S and Voice Lab Exams</title><content type='html'>I am going to appear for CCIE (R&amp;S) Bootcamp on 9th August 2010 in Corvit Lahore. Last Night i was looking on &lt;span style="font-weight:bold;"&gt;www.cisco.com&lt;/span&gt;. I was reading about CCIE, i came across with this statement &lt;span style="font-style:italic;"&gt;"CCIE R&amp;S and CCIE Voice Lab Exams, in all global locations, will no longer include the four open-ended Core Knowledge questions"&lt;/span&gt; for further detail consult reference links.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Reference:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;www.cisco.com/web/learning/le3/ccie/index.htm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;https://learningnetwork.cisco.com/docs/DOC-6484&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-2235015373000775665?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/2235015373000775665/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=2235015373000775665' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2235015373000775665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2235015373000775665'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/08/core-knowledge-questions-removed-for.html' title='Core Knowledge Questions Removed for CCIE R&amp;S and Voice Lab Exams'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-98805341461467395</id><published>2010-08-03T11:49:00.000-07:00</published><updated>2010-08-03T12:39:44.648-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cisco Router'/><category scheme='http://www.blogger.com/atom/ns#' term='NetFlow'/><title type='text'>Configuring Cisco IOS Net Flow and NetFlow Data Export</title><content type='html'>NetFlow is an application which works independently on internetworking devices and have no impact on other device operation. This application provides statistics of packet flowing through the cisco devices. There are some pre-requisities for configuring this application on cisco router:&lt;br /&gt;&lt;br /&gt;1. Configuring IP Routing&lt;br /&gt;2. CEF, Fast Switching or Distributed CEF any one should be configured&lt;br /&gt;3. You have sufficient resources as this application consume more memory&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Step-by-Step Procedure&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Enable&lt;br /&gt;2. Configure Terminal&lt;br /&gt;3. IP flow-export [Destination Address] Optional&lt;br /&gt;4. IP flow-export version 9&lt;br /&gt;5. interface [interface type][interface number]&lt;br /&gt;6. ip flow [ingress|egress]&lt;br /&gt;7. exit&lt;br /&gt;8. end&lt;br /&gt;&lt;br /&gt;The Detail description of each step is discuss as under:&lt;br /&gt;&lt;br /&gt;1. Eenter your desired password if prompt&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;My-Router &gt;&lt;/strong&gt; enable&lt;br /&gt;&lt;br /&gt;2. Enter global configuration mode by entering following command &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;My-Router #&lt;/strong&gt; configure terminal&lt;br /&gt;&lt;br /&gt;3. Specify IP address or hostname of the workstation to which you want to send your NetFlow traffic. The workstation is running an application such as NetFlow Collection Engine (NFC). (Optional)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;My-Router (config) #&lt;/strong&gt; ip flow-export destination 192.168.1.1 &lt;br /&gt;&lt;br /&gt;4. Enable the export of information in NetFlow cache entries. The version 9 the export packet follow version 9 format. (Optional)&lt;br /&gt; &lt;strong&gt;&lt;br /&gt;My-Router (config) #&lt;/strong&gt; ip flow-export version 9&lt;br /&gt;&lt;br /&gt;5. Specify the interface for which you want to enable NetFlow on&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;My-Router (config) #&lt;/strong&gt; interface serial 2/0&lt;br /&gt;&lt;br /&gt;6. Enable NetFlow on interface, Ingress (Capture traffic that is recieved by the interface), Egress (Capture traffic that is being transmitted by the interface)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;My-Router (config) #&lt;/strong&gt; interface serial 2/0&lt;br /&gt;&lt;strong&gt;My-Router (config-if) #&lt;/strong&gt; ip flow ingress | egress&lt;br /&gt;&lt;br /&gt;7. Optional, now exit global configuration mode&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;My-Router (config) #&lt;/strong&gt; exit&lt;br /&gt;&lt;strong&gt;My-Router #&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Verification:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To Verify that NetFlow is working properly, issue following command &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. show ip flow interface &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command display NetFlow configuration for an interface. The following is sample output from this command:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;My-Router# &lt;/strong&gt;show ip flow interface&lt;br /&gt;&lt;em&gt;Serial 2/0&lt;br /&gt;  ip flow ingress&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. show ip cache flow &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command use to verify that NetFlow is operational, and to display a summary of the NetFlow statistics. The following is sample output from this command:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;My-Router# &lt;/strong&gt;show ip cache flow&lt;br /&gt;&lt;br /&gt;&lt;em&gt;IP packet size distribution (1103746 total packets):&lt;br /&gt;   1-32   64   96  128  160  192  224  256  288  320  352  384  416  448  480&lt;br /&gt;   .249 .694 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000&lt;br /&gt;    512  544  576 1024 1536 2048 2560 3072 3584 4096 4608&lt;br /&gt;   .000 .000 .027 .000 .027 .000 .000 .000 .000 .000 .000&lt;br /&gt;IP Flow Switching Cache, 278544 bytes&lt;br /&gt;  35 active, 4061 inactive, 980 added&lt;br /&gt;  2921778 ager polls, 0 flow alloc failures&lt;br /&gt;  Active flows timeout in 30 minutes&lt;br /&gt;  Inactive flows timeout in 15 seconds&lt;br /&gt;IP Sub Flow Cache, 21640 bytes&lt;br /&gt;  0 active, 1024 inactive, 0 added, 0 added to flow&lt;br /&gt;  0 alloc failures, 0 force free&lt;br /&gt;  1 chunk, 1 chunk added&lt;br /&gt;  last clearing of statistics never&lt;br /&gt;Protocol         Total    Flows   Packets Bytes  Packets Active(Sec) Idle(Sec)&lt;br /&gt;--------         Flows     /Sec     /Flow  /Pkt     /Sec     /Flow     /Flow&lt;br /&gt;TCP-FTP            108      0.0      1133    40      2.4    1799.6       0.9&lt;br /&gt;TCP-FTPD           108      0.0      1133    40      2.4    1799.6       0.9&lt;br /&gt;TCP-WWW             54      0.0      1133    40      1.2    1799.6       0.8&lt;br /&gt;TCP-SMTP            54      0.0      1133    40      1.2    1799.6       0.8&lt;br /&gt;TCP-BGP             27      0.0      1133    40      0.6    1799.6       0.7&lt;br /&gt;TCP-NNTP            27      0.0      1133    40      0.6    1799.6       0.7&lt;br /&gt;TCP-other          297      0.0      1133    40      6.8    1799.7       0.8&lt;br /&gt;UDP-TFTP            27      0.0      1133    28      0.6    1799.6       1.0&lt;br /&gt;UDP-other          108      0.0      1417    28      3.1    1799.6       0.9&lt;br /&gt;ICMP               135      0.0      1133   427      3.1    1799.6       0.8&lt;br /&gt;Total:             945      0.0      1166    91     22.4    1799.6       0.8&lt;br /&gt;SrcIf         SrcIPaddress    DstIf         DstIPaddress    Pr SrcP DstP  Pkts&lt;br /&gt;Et0/0         192.168.5.9    Et1/0.1       172.16.10.200   01 0000 0C01    51 &lt;br /&gt;Et0/0         10.10.1.1      Null          172.16.11.5     11 0043 0043    51 &lt;br /&gt;Et0/0         10.10.1.1      Null          172.16.11.5     11 0045 0045    51 &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. show ip cache verbose flow &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Use this command to verify that NetFlow is operational and to display a detailed summary of the NetFlow statistics. The following is sample output from this command: &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;My-Router #&lt;/strong&gt; show ip cache verbose flow&lt;br /&gt;&lt;br /&gt;&lt;em&gt;IP packet size distribution (1130681 total packets):&lt;br /&gt;   1-32   64   96  128  160  192  224  256  288  320  352  384  416  448  480&lt;br /&gt;   .249 .694 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000 .000&lt;br /&gt;    512  544  576 1024 1536 2048 2560 3072 3584 4096 4608&lt;br /&gt;   .000 .000 .027 .000 .027 .000 .000 .000 .000 .000 .000&lt;br /&gt;IP Flow Switching Cache, 278544 bytes&lt;br /&gt;  35 active, 4061 inactive, 980 added&lt;br /&gt;  2992518 ager polls, 0 flow alloc failures&lt;br /&gt;  Active flows timeout in 30 minutes&lt;br /&gt;  Inactive flows timeout in 15 seconds&lt;br /&gt;IP Sub Flow Cache, 21640 bytes&lt;br /&gt;  0 active, 1024 inactive, 0 added, 0 added to flow&lt;br /&gt;  0 alloc failures, 0 force free&lt;br /&gt;  1 chunk, 1 chunk added&lt;br /&gt;  last clearing of statistics never&lt;br /&gt;Protocol         Total    Flows   Packets Bytes  Packets Active(Sec) Idle(Sec)&lt;br /&gt;--------         Flows     /Sec     /Flow  /Pkt     /Sec     /Flow     /Flow&lt;br /&gt;TCP-FTP            108      0.0      1133    40      2.4    1799.6       0.9&lt;br /&gt;TCP-FTPD           108      0.0      1133    40      2.4    1799.6       0.9&lt;br /&gt;TCP-WWW             54      0.0      1133    40      1.2    1799.6       0.8&lt;br /&gt;TCP-SMTP            54      0.0      1133    40      1.2    1799.6       0.8&lt;br /&gt;TCP-BGP             27      0.0      1133    40      0.6    1799.6       0.7&lt;br /&gt;TCP-NNTP            27      0.0      1133    40      0.6    1799.6       0.7&lt;br /&gt;TCP-other          297      0.0      1133    40      6.6    1799.7       0.8&lt;br /&gt;UDP-TFTP            27      0.0      1133    28      0.6    1799.6       1.0&lt;br /&gt;UDP-other          108      0.0      1417    28      3.0    1799.6       0.9&lt;br /&gt;ICMP               135      0.0      1133   427      3.0    1799.6       0.8&lt;br /&gt;Total:             945      0.0      1166    91     21.9    1799.6       0.8&lt;br /&gt;SrcIf          SrcIPaddress    DstIf          DstIPaddress    Pr TOS Flgs  Pkts&lt;br /&gt;Port Msk AS                    Port Msk AS    NextHop              B/Pk  Active&lt;br /&gt;Et0/0          192.168.5.9    Et1/0.1        172.16.10.200   01 00  10     799 &lt;br /&gt;0000 /0  0                     0C01 /0  0     0.0.0.0                28  1258.1&lt;br /&gt;Et0/0          10.10.1.1      Null           172.16.11.5     11 00  10     799 &lt;br /&gt;0043 /0  0                     0043 /0  0     0.0.0.0                28  1258.0&lt;br /&gt;Et0/0          10.10.1.1      Null           172.16.11.5     11 00  10     799 &lt;br /&gt;0045 /0  0                     0045 /0  0     0.0.0.0                28  1258.0&lt;br /&gt;Et0/0          10.24.3.1     Et1/0.1        172.16.10.2     01 00  10     799 &lt;br /&gt;0000 /0  0                     0800 /0  0     0.0.0.0                28  1258.1&lt;br /&gt;Et0/0          10.10.1.1      Null           172.16.11.6     11 00  10     799 &lt;br /&gt;0044 /0  0                     0044 /0  0     0.0.0.0                28  1258.1&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-98805341461467395?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/98805341461467395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=98805341461467395' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/98805341461467395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/98805341461467395'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/08/configuring-cisco-ios-net-flow-and.html' title='Configuring Cisco IOS Net Flow and NetFlow Data Export'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-8309909305634292589</id><published>2010-04-28T00:27:00.000-07:00</published><updated>2010-04-28T00:33:45.835-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CCNP'/><title type='text'>ROUTE (642-902) Exam Topics</title><content type='html'>Exam Topics&lt;br /&gt;&lt;br /&gt;The following information provides general guidelines for the content likely to be included on the exam. However, other related topics may also appear on any specific delivery of the exam. In order to better reflect the contents of the exam and for clarity purposes the guidelines below may change at any time without notice.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Implement an EIGRP based solution, given a network design and a set of requirements&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Determine network resources needed for implementing EIGRP on a network&lt;br /&gt;Create an EIGRP implementation plan&lt;br /&gt;Create an EIGRP verification plan&lt;br /&gt;Configure EIGRP routing&lt;br /&gt;Verify EIGRP solution was implemented properly using show and debug commands&lt;br /&gt;Document results of EIGRP implementation and verification&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Implement a multi-area OSPF Network, given a network design and a set of requirements&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Determine network resources needed for implementing OSPF on a network&lt;br /&gt;Create an OSPF implementation plan&lt;br /&gt;Create an OSPF verification plan&lt;br /&gt;Configure OSPF routing&lt;br /&gt;Verify OSPF solution was implemented properly using show and debug commands&lt;br /&gt;Document results of OSPF implementation and verification plan&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Implement an eBGP based solution, given a network design and a set of requirements&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Determine network resources needed for implementing eBGP on a network&lt;br /&gt;Create an eBGP implementation plan&lt;br /&gt;Create an eBGP verification plan&lt;br /&gt;Configure eBGP routing&lt;br /&gt;Verify eBGP solution was implemented properly using show and debug commands&lt;br /&gt;Document results of eBGP implementation and verification plan&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Implement an IPv6 based solution, given a network design and a set of requirements&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Determine network resources needed for implementing IPv6 on a network&lt;br /&gt;Create an IPv6 implementation plan&lt;br /&gt;Create an IPv6 verification plan&lt;br /&gt;Configure IPv6 routing&lt;br /&gt;Configure IPv6 interoperation with IPv4&lt;br /&gt;Verify IPv6 solution was implemented properly using show and debug commands&lt;br /&gt;Document results of IPv6 implementation and verification plan&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Implement an IPv4 or IPv6 based redistribution solution, given a network design and a set of requirements&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create a redistribution implementation plan based upon the results of the redistribution analysis&lt;br /&gt;Create a redistribution verification plan&lt;br /&gt;Configure a redistribution solution&lt;br /&gt;Verify that a redistribution was implemented&lt;br /&gt;Document results of a redistribution implementation and verification plan&lt;br /&gt;Identify the differences between implementing an IPv4 and IPv6 redistribution solution&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Implement Layer 3 Path Control Solution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create a Layer 3 path control implementation plan based upon the results of the redistribution analysis&lt;br /&gt;Create a Layer 3 path control verification plan&lt;br /&gt;Configure Layer 3 path control&lt;br /&gt;Verify that a Layer 3 path control  was implemented&lt;br /&gt;Document results of a Layer 3 path control implementation and verification plan&lt;br /&gt;Implement basic teleworker and branch services&lt;br /&gt;Describe broadband technologies&lt;br /&gt;Configure basic broadband connections&lt;br /&gt;Describe basic VPN technologies&lt;br /&gt;Configure GRE&lt;br /&gt;Describe branch access technologies&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Source:&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt; https://learningnetwork.cisco.com/docs/DOC-6565&lt;br /&gt;&lt;br /&gt;I Hope it will Help You !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-8309909305634292589?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/8309909305634292589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=8309909305634292589' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8309909305634292589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8309909305634292589'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/04/route-642-902-exam-topics.html' title='ROUTE (642-902) Exam Topics'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-4405363964873113451</id><published>2010-01-29T21:15:00.001-08:00</published><updated>2010-01-29T21:23:04.505-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CCNP'/><title type='text'>CCNP Update: Changes in a Nutshell</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OTefDZiV8NU/S2PBHgiy-bI/AAAAAAAAAbg/Jew14rVLzA8/s1600-h/120px-Cisco_logo.svg.png"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 120px; height: 63px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/S2PBHgiy-bI/AAAAAAAAAbg/Jew14rVLzA8/s320/120px-Cisco_logo.svg.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5432397910278076850" /&gt;&lt;/a&gt;&lt;br /&gt;Okay, here's the scoop:&lt;br /&gt;&lt;br /&gt;    * CCNP will now be three exams, ROUTE, SWITCH, and TSHOOT&lt;br /&gt;&lt;br /&gt;    * Exam price will increase from $150.00 to $200.00 per exam&lt;br /&gt;&lt;br /&gt;    * ROUTE and TSHOOT courses (typically 1 week Cisco official courses) are now supplemented with e-learning material (nearly 8 hours for ROUTE and 9 hours for TSHOOT) which is exam material&lt;br /&gt;&lt;br /&gt;    * Classes / Exams are becoming even MORE real-world (TSHOOT class is 92% hands-on)&lt;br /&gt;&lt;br /&gt;    * New ROUTE and SWITCH exam is available in March, TSHOOT is available in April.&lt;br /&gt;&lt;br /&gt;    * BSCI exam can substitute for ROUTE or vice versa&lt;br /&gt;&lt;br /&gt;    * BCMSN exam can substitute for SWITCH or vice versa&lt;br /&gt;&lt;br /&gt;    * ONT and ISCW exams can substitute for TSHOOT until end of July (ONT/ICSW exams expire then...BSCI and BCMSN are no longer offered after July 31, however can substitute for ROUTE / SWITCH for their entire 3 year expiration period).&lt;br /&gt;&lt;br /&gt;    * New CCNP exams now prepare you more for the CCIE R&amp;S&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://www.ciscoblog.com/"&gt;http://www.ciscoblog.com/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-4405363964873113451?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/4405363964873113451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=4405363964873113451' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4405363964873113451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4405363964873113451'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2010/01/ccnp-update-changes-in-nutshell.html' title='CCNP Update: Changes in a Nutshell'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OTefDZiV8NU/S2PBHgiy-bI/AAAAAAAAAbg/Jew14rVLzA8/s72-c/120px-Cisco_logo.svg.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7233862825278422680</id><published>2009-12-17T08:37:00.000-08:00</published><updated>2009-12-17T08:43:44.072-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TCP'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft IIS'/><title type='text'>How to Change Microsoft IIS TCP Port Number</title><content type='html'>A solution has been asked for &lt;strong&gt;“How to change TCP port number in Microsoft IIS (Web-Server)”&lt;/strong&gt;, as he has installed Microsoft IIS and Apache and both were listening on port # 80, although it is simple but following are the steps for changing the TCP port number in Microsoft IIS.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;1. Click Start, Administrative Tools&lt;br /&gt;&lt;br /&gt;2. Click on Microsoft Internet Information Services (IIS)&lt;br /&gt;&lt;br /&gt;3. Expand the Web-Server that you want and then expand the Web-Site in left Pane or double click the web-site and you will get the &lt;strong&gt;“Default Page”&lt;/strong&gt; or Page that you created in right pane.&lt;br /&gt;&lt;br /&gt;4. Right click on &lt;strong&gt;“Default Page”&lt;/strong&gt; and choose &lt;strong&gt;“Properties” &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;5. Click &lt;strong&gt;“Web Site”&lt;/strong&gt; tab.&lt;br /&gt;&lt;br /&gt;6. Change the TCP Port number in the box (for multiple port settings, click on “Advance”)&lt;br /&gt;&lt;br /&gt;7. Click &lt;strong&gt;“OK” &lt;/strong&gt;to save the changes.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for you!&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7233862825278422680?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7233862825278422680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7233862825278422680' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7233862825278422680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7233862825278422680'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/12/how-to-change-microsoft-iis-tcp-port.html' title='How to Change Microsoft IIS TCP Port Number'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-4046803216481473897</id><published>2009-11-20T10:56:00.000-08:00</published><updated>2009-11-20T21:22:39.900-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VPN'/><category scheme='http://www.blogger.com/atom/ns#' term='DMVPN'/><category scheme='http://www.blogger.com/atom/ns#' term='IPSec VPN'/><title type='text'>DMVPN for Hub &amp; Spoke Topology</title><content type='html'>A project has been started to configure VPN between head office and remote branches. This was done simply by configuring site-to-site VPN (See my &lt;a href="http://sohailpk.blogspot.com/search/label/site-%20to-site%20VPN"&gt;Blog&lt;/a&gt;) between remote branch (Peshawar) and Faisalabad (next hope) as we (Peshawar hope) are using it as our next hope to reach head office. After the basic configuration of site-to-site VPN, we done with it and the communication were successful between two remote offices. The problem arises when Faisalabad configured VPN with another remote office (Abbotabad) now when they start communication with them by giving their peer address under crypto map as shown below, as the link established between the two sites, ping (communication) breaks between Peshawar and Faisalabad when again peer address of Peshawar was given here so communication breaks with the other remote offices.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Hub-Router (config) # crypto map VPN_MAP 10 ipsec-isakmp&lt;br /&gt;Hub-Router (config-crypto-map) # set peer 130.13.x.x&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Problem:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The main problem was that we had multiple sites which are using Faisalabad as their next hop, so it becomes HUB, now we required some method to configure VPN for HUB and SPOKE topology. After searching and goggling we came with the solution that DMVPN is the right choice for it.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;A Dynamic Multipoint Virtual Private Network (DMVPN) is an up gradation of the virtual private network (VPN) configuration process of Cisco IOS-based routers. What DMVPN does is that it prevents the need of configuration of pre-defined static peers in crypto-map and ISAKMP peer statement. An IPsec tunnel between two Cisco routers may be created on an as needed basis. Tunnels may be created between a spoke router and a hub router or between spokes.&lt;br /&gt;&lt;br /&gt;DMVPN Spoke is configured with one or more hub IP addresses. DMVPN hub IP addresses are typically static. DMVPN spoke IP addresses may be static, or dynamic. The spoke router is configured with the hub's IP address and allowing the spoke to connect to hub when it is online. The hub router does not need to be configured with the IP addresses of the spoke routers. This allows many-spoke VPN routers to be deployed without the need to configure additional peers on the hub. &lt;br /&gt;&lt;br /&gt;For &lt;strong&gt;ROUTING&lt;/strong&gt; we use dynamic routing protocol between the spokes and the hub, as well as other spokes. We can have the choice of using EIGRP or OSPF routing protocols between them as it is used commonly now a days, one of the reason is scalability. We used EIGRP for our internal routing.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Configurations:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I suppose that you are familiar with GRE tunneling configuration and sit-to-site VPN configuration, if not then look at here my blogs for step wise configuration of&lt;a href="http://sohailpk.blogspot.com/search/label/GRE%20Tunneling"&gt; GRE &lt;/a&gt;and &lt;a href="http://sohailpk.blogspot.com/search/label/site-%20to-site%20VPN"&gt;VPN&lt;/a&gt; as I will be talking about the remaining configuration that are required for DMVPN.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;HUB Configuration:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;HUB-Router (config) # interface tunnel 0&lt;br /&gt;HUB-Router (config) # ip nhrp authentication cisco120&lt;br /&gt;HUB-Router (config) # ip nhrp map multicast dynamic&lt;br /&gt;HUB-Router (config) # ip nhrp network-id 10&lt;br /&gt;HUB-Router (config) # no ip split-horizon eigrp 100&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;There is a reason why we use “no ip split-horizon” on hub, see &lt;a href="http://sohailpk.blogspot.com/search/label/split-horizon%20EIGRP"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;HUB-Router (config) # tunnel source fastethernet 0/0&lt;br /&gt;HUB-Router (config) # tunnel mode gre multipoint&lt;br /&gt;HUB-Router (config) # tunnel key 0&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Tunnel key is used on Point-to-Point or Multipoint&lt;br /&gt;&lt;br /&gt;&lt;em&gt;HUB-Router (config) # tunnel protection ipsec profile Cisco&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Spoke Configuration:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;SPOKE -Router (config) # interface tunnel 0&lt;br /&gt;SPOKE -Router (config) # ip nhrp authentication cisco120&lt;br /&gt;SPOKE -Router (config) # ip nhrp map multicast dynamic&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; We can choose either static ip address or multicast (broadcasting/multicasting), if we choose dynamic it means that learn the destination address that are from client registration on hub&lt;br /&gt;&lt;br /&gt;SPOKE -Router (config) # ip nhrp map 172.16.2.1 221.120.x.x &lt;br /&gt;&lt;br /&gt;The first is the destination tunnel address and second is the public address of destination.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;SPOKE-Router (config) # ip nhrp map multicast 221.120.x.x&lt;br /&gt;SPOKE -Router (config) # ip nhrp network-id 10&lt;br /&gt;SPOKE -Router (config) # ip nhrp nhs 172.16.2.1&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Where &lt;strong&gt;“nhs” &lt;/strong&gt;is the next hope server address&lt;br /&gt;&lt;br /&gt;&lt;em&gt;SPOKE -Router (config) # tunnel source fastethernet 0/0&lt;br /&gt;SPOKE -Router (config) # tunnel mode gre multipoint&lt;br /&gt;SPOKE -Router (config) # tunnel protection ipsec profile Cisco&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;NHRP&lt;/strong&gt; is next-hope resolution protocol; not a routing protocol but it make use of routing information. The most prominent feature of NHRP is that it avoids extra router hopes in an NBMA.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Commands:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You can further use the following command to verify and troubleshoot the configurations.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;1. show crypto socket ("Display the crypto sockect between NHRP and IPSec)&lt;br /&gt;2. show ip nhrp ("Display the next hope resolution protocol  cache entries etc)&lt;br /&gt;3. show ip route&lt;br /&gt;4. show ip eigrp neighbor&lt;br /&gt;5. show crypto ipsec sa ("Display the active channel)&lt;br /&gt;6. show crypto engine connection active ("Display the total encrypted / decrypted SA)&lt;br /&gt;7. show crypto isakmp sa ("Display isalmp security association state (SA)")&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;You can also do &lt;strong&gt;DEBUG&lt;/strong&gt; for further understanding and logs&lt;br /&gt;&lt;br /&gt;&lt;em&gt;1. debug crypto ipsec&lt;br /&gt;2. debig crypto isakmp&lt;br /&gt;3. debug crypto engine&lt;br /&gt;4. debug crypto socket&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-4046803216481473897?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/4046803216481473897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=4046803216481473897' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4046803216481473897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4046803216481473897'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/11/dmvpn-hub-and-spoke-topology.html' title='DMVPN for Hub &amp; Spoke Topology'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-2294429223318805503</id><published>2009-11-14T06:53:00.000-08:00</published><updated>2009-11-15T05:15:45.320-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MRTG'/><category scheme='http://www.blogger.com/atom/ns#' term='SNMP'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco Router'/><title type='text'>Monitoring Network Interface Traffic / Resource</title><content type='html'>MRTG can be use to monitor our Linux machine or any other machine network interfcae traffic or even we can monitor our network devices interface traffic like Routers, Switches etc.&lt;br /&gt;&lt;br /&gt;MRTG configuration on Linux, to see the interface traffic flow in both in and out direction see my blog, &lt;a href="http://sohailpk.blogspot.com/2009/07/mrtg-snmp-configuration-on-squid.html"&gt;Click here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;We can use MRTG on routers and swithces also but for that we have to configure SNMP first and the client side configuration etc. see my blog on detail stpes of SNMP configuration on cisco router and switches, &lt;a href="http://sohailpk.blogspot.com/2009/11/snmp-configuration-on-cisco-ios-for.html"&gt;Click here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But we can make it very simple by using &lt;strong&gt;Bytemon&lt;/strong&gt; to monitor network interface traffic, we will install bytemon on client machine and there we can identify the remote device IP Address or Hostname of which traffci we want to analyze, in my case i use my Backup Production Router IP-Address.&lt;br /&gt;&lt;br /&gt;1. The following graph shows the overall protocol traffic on both in and out interfaces.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/Sv7H101h4dI/AAAAAAAAAZo/NiHdx6rVmm0/s1600-h/Network+Protocl.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/Sv7H101h4dI/AAAAAAAAAZo/NiHdx6rVmm0/s320/Network+Protocl.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5403976330421330386" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. The following graph shows HTTP traffic Data.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_OTefDZiV8NU/Sv7ISXfCcBI/AAAAAAAAAZw/Kzh1y3yBwe4/s1600-h/HTTP+Traffic.bmp"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/Sv7ISXfCcBI/AAAAAAAAAZw/Kzh1y3yBwe4/s320/HTTP+Traffic.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5403976820758573074" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. The folowing show the traffic of interface &lt;strong&gt;"IN"&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_OTefDZiV8NU/Sv7IwlAs5pI/AAAAAAAAAZ4/eUXLgn9FmlI/s1600-h/in.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_OTefDZiV8NU/Sv7IwlAs5pI/AAAAAAAAAZ4/eUXLgn9FmlI/s320/in.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5403977339785504402" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. The following show the traffcie of &lt;strong&gt;"OUT"&lt;/strong&gt; interface.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/Sv7JI621BtI/AAAAAAAAAaA/OAS7BK_Wbbk/s1600-h/out.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/Sv7JI621BtI/AAAAAAAAAaA/OAS7BK_Wbbk/s320/out.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5403977757966534354" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for you !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-2294429223318805503?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/2294429223318805503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=2294429223318805503' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2294429223318805503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2294429223318805503'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/11/monitoring-network-interface-traffic.html' title='Monitoring Network Interface Traffic / Resource'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/Sv7H101h4dI/AAAAAAAAAZo/NiHdx6rVmm0/s72-c/Network+Protocl.JPG' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6273273813745367230</id><published>2009-11-14T04:43:00.000-08:00</published><updated>2009-11-14T07:30:17.249-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco Router'/><title type='text'>SNMP configuration on Cisco IOS for routers and switches</title><content type='html'>Simple Network Management Protocol (SNMP) is a UDP-based network protocol. It is used mostly in network management systems to monitor network-attached devices for conditions that warrant administrative attention. &lt;br /&gt;&lt;br /&gt;An SNMP-managed network consists of three key components:&lt;br /&gt;&lt;br /&gt;1. Managed device = Slave device &lt;br /&gt;2. Agent = software which runs on Slave device &lt;br /&gt;3. Network management system (NMS) = software which runs on Master&lt;br /&gt; &lt;br /&gt;A &lt;strong&gt;Managed Device&lt;/strong&gt; is a network node that implements an SNMP interface that allows unidirectional (read-only, ro) or bidirectional access to node-specific information.&lt;br /&gt;Managed devices exchange node-specific information with the NMSs. Sometimes called network elements, the managed devices can be any type of device, including, but not limited to, routers, access servers, switches, bridges, hubs, IP telephones, computer hosts, and printers etc.&lt;br /&gt;&lt;br /&gt;An &lt;strong&gt;Agent&lt;/strong&gt; is a network-management software module that resides on a managed device. An agent has local knowledge of management information and translates that information to or from an SNMP specific form.&lt;br /&gt;&lt;br /&gt;A &lt;strong&gt;Network Management System &lt;/strong&gt;(NMS) executes applications that monitor and control managed devices or use Bytemon. &lt;br /&gt;&lt;br /&gt;SNMP version available are v1, v2 and v3 with SNMPv3 being th most secure. Now a days either SNMPv2 or 3 is using. Following are the basic steps for the configuration of SNMP on cisco devices.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Configuration Stpes:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. SNMP Community&lt;/strong&gt;&lt;br /&gt; &lt;br /&gt;In the following line CommunnityName is PUBLIC bydefault and its like a password between SNMP management system and the device, while RW means READ and WRITE permission while 10 specify the access-list that you already define on your system or to be defined right now.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;PSW-DXX(config)#snmp-server community [CommunityName] RW 10&lt;br /&gt;PSW-DXX(config)#access-list 10 permit 10.0.0.0&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Chassi-ID Location and Contacts (Optional)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;PSW-DXX(config)# snmp-server chassis-id cisco1841&lt;br /&gt;PSW-DXX(config)# snmp-server location PSHsngpl&lt;br /&gt;PSW-DXX(config)# snmp-server contact EngineerNetSysSohail&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. SNMP Trap Setup&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now that SNMP is enabled. It is important and more necessary to send alert messages also known as SNMP traps to the manager so the Network manager can be alerted. This is mostly the case of most of the SNMP Management/Monitoring system.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;PSW-DXX(config)# snmp-server host 10.110.1.2 version ?&lt;br /&gt;1 : Version1&lt;br /&gt;2 : Version 2c&lt;br /&gt;3 : Version 3&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note: &lt;/strong&gt;If you use version 3 then it will ask for &lt;strong&gt;auth&lt;/strong&gt;, &lt;strong&gt;noauth&lt;/strong&gt; or &lt;strong&gt;priv&lt;/strong&gt;&lt;em&gt;(use the SNMPv3 authprov security level)&lt;/em&gt;. I used SNMPv3  and it will now authenticate by either using v1/v2c community string and sets up the Management server to which the trap messages needs to be sent, The Community Name will be the one that you define above.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;PSW-DXX(config)# snmp-server host 10.110.1.2 version 3 auth [CommunityName]&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Also sets up the traps and the type of traps to be sent. Here Link up/down status and system reboot traps are sent to the management server.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;PSW-DXX(config)# snmp-server enable traps snmp linkup linkdown coldstart warmstart&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We can also configure a very good frriend of my and may be your also &lt;strong&gt;SYSLOG&lt;/strong&gt; to monitor your device.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;PSW-DXX(config)# snmp-server enable trap syslog&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;And we also use the following friend which will help us in finding who access with illegal community string.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;PSW-DXX(config)# snmp-server trap authentication&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you!&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6273273813745367230?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6273273813745367230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6273273813745367230' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6273273813745367230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6273273813745367230'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/11/snmp-configuration-on-cisco-ios-for.html' title='SNMP configuration on Cisco IOS for routers and switches'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3285867629833327449</id><published>2009-10-31T23:28:00.000-07:00</published><updated>2009-10-31T23:54:29.529-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ios'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco Router'/><title type='text'>Cisco IOS Release 15.0</title><content type='html'>Cisco release IOS 15.0 after a long time, its the major release after long time, The world's leading network infrastructure software, Cisco IOS, delivers transparent integration of technology innovations, business-critical services, and key hardware support.&lt;br /&gt;&lt;br /&gt;Full Detail about the new release can be found &lt;a href="http://www.cisco.com/en/US/products/ps10591/index.html"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Cisco also remove some features from 15.0 version like &lt;a href="http://www.cisco.com/en/US/prod/collateral/iosswrel/ps8802/ps5460/product_bulletin_c25-520459.html"&gt;AppleTalk&lt;/a&gt; Phase I &amp; II and &lt;a href="http://www.cisco.com/en/US/prod/collateral/routers/ps341/end_of_life_notice_c51-501483.html"&gt;Service Selection Gateway&lt;/a&gt; (SSG).&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Key highlights of &lt;strong&gt;Release 15 M and T&lt;/strong&gt;, illustrated in Figure 1 below, include the following:&lt;br /&gt;&lt;br /&gt;• Feature inheritance from Cisco IOS Software Releases 12.4T and 12.4 Mainline1&lt;br /&gt;&lt;br /&gt;• M (extended maintenance) releases every 20 months - allows customers to qualify/deploy/remain on releases longer with active bug fix support&lt;br /&gt;&lt;br /&gt;• Standard maintenance 15 T releases - provides the latest features and hardware support before the next M release becomes available on Cisco.com2&lt;br /&gt;&lt;br /&gt;• Rebuilds of Release 15 M and T releases for ongoing bug fixes&lt;br /&gt;&lt;br /&gt;• &lt;strong&gt;Cisco IOS Software Release 15.0(1)M is the first release&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Its Very important to have a product knowledge, so it will be helpfull to read it :)&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3285867629833327449?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3285867629833327449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3285867629833327449' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3285867629833327449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3285867629833327449'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/cisco-ios-release-150.html' title='Cisco IOS Release 15.0'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-2174768366388809311</id><published>2009-10-29T00:05:00.000-07:00</published><updated>2009-10-29T00:49:41.244-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XM-Series'/><category scheme='http://www.blogger.com/atom/ns#' term='CCIE'/><title type='text'>Booting XM Images on Non-XM 2600 Series Routers</title><content type='html'>&lt;strong&gt;CCIE &lt;/strong&gt;Preparation in progress and we fell that some of our routers are not able to fulfill our requirements like one of the limitation we can face and I personally faced that our 2600 series routers (2610, 2611, 2620 etc) lack the memory capacity to run the new IOS images, within CCIE (Routing &amp; Switching) boot camp we can quote this problem that it doesn’t support OSPFv3 for IPv6. For us we are lucky that the old 2600 series platform is same as &lt;em&gt;2600xm series routers &lt;/em&gt;just with a bit difference of &lt;em&gt;less processing power and memory capacity&lt;/em&gt;. What this means that 2600 series router can boot 2600XM images and therefore run IOS version that support OSPFv3. Now to accomplish this task we have to use &lt;strong&gt;“tftpdnld –r”&lt;/strong&gt; command in rommon mode to boot an IOS image into RAM. As the image will be running from RAM, a TFTP download will be required every time the router is rebooted.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CONFIGURATIONS:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Following is the configuration of a 2610 router running the 12.2(15) T7 IP Plus image. While it does support IPv6 routing but it lacks OSPFv3 support which is our requirement in this case:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 #&lt;/strong&gt; show version&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Cisco Internetwork Operating System Software&lt;br /&gt;IOS (tm) C2600 Software (C2600-J1S3-M), Version 12.2(15) T7, RELEASE SOFTWARE (fc2)&lt;br /&gt;TAC Support: http://www.cisco.com/tac&lt;br /&gt;Copyright (c) 1986-2003 by cisco Systems, Inc&lt;br /&gt;Compiled Sat 09-Aug-03 07:18 by ccai&lt;br /&gt;Image text-base: 0x80008098, data-base: 0x8195144C&lt;br /&gt;&lt;br /&gt;ROM: System Bootstrap, Version 11.3(2) XA4, RELEASE SOFTWARE (fc1)&lt;br /&gt;&lt;br /&gt;Router uptime is 5 hours, 8 minutes&lt;br /&gt;System returned to ROM by power-on&lt;br /&gt;System image file is "flash: c2600-j1s3-mz.122-15.T7.bin"&lt;br /&gt;&lt;br /&gt;cisco 2610 (MPC860) processor (revision 0x202) with 59392K/6144K bytes of memory.&lt;br /&gt;Processor board ID JAD03337409 (4221326695)&lt;br /&gt;M860 processor: part number 0, mask 49&lt;br /&gt;Bridging software&lt;br /&gt;X.25 software, Version 3.0.0&lt;br /&gt;TN3270 Emulation software&lt;br /&gt;2 Ethernet/IEEE 802.3 interface(s)&lt;br /&gt;4 Serial network interface(s)&lt;br /&gt;32K bytes of non-volatile configuration memory&lt;br /&gt;16384K bytes of processor board System flash (Read/Write)&lt;br /&gt;&lt;br /&gt;Configuration register is 0x2142 (will be 0x2102 at next reload)&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 # &lt;/strong&gt;config terminal&lt;br /&gt;Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 (config) #&lt;/strong&gt; ipv6 unicast-routing&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 (config) # &lt;/strong&gt;ipv6 router ospf 1&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 (config) #&lt;/strong&gt; interface e0/0&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 (config-if) #&lt;/strong&gt; ipv6 ospf 1 area 0&lt;br /&gt;                       &lt;br /&gt;&lt;em&gt;% Invalid input detected at '^' marker.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 (config-if) #&lt;/strong&gt; exit&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 # &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In order to boot the XM image we first have to boot the router into rommon mode. To do this reloads the router and press CTRL-BREAK as the router begins to boot.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 # &lt;/strong&gt;reload&lt;br /&gt;&lt;br /&gt;&lt;em&gt;System configuration has been modified. Save? [yes/no]: n&lt;br /&gt;Proceed with reload? [confirm] &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;*Oct 1 10:59:13.751: %SYS-5-RELOAD: Reload requested by console.&lt;br /&gt;System Bootstrap, Version 11.3(2) XA4, RELEASE SOFTWARE (fc1)&lt;br /&gt;Copyright (c) 1999 by cisco Systems, Inc.&lt;br /&gt;TAC: Home:SW:IOS:Specials for info&lt;br /&gt;PC = 0xfff0a530, Vector = 0x500, SP = 0x680127b0&lt;br /&gt;C2600 platform with 65536 Kbytes of main memory&lt;br /&gt;&lt;br /&gt;PC = 0xfff0a530, Vector = 0x500, SP = 0x80004864&lt;br /&gt;&lt;br /&gt;monitor: command "boot" aborted due to user interrupt&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;rommon 1 &gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Setting ENVIRONMENT Varaibles:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt; Now next we have to set the environment variables for loading an IOS image via tftp.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;rommon 1 &gt;&lt;/strong&gt; IP_ADDRESS=10.110.9.2&lt;br /&gt;&lt;strong&gt;rommon 2 &gt; &lt;/strong&gt;IP_SUBNET_MASK=255.0.0.0&lt;br /&gt;&lt;strong&gt;rommon 3 &gt;&lt;/strong&gt; DEFAULT_GATEWAY=10.110.9.102&lt;br /&gt;&lt;strong&gt;rommon 4 &gt;&lt;/strong&gt; TFTP_SERVER=10.110.9.102&lt;br /&gt;&lt;strong&gt;rommon 5 &gt;&lt;/strong&gt; TFTP_FILE=FileName.bin&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; Next, issue the &lt;strong&gt;"tftpdnld -r"&lt;/strong&gt; command.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt; Note:&lt;/strong&gt; The -r switch is required to instruct the router to load the image to RAM instead of writing it to flash.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;rommon 6 &gt;&lt;/strong&gt; tftpdnld -r&lt;br /&gt;&lt;br /&gt;          &lt;em&gt;IP_ADDRESS: 10.110.9.2&lt;br /&gt;      IP_SUBNET_MASK: 255.0.0.0&lt;br /&gt;     DEFAULT_GATEWAY: 10.110.9.102&lt;br /&gt;         TFTP_SERVER: 10.110.9.102&lt;br /&gt;           TFTP_FILE: FileName.bin&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Receiving 2600xm.bin from 192.10.4.254!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;!!!!!!!!!!!!!&lt;br /&gt;File reception completed.&lt;br /&gt;&lt;br /&gt;Program load complete, entry point: 0x80008000, size: 0x1176b34&lt;br /&gt;Self decompressing the image: #######################################&lt;br /&gt;############################################################ [OK]&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Do &lt;strong&gt;show running-config&lt;/strong&gt;, we can now see that the router has booted and is running IOS 12.2(15) T14 Enterprise Plus, which is only officially supported as a 2600XM image. Most importantly our 2610 router now has OSPFv3 support.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 &gt;&lt;/strong&gt; enable&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 #&lt;/strong&gt; configure terminal&lt;br /&gt;&lt;br /&gt;Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 (config) #&lt;/strong&gt; ipv6 unicast-routing&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 (config) #&lt;/strong&gt; ipv6 router ospf 1&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 (config-rtr) #&lt;/strong&gt; ?&lt;br /&gt;&lt;br /&gt;  &lt;em&gt;area:                    OSPF area parameters&lt;br /&gt;  auto-cost:               Calculate OSPF interface cost according to bandwidth&lt;br /&gt;  compatible:              OSPF compatibility list&lt;br /&gt;  default:                Set a command to its defaults&lt;br /&gt;  default-information:     Distribution of default information&lt;br /&gt;  default-metric:          Set metric of redistributed routes&lt;br /&gt;  discard-route:          Enable or disable discard-route installation&lt;br /&gt;  distance:               Administrative distance&lt;/em&gt;&lt;br /&gt;  &lt;br /&gt;&lt;strong&gt;CCIE-Router-9 (config) #&lt;/strong&gt; interface e0/0&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CCIE-Router-9 (config-if) #&lt;/strong&gt;ipv6 ospf  ?&lt;br /&gt;  &lt;1-65535&gt;:             Process ID&lt;br /&gt;  cost:                  Interface cost&lt;br /&gt;  database-filter:       Filter OSPF LSA during synchronization and flooding&lt;br /&gt;  dead-interval:         Interval after which a neighbor is declared dead&lt;br /&gt;  demand-circuit:        OSPF demand circuit&lt;br /&gt;  flood-reduction:       OSPF Flood Reduction&lt;br /&gt;  hello-interval:        Time between HELLO packets&lt;br /&gt;  mtu-ignore:            Ignores the MTU in DBD packets&lt;br /&gt;  neighbor:              OSPF neighbor&lt;br /&gt;  network:              Network type&lt;br /&gt;  priority:              Router priority&lt;br /&gt;  retransmit-interval:   Time between retransmitting lost link state&lt;br /&gt;                         advertisements&lt;br /&gt;  transmit-delay:        Link state transmit delay&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; The router may not or may display a warning that it is short on processor memory. Ensure to save your configuration early and often in order to avoid losing our work due to a router crash.&lt;br /&gt;&lt;br /&gt;To store your router configuration automatically when you save your configuration using write command, consult my &lt;a href="http://sohailpk.blogspot.com/2009/08/periodical-configuration-save-of-cisco.html"&gt;post here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Any comments and suggestion will be highly appreciated :)&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-2174768366388809311?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/2174768366388809311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=2174768366388809311' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2174768366388809311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2174768366388809311'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/booting-xm-images-on-non-xm-2600-series.html' title='Booting XM Images on Non-XM 2600 Series Routers'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6626187589144361103</id><published>2009-10-25T21:28:00.000-07:00</published><updated>2009-10-25T22:24:18.509-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VPN'/><category scheme='http://www.blogger.com/atom/ns#' term='ssl'/><category scheme='http://www.blogger.com/atom/ns#' term='Network Security'/><title type='text'>Cisco VPN Client for Windows 7</title><content type='html'>We can say that October 2009 is the best month for cisco in terms of new introduction like IOS 15, ISR 2nd Generation and the new version of CCIE, Now a windows 7 user face many difficulties in terms of having third party softwares like cisco VPN client so it’s time for Windows 7 and MacOS Snow Leopard to have Cisco VPN Client and Cisco SSL AnyConnect VPN Client versions, available to download.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;Cisco AnyConnect VPN Client&lt;/strong&gt; provides remote users with secure VPN connections to the Cisco ASA 5500 Series Adaptive Security Appliance using the Secure Socket Layer (SSL) protocol and the Datagram TLS (DTLS) protocol. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;AnyConnect&lt;/strong&gt; provides remote end users with the benefits of a Cisco SSL VPN client, and supports applications and functions unavailable to a clientless, browser-based SSL VPN connection. It runs on Microsoft Windows, Windows Mobile, Linux, and Mac OS X, and supports connections to IPv6 resources over an IPv4 network tunnel. We can configure the security appliance to uninstall AnyConnect from the endpoint after the connection terminates, or it can remain on the remote PC for future SSL VPN connections. &lt;br /&gt;&lt;br /&gt;In addition to the Cisco Adaptive Security Appliance 5500 Series, Cisco IOS supports AnyConnect. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;AnyConnect Client 2.4 runs on the following new platforms: &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;•Microsoft Windows 7 (32-bit and 64-bit). See &lt;a href="http://www.cisco.com/en/US/docs/security/vpn_client/anyconnect/anyconnect24/release/notes/anyconnect24rn.html#wp1036919"&gt;"System Requirements." &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;•Mac OS X 10.6 and 10.6.1 (both 32-bit and 64-bit). &lt;/em&gt;&lt;br /&gt; &lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/SuUqP1za0FI/AAAAAAAAAZY/OAbBWeqwnpQ/s1600-h/ciscofu1%5B5%5D.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 240px; height: 189px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/SuUqP1za0FI/AAAAAAAAAZY/OAbBWeqwnpQ/s320/ciscofu1%5B5%5D.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5396766180102557778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The following sections describe the new features in Release 2.4, For Detail visit this link &lt;a href="http://www.cisco.com/en/US/docs/security/vpn_client/anyconnect/anyconnect24/release/notes/anyconnect24rn.html"&gt;AnyConnect&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;•Split DNS Fallback &lt;br /&gt;&lt;br /&gt;•Trusted Network Detection &lt;br /&gt;&lt;br /&gt;•Simple Certificate Enrollment Protocol (SCEP) &lt;br /&gt;&lt;br /&gt;•Prompting Users to Select Authentication Certificate &lt;br /&gt;&lt;br /&gt;•Scripting &lt;br /&gt;&lt;br /&gt;•Proxy Support Enhancement &lt;br /&gt;&lt;br /&gt;•CSD Integration &lt;br /&gt;&lt;br /&gt;•PEM File Certificate Store &lt;br /&gt;&lt;br /&gt;•FIPS and Additional Security in the New AnyConnect Local Policy &lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6626187589144361103?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6626187589144361103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6626187589144361103' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6626187589144361103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6626187589144361103'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/cisco-vpn-client-for-windows-7.html' title='Cisco VPN Client for Windows 7'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/SuUqP1za0FI/AAAAAAAAAZY/OAbBWeqwnpQ/s72-c/ciscofu1%5B5%5D.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5181186533407656646</id><published>2009-10-19T07:10:00.000-07:00</published><updated>2009-10-19T07:20:37.060-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='Squid'/><title type='text'>Setup SSH Server on Fedora</title><content type='html'>&lt;strong&gt;SSH&lt;/strong&gt; is installing by default on installation of Fedora operating system itself. In this post we will go through the basic setup of SSH server on Fedora Operating System.&lt;br /&gt; &lt;br /&gt;Checking SSH server status&lt;br /&gt;  &lt;br /&gt;&lt;strong&gt;a.&lt;/strong&gt; Using the service command to check the current status of the sshd &lt;br /&gt;  &lt;br /&gt;&lt;strong&gt;[root@myserver ~]#&lt;/strong&gt; &lt;em&gt;service sshd status&lt;/em&gt; &lt;br /&gt;&lt;em&gt;sshd is stopped &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[root@myserver ~]#&lt;/strong&gt; &lt;br /&gt;  &lt;br /&gt;&lt;strong&gt;b.&lt;/strong&gt; Start SSH server&lt;br /&gt;  &lt;br /&gt;Start the sshd process using service command. &lt;br /&gt;  &lt;br /&gt;&lt;strong&gt;[root@myserver ~]#&lt;/strong&gt; &lt;em&gt;service sshd start&lt;/em&gt;&lt;br /&gt; &lt;br /&gt;&lt;em&gt;Starting sshd:.............................................[  OK  ]&lt;/em&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[root@myserver ~]#&lt;/strong&gt;&lt;br /&gt;  &lt;br /&gt;Automatically start SSH server&lt;br /&gt;&lt;br /&gt;By using chkconfig command we can make sure the automatic starting of ssh services when the system reboot. Before this use the following commands to make sure the current status and configuration of SSH services on this machine.&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt;Use the following command to check the current status of the sshd&lt;br /&gt;&lt;strong&gt;[root@myserver ~]#&lt;/strong&gt; &lt;em&gt;chkconfig –-list sshd&lt;/em&gt; &lt;br /&gt;&lt;br /&gt;&lt;em&gt;sshd            0:off   1:off   2:off   3:off   4:off   5:off   6:off&lt;/em&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[root@myserver ssh]#&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; Use chkconfig command to automatically start the sshd service for runlevel 3, 4 and 5.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[root@myserver ssh]#&lt;/strong&gt; &lt;em&gt;chkconfig --level 345 sshd on&lt;/em&gt; &lt;br /&gt;&lt;strong&gt;[root@myserver ssh]# &lt;/strong&gt;&lt;br /&gt;  &lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt;  Verify the change for shhd on runlevel 3, 4 and runlevel 5. &lt;br /&gt;  &lt;br /&gt;&lt;strong&gt;[root@myserver ssh]#&lt;/strong&gt;&lt;em&gt; chkconfig --list sshd&lt;/em&gt; &lt;br /&gt;&lt;br /&gt;&lt;em&gt;sshd            0:off   1:off   2:off   3:on    4:on    5:on    6:off &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[root@myserver ssh]#&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;Basically we have done the basic setup process now we can proceed with the confirmation of the SSH services.&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you !&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5181186533407656646?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5181186533407656646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5181186533407656646' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5181186533407656646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5181186533407656646'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/setup-ssh-server-on-fedora.html' title='Setup SSH Server on Fedora'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-961987148821268912</id><published>2009-10-12T23:16:00.000-07:00</published><updated>2009-10-12T23:38:03.082-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DNS'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><category scheme='http://www.blogger.com/atom/ns#' term='DNS Cache'/><title type='text'>Clear / Flush DNS Cache to Speed up Internet</title><content type='html'>DNS (Domain Name Server) &lt;strong&gt;cache&lt;/strong&gt; &lt;em&gt;(A temporary computer memory stored the recent visit pages and help you in quick processing of your request)&lt;/em&gt; is stored by Windows (XP and Vista).  This cache helps is faster opening of websites already visited on the computer. However, At times this cache becomes corrupted and needs to be cleared.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Clear / Flush Cache Steps&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Click Start &gt; Run&lt;br /&gt;&lt;br /&gt;2. Type cmd and click OK.&lt;br /&gt;&lt;br /&gt;3. In black window, type ipconfig /flushdns and press Enter key&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_OTefDZiV8NU/StQeVRtPdKI/AAAAAAAAAYo/BvcKcqxzqDE/s1600-h/as.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 160px;" src="http://3.bp.blogspot.com/_OTefDZiV8NU/StQeVRtPdKI/AAAAAAAAAYo/BvcKcqxzqDE/s320/as.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5391968004748571810" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You will see the confirmation message as show above in the picture, There is a space between the ipconfig and flushdns.&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-961987148821268912?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/961987148821268912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=961987148821268912' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/961987148821268912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/961987148821268912'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/clear-flush-dns-cache-to-speed-up.html' title='Clear / Flush DNS Cache to Speed up Internet'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OTefDZiV8NU/StQeVRtPdKI/AAAAAAAAAYo/BvcKcqxzqDE/s72-c/as.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-786975826457939759</id><published>2009-10-12T22:52:00.000-07:00</published><updated>2009-10-12T23:15:51.604-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DNS'/><title type='text'>How to Block a Website on a Node</title><content type='html'>If you want to block a web site from vewing on your windows machine, follow these steps to to get the required result.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Steps:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. c:\WINDOWS\system32\drivers\etc&lt;br /&gt;&lt;br /&gt;2. Open &lt;strong&gt;hosts&lt;/strong&gt; file there and append the following line at the end&lt;br /&gt;&lt;br /&gt;       &lt;strong&gt;&lt;em&gt;127.0.0.1 BlockSiteName.com&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt;Replace BlockSiteName with the website name that you want to block on your machine.&lt;br /&gt;&lt;br /&gt;3. The go to start --&gt; start --&gt; run --&gt; type &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;c:\&gt; ipconfig \flushdns&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;There is a space between the ipconfig and flushdns, now the site will be block but &lt;strong&gt;remember&lt;/strong&gt;if any one know the ip address of the required site so he can access it still :(&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-786975826457939759?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/786975826457939759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=786975826457939759' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/786975826457939759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/786975826457939759'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/how-to-block-website-on-node.html' title='How to Block a Website on a Node'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7237505359458993715</id><published>2009-10-11T06:50:00.000-07:00</published><updated>2009-10-11T22:51:06.864-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Squid'/><title type='text'>Linux: Proxy sshd(pam_unix) Authentication Failure</title><content type='html'>While looking to my /var/log/message on Linux ( Squid Server, DHCP), i saw the error message shown as title of the post, so after a bit googling i find the solution that it is due to the direct login failure to the proxy server, so to turn off these messages and to avoid the problem we have to disable the direct login of the root account.&lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;sshd_config&lt;/strong&gt; file is located at &lt;strong&gt;/etc/ssh/sshd_config&lt;/strong&gt; and it is probably the most common place to find it. If not, we can search for it &lt;br /&gt;&lt;br /&gt;&lt;em&gt;# edit sshd_config file&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;What we want to do is edit this file. We need to uncomment and edit just one line inside this file, at least. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;# Vi /etc/ssh/sshd_config&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;we should be viewing the contents of this file now. We're looking for&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;#&lt;em&gt;PermitRootLogin yes&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Just remove the hash sign (to uncomment the line, or enable it) and change the value to &lt;strong&gt;NO&lt;/strong&gt;. It should look like this after the modifications:&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;em&gt;PermitRootLogin no&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To make the changes working we have to start the sshd services&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;# service sshd restart&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now everytime we try to login to our proxy we will using our ordinary user account and then we can substitute to root user.&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7237505359458993715?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7237505359458993715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7237505359458993715' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7237505359458993715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7237505359458993715'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/squid-error-proxy-sshdpamunix.html' title='Linux: Proxy sshd(pam_unix) Authentication Failure'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-4738817632427125506</id><published>2009-10-09T00:07:00.000-07:00</published><updated>2009-10-09T00:14:18.537-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Squid'/><title type='text'>Squid Error: No running copy</title><content type='html'>I saw this error while troubleshooting another problem on squid (&lt;a href="http://sohailpk.blogspot.com/2009/10/squid-error-reply-from-unexpected.html"&gt;DNS issue&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[root@pswproxy etc] # service squid status&lt;br /&gt;squid (pid 3070 3068) is running...&lt;br /&gt;squid: ERROR: No running copy&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This is normally due to squid.pid file missing, since this file is present whenever squid is running, if this file is missing squid will not work. If it is deleted by mistake so still squid will be in running condition and will not work properly, so I found this &lt;a href="http://www.squid-cache.org/mail-archive/squid-users/200103/1198.html"&gt;article&lt;/a&gt; very useful. In my case I just restart the squid services and it starts working.&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you!&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-4738817632427125506?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/4738817632427125506/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=4738817632427125506' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4738817632427125506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4738817632427125506'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/squid-error-no-running-copy.html' title='Squid Error: No running copy'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6059285898984112083</id><published>2009-10-08T22:37:00.000-07:00</published><updated>2009-10-08T22:46:42.427-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DNS'/><category scheme='http://www.blogger.com/atom/ns#' term='Squid'/><title type='text'>Squid Error: Reply from unexpected source: 10.110.9.180 # 53, Expected 58.x.x.x # 53</title><content type='html'>We got problem in our Proxy &lt;strong&gt;Server (Squid), &lt;/strong&gt;we were unable to access internet, The first problem was so pathetic as we were able to ping our local servers that are in LAN but were not able to ping our DNS, after checking our cable and basic network configuration, we got the solution and now we can ping our DNS also, but again &lt;strong&gt;PROBLEM&lt;/strong&gt; start here as we are now able to ping our DNS properly but when we try nslookup so it results in error shown as a subject of this blog. To find out what is the reason behind this error we had to pass from some basic steps to find it exists, let’s look at those steps?&lt;br /&gt;&lt;br /&gt;1. First check that our request are reaching to the destination or not, if not so where the packets are dropped, use the following command&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;# mtr your-dns-ipaddress&lt;/strong&gt;&lt;br /&gt;or&lt;br /&gt;&lt;strong&gt;# traceroute your-dns-ipaddress&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;2. Check &lt;strong&gt;/etc/resolve.conf&lt;/strong&gt;, for proper DNS entry, the entry should be like&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;# vi /etc/resolve.conf&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;nameserver 58.x.x.x&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;# service network restart&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The entry in my case was correct, so we try ping again and it was working but with nslookup the same result (error) was produced.&lt;br /&gt;&lt;br /&gt;3. Now issue the following command to check for the proper / correct gateway:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;# netstat –r&lt;/strong&gt;&lt;br /&gt;or&lt;br /&gt;&lt;strong&gt;# route –n&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The gateway was also perfectly right but still we were not able to do nslookup. Then we made a change in the /etc/resolve.conf file (change our DNS address to another, so it starts working but that was not a good solution as we are directed to use the original one)&lt;br /&gt;&lt;br /&gt;After googling and help from my teacher (&lt;a href="http://nayyares.blogspot.com/"&gt;Nayyar Ahmad&lt;/a&gt;) we were at the opinion that &lt;strong&gt;TWO Reasons&lt;/strong&gt; can subsist in this case:&lt;br /&gt;&lt;br /&gt;1. Firewall between our machine and DNS and it is blocking port 53 as we can ping. We have communication channel between both just port#53 has problem.&lt;br /&gt;2. DNS services are not running. As we can ping the machine but services are not running, we can check the services from following command&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;# service named status&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;It was so simple, when we consult the system administrator of head office so they were not allowing our traffic when he added our dns address so everything was working normal.&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you!&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6059285898984112083?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6059285898984112083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6059285898984112083' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6059285898984112083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6059285898984112083'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/squid-error-reply-from-unexpected.html' title='Squid Error: Reply from unexpected source: 10.110.9.180 # 53, Expected 58.x.x.x # 53'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-4723754370264082434</id><published>2009-10-08T22:31:00.000-07:00</published><updated>2009-10-08T22:36:53.871-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ICMP'/><category scheme='http://www.blogger.com/atom/ns#' term='Squid'/><title type='text'>ICMP: Source Squench</title><content type='html'>&lt;strong&gt;Source Quench &lt;/strong&gt;is an ICMP based mechanism used by network devices to inform data sender that the packets can not be forwarded due to buffers overload. When the message is received by a TCP sender, that sender should decrease its send window to the respective destination in order to limit outgoing traffic.&lt;br /&gt;&lt;br /&gt;Source Squench has been not consider now a days any more becoz of some reason: i.e&lt;br /&gt;&lt;br /&gt;1. Source Squench message can lost in the way to sender.&lt;br /&gt;2. Source Squencs carry very little information per packect say it only sense basci information regarding congestion.&lt;br /&gt;3. Source Quench messages, like all ICMP messages, are expensive for a router to generate. This is bad because the congestion control mechanism could contribute additional congestion, if router processing resources become a bottleneck. &lt;br /&gt;4. Source Squench can also cause Denial of Service.&lt;br /&gt;&lt;br /&gt;In effect, ICMP Source Quench messages are almost never generated on the Internet today, and would be ignored almost everywhere if they still existed.&lt;strong&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-4723754370264082434?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/4723754370264082434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=4723754370264082434' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4723754370264082434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4723754370264082434'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/icmp-source-squench.html' title='ICMP: Source Squench'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7065563159048526080</id><published>2009-10-07T00:42:00.000-07:00</published><updated>2009-10-07T00:52:39.443-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='HTTPS'/><category scheme='http://www.blogger.com/atom/ns#' term='OpenSSH'/><category scheme='http://www.blogger.com/atom/ns#' term='Corkscrew'/><title type='text'>Tunneling SSH over HTTP</title><content type='html'>At times we need to access certain files that we left at home, it is quite possible that some environments and ISPs have strict firewall rules that can make our life miserable and tough in a sense that they have disallow the use of SSH and allows you to use HTTP proxy. “It is possible to use that HTTP proxy as a transport for SSH.”&lt;br /&gt;&lt;br /&gt;The purpose of this article is not to advocate breaking out of your environment’s firewall if you have a policy that expressly prevents that or outbound SSH access! Unfortunately in some case it is blocked without any real reason and at times they may allow you to use SSH. In some environments, however, the explicit denial of outbound SSH is required and for that reason we should respect the policy and not override that. &lt;strong&gt;I am not at all advocating breaking any rules unless you have permission, exception or proper orders from the people that should provide it.&lt;/strong&gt;&lt;br /&gt;This all we can done using &lt;a href="http://www.agroman.net/corkscrew/"&gt;Corkscrew&lt;/a&gt;, click on it and download the source for Corkscrew. Corkscrew is an HTTP-tunneling programming that does not require server-side modifications to work. It is also cross-platform and will work on most client systems.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Steps to Configure:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt; Download it from this source, click on &lt;a href="http://www.agroman.net/corkscrew/corkscrew-2.0.tar.gz."&gt;source&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; To build Corkscrew, simply unpack the file and write below commands in the Corkscrew directory&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;. /configure&lt;br /&gt;make&lt;br /&gt;or make install&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt; Using Corkscrew with SSH/OpenSSH are very simple just copy the resulting corkscrew application to somewhere in your ~/.ssh/config, and add:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Host somehost&lt;br /&gt;&lt;br /&gt;    Hostname somehost.example.com&lt;br /&gt;&lt;br /&gt;    ProxyCommand /home/user/bin/corkscrew proxy.example.com 8080 %h %p&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Replace the &lt;strong&gt;hostname&lt;/strong&gt; with the host you are attempting to SSH into, and replace &lt;strong&gt;“proxy.example.com”&lt;/strong&gt; with the actual HTTP proxy. You may also need to replace the &lt;strong&gt;port (8080)&lt;/strong&gt; if the proxy listens on an alternate port (i.e., port 3128 in the case of Squid). &lt;strong&gt;OpenSSH&lt;/strong&gt; transparently converts the &lt;strong&gt;%h&lt;/strong&gt; to the hostname to connect to (somehost.example.com) and the &lt;strong&gt;%p&lt;/strong&gt; to the port to connect to (22, by default).&lt;br /&gt;&lt;br /&gt;When this is done, we should be able to run ssh somehost and have the connection be established, just as if you were connecting directly. One thing to make sure that may be this does not work with all proxies, so it may be a little hit-and-miss, but it should work with Squid and Apache’s mod_proxy module as well as a few other popular implementations.&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7065563159048526080?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7065563159048526080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7065563159048526080' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7065563159048526080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7065563159048526080'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/10/tunneling-ssh-over-http.html' title='Tunneling SSH over HTTP'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7319528356639092433</id><published>2009-09-29T22:59:00.000-07:00</published><updated>2009-09-29T23:28:23.513-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Delat RPM in Fedora-11'/><title type='text'>Downloads with delta RPMs in Fedora-11</title><content type='html'>Yesterday while doing some goggling I come across through &lt;strong&gt;“Delta RPM Packages”&lt;/strong&gt; in Fedora 11, which is a great new feature: delta RPM updates. This feature creates delta RPM packages (.drpm) that are binary “patches” to the existing RPM packages. What this package does is that it downloads only the changes of the RPM as compare to the existing RPM instead of downloading the full RPM package.&lt;br /&gt;&lt;br /&gt;Once the delta RPM is downloaded by the Presto plugin for yum, it will try to reconstruct a full RPM based on the contents of the previous RPM, plus the newly changed files from the delta RPM. Yum will then install the newly-created RPM.&lt;br /&gt;Using Presto has its benefits and drawbacks. If we have a fast Internet connection or are using a local mirror, using Presto doesn’t make sense. It would be faster to download the full RPM package instead of downloading the changed parts and consuming CPU time to reconstruct the RPM to install. You can get detail information about Presto from Fedora Project, &lt;a href="http://fedoraproject.org/wiki/Releases/FeaturePresto"&gt;Click Here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If, however, we have a slow Internet connection using Presto makes sense: it will download smaller files which will save time, money and resources.&lt;br /&gt;Presto will depends mostly on the update. If it is an update that introduce a single patch that affects only one or two files among multi-megabyte package then using Presto will make the download really fast, if it’s an upgraded version being provided and most files would likely change meaning that many files have changed and been downloaded.&lt;br /&gt;&lt;br /&gt;To use Presto, All we need to do is install the yum-presto package, which contains the plugin for Presto:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;# yum install yum-presto&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Once this is done, we can call to yum using Presto with no further configuration on our part. If you don’t want to use it any more just we have to simply remove the yum-presto-package. &lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;# rpm -e yum-presto&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;After this in next using yum will act as normal, &lt;strong&gt;NOTE:&lt;/strong&gt; Presto is not the default in Fedora-11 but what look from the application is that it will be the default in Fedora-12.&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for you :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7319528356639092433?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7319528356639092433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7319528356639092433' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7319528356639092433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7319528356639092433'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/09/downloads-with-delta-rpms-in-fedora-11.html' title='Downloads with delta RPMs in Fedora-11'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7924301272928303429</id><published>2009-09-27T23:47:00.000-07:00</published><updated>2009-09-28T00:40:25.068-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux PC as Router'/><title type='text'>How to Configure Linux as a Router</title><content type='html'>It is not possible to purchase Network Router (like Cisco or Juniper) for communication between two different networks on a LAN, although we need router for that in any case, as Router is the device which is used for communication between two different networks. So we should go for economic solution so that it charge us less and also results in proper output.&lt;br /&gt;&lt;br /&gt;This can be done by using Linux Machine as a Router, we have some simple steps to do it, using Network Address Translation (NAT).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt; Enable packet forwarding . Make it permanent by adding "net.ipv4.ip_forward = 1" to /etc/sysctl.conf&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;echo "1" &gt; /proc/sys/net/ipv4/ip_forward&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; Enable iptables to handle NAT. ( eth0 is the public Interface )&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. &lt;/strong&gt;Save iptables settings &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;# service iptables save&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4.&lt;/strong&gt; Done. Check by routing table by verifying "netstat -nr" and iptables rules by "iptables -L"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is the simplest method and for iptables consult the one and only "GOOGLE".&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7924301272928303429?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7924301272928303429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7924301272928303429' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7924301272928303429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7924301272928303429'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/09/how-to-configure-linux-as-router.html' title='How to Configure Linux as a Router'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-193377063443121588</id><published>2009-09-11T02:49:00.000-07:00</published><updated>2009-09-11T03:12:12.978-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IP Hourglass Model'/><title type='text'>IP HourGlass Model</title><content type='html'>&lt;em&gt;"The Hourglass model is essentially the idea of funnelling all communications through some common, ubiquitous communications protocol. Prominent examples of this common protocol are Internet Protocol (IP) and Asynchronous Transfer Model (ATM) [1]"&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/SqoiLWL7iLI/AAAAAAAAAW0/6mCTVpwPRVw/s1600-h/Untitled.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 241px; height: 320px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/SqoiLWL7iLI/AAAAAAAAAW0/6mCTVpwPRVw/s320/Untitled.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5380150283177003186" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The data that is created by an application needs to pass through the layer of the TCP/IP reference model to reach the destination. For Example, The application layer protocol used might be HTTP, FTP or TFTP. Every Application layer protocol is associated with a transport layer protocol depending on wheather it is connection-oriented or connection-less. The transport layer protocol in turn interacts with IP for routing the data packets. It is very important to understand that irrespective of the application layer protocol and the transport layer protocol the only protocol that is used for routing the data packets is IP. When the data transmission through the four layers is visualized it takes the shape of an hourglass and thus the model is called the IP Hourglass Model.&lt;br /&gt;&lt;br /&gt;See Figure, When Source-A and Source-B interacts with HTTP so the request is forward to IP and Source-C interacts with IP using UDP and then IP forward or send the data to Network Interfaces say Ethernet or X.25 (creates on the basis of technology used) and then request is recieved by Destination-A, Destination-B and so on.&lt;br /&gt;&lt;br /&gt;[1]: www.google.com&lt;br /&gt;&lt;br /&gt;I hope this will be informative for You!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-193377063443121588?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/193377063443121588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=193377063443121588' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/193377063443121588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/193377063443121588'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/09/ip-hourglass-model.html' title='IP HourGlass Model'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/SqoiLWL7iLI/AAAAAAAAAW0/6mCTVpwPRVw/s72-c/Untitled.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-1117915545955039595</id><published>2009-09-09T23:21:00.000-07:00</published><updated>2009-09-09T23:26:49.699-07:00</updated><title type='text'>Some more Beginner Tips - CISCO</title><content type='html'>When you work on the Cisco Router or Catalyst Switch console, it would be annoying to have the console or terminal (telnet/ssh) logs to pop in between your commands. This can be even more irritating when it is busy switch or a router spitting messages continuously.&lt;br /&gt;&lt;br /&gt;We can log the messages to the console without interferring with your work in the console in Cisco IOS by logging synchronous.In Cisco IOS, logging synchronous can allow you to work along with the logs still logging to the console but without disturbing your work.&lt;br /&gt;To do this&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Consol:&lt;/strong&gt;&lt;br /&gt;&lt;blockquote&gt;Router(config)# line con 0&lt;br /&gt;Router(config-line)# logging synchronous &lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;AUX:&lt;/strong&gt;&lt;br /&gt;&lt;blockquote&gt;Router(config)# line aux 0&lt;br /&gt;Router(config-line)# logging synchronous &lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;Telnet/SSH:&lt;/strong&gt;&lt;br /&gt;&lt;blockquote&gt;Router(config)# line vty 0 4&lt;br /&gt;Router(config-line)# logging synchronous &lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;If your Router/Switch has more vty&lt;/strong&gt;&lt;br /&gt;&lt;blockquote&gt;Router(config)# line vty 5 15&lt;br /&gt;Router(config-line)# logging synchronous &lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Description:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To add a description to an interface configuration, use the description interface configuration command. Use the no form of this command to remove the description.&lt;br /&gt;The description command is meant solely as a comment to be put in the configuration to help you remember what certain interfaces are used for. &lt;br /&gt;The following example shows how to add a description for a T1 interface: &lt;br /&gt;&lt;blockquote&gt;Router(config)# interface serial 0&lt;br /&gt;Router(config-if)# description T1 line to How2Pass - 128 Kb/s&lt;/blockquote&gt;&lt;br /&gt;The description &lt;em&gt;"T1 line to How2Pass - 128 Kb/s"&lt;/em&gt; appears in the output of the following EXEC commands: show &lt;em&gt;startup-config&lt;/em&gt;, &lt;em&gt;show interfaces&lt;/em&gt;, and &lt;em&gt;show running-config&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;I hope it will be informative for You :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-1117915545955039595?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/1117915545955039595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=1117915545955039595' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1117915545955039595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1117915545955039595'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/09/some-more-beginner-tips-cisco.html' title='Some more Beginner Tips - CISCO'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3320645081889340237</id><published>2009-09-09T23:09:00.000-07:00</published><updated>2009-09-09T23:14:29.494-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Logging'/><category scheme='http://www.blogger.com/atom/ns#' term='Line consol 0'/><category scheme='http://www.blogger.com/atom/ns#' term='Description'/><title type='text'>Description / Line Console 0 / Logging Synchronous</title><content type='html'>I got an email today from one of my friend from india (we came to know about each other on cisco community on orkut :)&lt;br /&gt;&lt;br /&gt;Mr. XYZ&lt;br /&gt;&lt;br /&gt;&lt;em&gt;"hi sohail, &lt;br /&gt;how are u ?. I am fine and hope same for u. I have some problem in CCNA. so i am writing this mail..&lt;br /&gt;what is the use of command &lt;br /&gt;line console 0 and why we always should use 0 with this . if u will use this command in a router with a question mark &lt;br /&gt;such as&lt;br /&gt;Router(config) # line console ? &lt;br /&gt;&lt;0-4&gt; first line number&lt;br /&gt;Now this time it has five choices,we can use any number but the output is not coming as we want, I referred CCNA books but i could not get the answer. if it is necessary to use always 0 then why it gives five choices. I am not able to understand. &lt;br /&gt;&lt;br /&gt;my second problem is &lt;br /&gt;when i am typing some commands in router configuration mode I am getting some unwanted messages. how to remove these messages . mainly it is coming when we are typing in some commands. I got a answer that was use logging synchronous command, but i don't know how to use this command. and what will be the effect of that command we will get.&lt;br /&gt;&lt;br /&gt;my third problem is&lt;br /&gt;how to use description command and why ? "&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Reply:&lt;/blockquote&gt;&lt;em&gt;&lt;strong&gt;&lt;br /&gt;Ans # 1:&lt;/strong&gt;&lt;/em&gt; Man u r getting it wrong, in router the console command is always &lt;0-0&gt;, this is just usaed to enable the console password and 0 menas the zero level and it is always 0 see attachement with mail, i have attached the router snap short for u, while configuring the passowrd so when u enter there an option is wheather to ask for it r not i mean&lt;br /&gt;no logging OR logging&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Ans # 2:&lt;/strong&gt;&lt;/em&gt; We can log the messages to the console without interferring with your work in the console in Cisco IOS by logging synchronous.In Cisco IOS, logging synchronous can allow you to work along with the logs still logging to the console but without disturbing your work.&lt;br /&gt;To do this&lt;br /&gt;Consoole Port:&lt;br /&gt;Router(config)# line con 0&lt;br /&gt;Router(config-line)# logging synchronous&lt;br /&gt;AUX port: &lt;br /&gt;Router(config)# line aux 0&lt;br /&gt;Router(config-line)# logging synchronous &lt;br /&gt;for telent/ssh:&lt;br /&gt;Router(config)# line vty 0 4&lt;br /&gt;Router(config-line)# logging synchronous &lt;br /&gt;If ur switch or router has many vty session&lt;br /&gt;Router(config)# line vty 5 15&lt;br /&gt;Router(config-line)# logging synchronous &lt;br /&gt;or if you want to off then use NO with the commands.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;strong&gt;Ans # 3:&lt;/strong&gt;&lt;/em&gt;First why we use description, so description is used to remember the things in the future suppose in very large networks it is not possible all the interface and stuff that belong to whom, so better is to give some description to the interface etc to remember that.&lt;br /&gt; &lt;br /&gt;How to use:&lt;br /&gt; &lt;br /&gt;# interface serial 0&lt;br /&gt;# description T1 Line to Head Office - 256 Kb/s&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3320645081889340237?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3320645081889340237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3320645081889340237' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3320645081889340237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3320645081889340237'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/09/description-line-console-0-logging.html' title='Description / Line Console 0 / Logging Synchronous'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6781896308511723669</id><published>2009-09-07T00:23:00.000-07:00</published><updated>2009-09-07T00:55:04.465-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='TLS'/><category scheme='http://www.blogger.com/atom/ns#' term='ssl'/><category scheme='http://www.blogger.com/atom/ns#' term='IPS'/><category scheme='http://www.blogger.com/atom/ns#' term='IDM'/><category scheme='http://www.blogger.com/atom/ns#' term='HTTPS'/><title type='text'>IPS Device Manager (IDM) with HTTPS / SSL / TLS</title><content type='html'>Intrusion Prevention System (IPS), The device having the ability to detect and stop intruders in the network. IPS can be access through command Line (CLI) and also through web (GUI). The GUI used to access IPS is IDM.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;IDM:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;A GUI used to manage the IPS allowing a point-N' click way to manage the system. It can be access through web-browser. Different protcol can be used with IDM:&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;1. TLS / SSL / HTTPS&lt;br /&gt;2. Remote Data Exchnage Protocol (RDEP)&lt;br /&gt;3. Security Device Event Exchange (SDEE)&lt;br /&gt;4. Extended Markup Language (XML)&lt;br /&gt;5. Intrusion Detection Configuration (IDConf) &lt;br /&gt;&lt;br /&gt;HTTPS is a secure version of HTTP, its a HTTP over SSL or TLS. TLS or SSL make sure that data send over HTTP is secure and is encrypted. SSL comes out first for secure transaction like banking operations and transactions so we have to use some secure protcol and that was SSL but it was used only for HTTP (web) while we need an alternate also for other than web traffice so TLS was in. TLS can be used for any traffic or any communication type.&lt;br /&gt;&lt;br /&gt;When we communicate with IPS, we can use any one of the protocol (TLS, SSL, HTTPS). Once encrypted session is established we can use than any one of the two protocol (RDEP or SDEE) to send configuration using a secure method. Like RDEP is used to configure and then SDEE is used to report event or notify the target.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;em&gt;NOTE:&lt;/em&gt;&lt;/strong&gt; XML created and allow that it can store data, a universal way to store data and information with text, like back in 2000's Microsoft declare that we will now use XML to store data, just like we have our Microsoft office with .x extension (.docx) so All information to sensor will send using XML.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;System Requirements:&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;--&gt; Windows 2000 or XP&lt;br /&gt;--&gt; Sun Sparc Solaris 2.8 or 2.9 or later&lt;br /&gt;--&gt; Red Hat Linux 9.0 w/Gnome or KDE&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Browser:&lt;/strong&gt;&lt;em&gt;&lt;br /&gt;--&gt; Internet Explorer 6.0 or later&lt;br /&gt;--&gt; Netscape 7.1 or later &lt;br /&gt;--&gt; Mozilla 1.7 or later&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Java Plug-in 1.5 or later&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Login in to IPS using web browser like&lt;br /&gt;&lt;blockquote&gt;https://10.1.1.10&lt;/blockquote&gt;&lt;br /&gt;Further detail of IPS configurations, Problmes solution will be discussed soon here.&lt;br /&gt;&lt;br /&gt;I hope this wille informativ for You :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6781896308511723669?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6781896308511723669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6781896308511723669' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6781896308511723669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6781896308511723669'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/09/ips-device-manager-idm-with-https-ssl.html' title='IPS Device Manager (IDM) with HTTPS / SSL / TLS'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5624516493304990404</id><published>2009-09-03T00:59:00.001-07:00</published><updated>2009-09-03T02:31:53.310-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='password complexity'/><category scheme='http://www.blogger.com/atom/ns#' term='domain controller'/><title type='text'>Domain Policy Updation</title><content type='html'>I was asked by an Network Manager in XYZ-Medical University in Peshawar about a problme in Domain controller that he was facing, he told me:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Network Manager Said:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;I am trying to change the password options for my Domain Controller (on Windows Server-2003), like i want to make my password length say 5 character and second i want to remove the passowrd complexity like in windows server 2003 by default you have to give password a combination of character, numbers and special characters (@,# et) now i have done the necessary steps but still its not working, like still for new user, the system is asking for complex password.&lt;br /&gt;So he request me to help me out in this :( &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;After looking for some solution i got the answer and it was so simple, "Actually this is the problme in Windows Server-2003 whenever you make changes in &lt;strong&gt;"DOMAIN SECURIT POLICY"&lt;/strong&gt; &amp; &lt;strong&gt;"DOMAIN CONTROOLER SECURITY POLICY"&lt;/strong&gt; so the changes will not effect until you update the group policy. The detail steps to do this is as under:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Start --&gt; Administrative Tools --&gt; Domain Security policy --&gt; Account Policy --&gt; Password Policy &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Then here &lt;em&gt;DISABLE&lt;/em&gt; the option &lt;em&gt;"Password must meet the complexity requirement"&lt;/em&gt; and define size for &lt;em&gt;"Password minimum Length". &lt;/em&gt;Here we have done with the definition now to make the chaages effect, lets look it:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Steps:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Go to command prompt&lt;br /&gt;2. Run&lt;br /&gt;3. cmd&lt;br /&gt;4. c:\&gt; gpupdate &lt;br /&gt;       or&lt;br /&gt;c:\&gt; gpupdate/force&lt;br /&gt;&lt;br /&gt;and it will now work and the MIS Manager also done with the problem.&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5624516493304990404?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5624516493304990404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5624516493304990404' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5624516493304990404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5624516493304990404'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/09/domain-policy-updation.html' title='Domain Policy Updation'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-9220570256960530732</id><published>2009-08-31T00:56:00.000-07:00</published><updated>2009-08-31T20:05:04.295-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CE500 switch'/><category scheme='http://www.blogger.com/atom/ns#' term='configuration'/><title type='text'>Configuration of Cisco Catalyst Express-500 Switch</title><content type='html'>In this document i will brielfy explain about the initial configuration / pocedure of Cisco Catalyst Express-500 series switches. The information in this document was created from the devices in a specific lab environment in my own office where i am working as i was asked to check this switch and try for all the configurations like VLAN, Ether-channel, Inter-Vlan Routing etc.&lt;br /&gt;&lt;br /&gt;Now lets look at the steps to access the switch, Follow the steps in the same order as given to complete the configuration :)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt; Make sure to unplug all device from switch if connected&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; Power the switch&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt; Wait for the SETUP LED to blink green&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4.&lt;/strong&gt; Press Setup, A switch port LED begins to blink green&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5.&lt;/strong&gt; When a switch port LED blinks green, connect your PC to that port (normally FastEthernet 0/1) &lt;br /&gt;&lt;br /&gt;The LAN adapter of this PC (attached to the switch) must be configured to get the IP address via DHCP. The LEDs on the PC and the switchport blink green while the switch configures the connection (this takes around one minute)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6.&lt;/strong&gt; Open a web browser, access your switch through IP and it should display the GUI, if not display then follow the followinf steps&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;a.&lt;/strong&gt; Issue the ipconfig command in order to view the dynamic address allocation.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_OTefDZiV8NU/SpuVNJZ1wLI/AAAAAAAAAWU/kBRvQei-Efo/s1600-h/1.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 318px; height: 101px;" src="http://3.bp.blogspot.com/_OTefDZiV8NU/SpuVNJZ1wLI/AAAAAAAAAWU/kBRvQei-Efo/s320/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5376054633291956402" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The switch configures its management address as the Default Gateway for the LAN adapter card of the PC.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; For Cisco IOS Software FY series releases, the management IP address is 10.0.0.1. For Cisco IOS Software SEG series releases, the IP address is 169.254.0.1: &lt;strong&gt;"Source is cisco.com for this note"&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;b.&lt;/strong&gt; From the browser, go to the mentioned IP address. For example, http://10.0.0.1&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;7.&lt;/strong&gt; Enter the Network Settings and Optional Settings (if required). Click Submit in order to save changes and finish the basic configuration.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/SpuWA1n0ipI/AAAAAAAAAWc/EdJ91o3mgqI/s1600-h/2.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 165px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/SpuWA1n0ipI/AAAAAAAAAWc/EdJ91o3mgqI/s320/2.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5376055521335085714" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;8.&lt;/strong&gt; Enter the configured User Name and Password in order to continue the configuration of the switch.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_OTefDZiV8NU/SpuXBoOrxfI/AAAAAAAAAWs/Gq70DmLd8vA/s1600-h/3.gif"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 202px;" src="http://3.bp.blogspot.com/_OTefDZiV8NU/SpuXBoOrxfI/AAAAAAAAAWs/Gq70DmLd8vA/s320/3.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5376056634431489522" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;9.&lt;/strong&gt; Then it will ask you for configuration of smart port, so just click on "no thanks"&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;10.&lt;/strong&gt; In last it will display a prompt "Restart the switch with its current settings" and "Reset the switch to its factory default, and then restart the switch", so select the first option "Restart the switch with its current settings" and press &lt;strong&gt;"submit"&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;11.&lt;/strong&gt; Close the web browser and reconfigure the LAN adapter with an IP address within the same subnet of the new management address of the switch.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;12.&lt;/strong&gt; When the switch restart, open a web browser and go to http://CE-500_Management_IP_Address, For example, http://172.16.100.100&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-9220570256960530732?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/9220570256960530732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=9220570256960530732' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/9220570256960530732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/9220570256960530732'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/configuration-of-cisco-catalyst-express.html' title='Configuration of Cisco Catalyst Express-500 Switch'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OTefDZiV8NU/SpuVNJZ1wLI/AAAAAAAAAWU/kBRvQei-Efo/s72-c/1.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-8165354965584217650</id><published>2009-08-23T22:25:00.000-07:00</published><updated>2009-08-23T22:46:11.528-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VPN'/><category scheme='http://www.blogger.com/atom/ns#' term='DMVPN'/><category scheme='http://www.blogger.com/atom/ns#' term='split-horizon EIGRP'/><title type='text'>DMVPN - EIGRP, Disable Split-Horizon</title><content type='html'>I was ask to tell the solution for the following question regarding DMVPN.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Q:&lt;/strong&gt; &lt;em&gt;I am deploying a DMVPN hub and spokes with mGRE tunnels protected by IPSEC. I activated EIGRP on it, and I noticed that on the spoke EIGRP&lt;br /&gt;installs in its routing table only the route to the hub, while the spoke-to-spoke routes don't appear neither in the routing table, neither in the EIGRP topology. Nevertheless, the spokes communicate between them through the dynamic tunnels.&lt;br /&gt;I couldn't find any Cisco document contemplating the issue. I wonder if this is the way it's supposed to work, or if I have to search for some misconfiguration.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;There are certain rules which we have to remember while configuring DMVPN with EIGRP, One of these rules is split horizon. The DMVPN hub tunnel interface serves multiple spokes. Also the tunnel ip address is on the same subnet as its spokes. When configuring a EIGRP AS you use the tunnel network id as a network you want to participate on with EIGRP.&lt;br /&gt;&lt;br /&gt;Split Horizon was designed to not allow a router to advertise a route out the same interface in which the route was originally learned. This conflicts in the case of the tunnel interface because it needs to be able to make neighbors with the spokes on the same subnet and also re-advertise routes learned from one spoke to the next. &lt;br /&gt;&lt;br /&gt;Again, If you dont disable split horizon on the tunnel interface you will only see the routes the hub itself is responsible for from a spoke router. This can be done by a single command under tunnel interface.&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;# no ip split-horizon eigrp 2&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;Now you can see all routes in the client routing table. &lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-8165354965584217650?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/8165354965584217650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=8165354965584217650' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8165354965584217650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8165354965584217650'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/spoke-to-spoke-router-not-appear-while.html' title='DMVPN - EIGRP, Disable Split-Horizon'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7605739766568336282</id><published>2009-08-18T06:07:00.000-07:00</published><updated>2009-08-18T06:25:48.685-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GRE/IPsec'/><category scheme='http://www.blogger.com/atom/ns#' term='IPSec VPN'/><title type='text'>GRE/IPSEC and IPSEC VPN tunnels</title><content type='html'>GRE is used as a it provides pure tunneling see &lt;a href="http://sohailpk.blogspot.com/2009/08/gre-tunnels.html"&gt;GRE&lt;/a&gt; for full information. To make secure the GRE tunneling we use GRE/IPSec or IPSec VPN tunnel, as it is one way of setting up private site-to-site connection by utilizing public network (the Internet). Since it is utilizing public network, there would be no need to have dedicated physical circuit to interconnect the sites, hence requiring low overhead to setup while maintain private and secure connection.&lt;br /&gt;&lt;br /&gt;With site-to-site IPSec VPN, there is a IP routing in place to interconnect multiple subnet. This IP routing could be static routing or dynamic routing. In a small network where there is only one path connecting two sites, then static routing should be sufficient. When there are multiple paths connecting two sites, then dynamic routing (i.e. EIGRP, OSPF) should be used to have optimal connection just like i did for our office as we have multiple sites to connect and communicate so we used dynamic routing (EIGRP) although we use &lt;span style="font-weight:bold;"&gt;DMVPN&lt;/span&gt; (i will talk about it in next blogs).&lt;br /&gt;&lt;br /&gt;Note that IPSec tunneling technology is only able to support static routes and basic IP interconnection. When there are more advance IP interconnections needed, such as running Novell IPX, dynamic routing, and load balancing between the sites, then IPSec tunneling itself is unable to support. For such advance IP interconnections, GRE tunneling is the choice. The downside of GRE tunneling is that GRE tunnel is less-secure tunnel compared to IPSec tunnel.&lt;br /&gt;&lt;br /&gt;As we use dynamic routing and decided to use public network and also want to have a secure connection, so the workaround is to run GRE over IPSec. IPSec will then be encrypting the GRE tunnel securely and GRE tunnel will be providing the advance IP interconnection support. The Header will look like this (Rough sketch form me sorry for so simple :(&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OTefDZiV8NU/SoqrnbV7R0I/AAAAAAAAAWM/SiZVn0FheKM/s1600-h/Untitled.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 35px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/SoqrnbV7R0I/AAAAAAAAAWM/SiZVn0FheKM/s320/Untitled.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5371294199435708226" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For the detail configuration of &lt;a href="http://sohailpk.blogspot.com/2009/08/gre-tunnels.html"&gt;GRE&lt;/a&gt; and &lt;a href="http://sohailpk.blogspot.com/2009/08/vpn-site-to-site-cli-configuration.html"&gt;VPN&lt;/a&gt; look at my blogs.&lt;br /&gt;&lt;br /&gt;I hope this will be informative for you.&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7605739766568336282?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7605739766568336282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7605739766568336282' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7605739766568336282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7605739766568336282'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/greipsec-and-ipsec-vpn-tunnels.html' title='GRE/IPSEC and IPSEC VPN tunnels'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/SoqrnbV7R0I/AAAAAAAAAWM/SiZVn0FheKM/s72-c/Untitled.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3922194736072941664</id><published>2009-08-18T04:51:00.000-07:00</published><updated>2010-02-21T00:53:58.498-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='EIGRP'/><category scheme='http://www.blogger.com/atom/ns#' term='GRE Tunneling'/><title type='text'>GRE Tunnels</title><content type='html'>&lt;span style="font-weight:bold;"&gt;GRE &lt;/span&gt;stands for "Generic Routing Encapsulation". GRE is now industry tunneling method used to create a logical "TUNNEL" interface. It is designed to work with logical protocols, only GRE is completely non-secure as we have no concept of crypto-map. This makes a seperate network over the network, but now they add an IP header in the GRE header so makes it secure and provides a perfect tunneling. I will talk about GRE tunneling here, lets look at the configurations of GRE.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_OTefDZiV8NU/SoqeRzsFyRI/AAAAAAAAAWE/rpejuZgojRk/s1600-h/gre.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 111px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/SoqeRzsFyRI/AAAAAAAAAWE/rpejuZgojRk/s320/gre.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5371279534362839314" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Run EIGRP on both sides&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;ReedWood(config) # router eigrp 1&lt;br /&gt;ReedWood(config-router) # network 10.0.0.0&lt;br /&gt;ReedWood(config-router) # network 41.0.0.0&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;PineWood(config) # router eigrp 1&lt;br /&gt;PineWood(config-router) # network 10.0.0.0&lt;br /&gt;PineWood(config-router) # network 41.0.0.0&lt;/blockquote&gt;&lt;br /&gt;Now to create tunnel on both side lets look at the configurations&lt;br /&gt;&lt;blockquote&gt;ReedWood(config) # interface tunnel 0&lt;br /&gt;                 # ip address 10.5.1.2 255.255.255.0&lt;br /&gt;                 # tunnel source 0/0&lt;br /&gt;                 # tunnel destination 41.95.110.2&lt;br /&gt;                 # tunnel mode gre ip&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;PineWood(config) # interface tunnel 0&lt;br /&gt;                 # ip address 10.5.1.1 255.255.255.0&lt;br /&gt;                 # tunnel source 0/0&lt;br /&gt;                 # tunnel destination 41.95.110.1&lt;br /&gt;                 # tunnel mode gre ip&lt;/blockquote&gt;&lt;br /&gt;At this point for simplicty define static route on Router-A and check the connectivity&lt;br /&gt;&lt;blockquote&gt;Router-A (config) # ip route 0.0.0.0 0.0.0.0&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;PineWood # show ip eigrp neighbor&lt;/blockquote&gt; &lt;br /&gt;&lt;br /&gt;It will shows you that the route is learned via Tunnel.&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for You !&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3922194736072941664?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3922194736072941664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3922194736072941664' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3922194736072941664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3922194736072941664'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/gre-tunnels.html' title='GRE Tunnels'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/SoqeRzsFyRI/AAAAAAAAAWE/rpejuZgojRk/s72-c/gre.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-2470452185967028980</id><published>2009-08-12T06:50:00.000-07:00</published><updated>2009-08-12T07:55:26.437-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='site- to-site VPN'/><category scheme='http://www.blogger.com/atom/ns#' term='CLI cofiguration'/><title type='text'>VPN Site-to-Site CLI Configuration</title><content type='html'>We are going to configure site-to-site VPN (site-to-site) between head office (Lahore) and our regional office (Peshawar), so here i am going to briefly discuss VPN i.e &lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/SoLVFRmDVGI/AAAAAAAAAV8/tb7gMWN2u9w/s1600-h/VPN.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 174px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/SoLVFRmDVGI/AAAAAAAAAV8/tb7gMWN2u9w/s320/VPN.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5369087992378119266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;1. How VPN are established&lt;br /&gt;2. Configuring IKE Phase-1 parameters&lt;br /&gt;3. Configuring IKE Phase-2 parameters&lt;br /&gt;4. Configuring Interesting Traffic&lt;br /&gt;5. CLI configuration&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cisco Router Perspective of VPN Connection&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. The routers recieve traffic considered "WORTHY" of establishing a VPN connection.&lt;br /&gt;2. IKE Phase-1 negotiated, security association (SA) established.&lt;br /&gt;3. IKE Phase-2 negotiated, security association established.&lt;br /&gt;4. Data tranmitted through IPSec tunnel.&lt;br /&gt;5. Once transmission complete, IPSec tunnel turn down (If you configure Time).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;**:&lt;/strong&gt; After 24-hours it can re-negotiated session key&lt;br /&gt;&lt;strong&gt;**:&lt;/strong&gt; After certain amount of data can re-negotiate the key.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Configuration:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;1. Set up ISKAMP Policy (IKE Phase-1)&lt;br /&gt;2. Set up IPSec Transform set (IKE Phase-2)&lt;br /&gt;3. Define Interesting Traffic&lt;br /&gt;4. Set up Crypto Map&lt;br /&gt;5. Assign Crypto Map to Interface &lt;br /&gt;&lt;blockquote&gt;PSH-Router(config) # crypto isakmp policy 50&lt;br /&gt;PSH-Router(config-isakmp) # authentication pre-share&lt;br /&gt;PSH-Router(config-isakmp) # encryption aes 128&lt;br /&gt;PSH-Router(config-isakmp) # group 2&lt;br /&gt;PSH-Router(config-isakmp) # hash sha&lt;br /&gt;PSH-Router(config-isakmp) # lifetime 5000&lt;br /&gt;PSH-Router(config-isakmp) #exit&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;PSH-Router(config) # crypto isakmp key 0 cisco address 71.209.254.34&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;PSH-Router(config) # crypto ipsec transform-set DEMO esp-aes 128 esp-sha-hmac&lt;br /&gt;PSH-Router(cfg-crypto-trans) # &lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;PSH-Router(config) # ip access-list extended INT_TRAFFIC &lt;br /&gt;PSH-Router(config-ext-nacl) # permit ip 172.30.0.0 0.0.255.255 192.168.1.0 0.0.0.255&lt;br /&gt;PSH-Router(config-ext-nacl) # exit&lt;/blockquote&gt;&lt;br /&gt;Note: This is not Permit or Deny ACL, this means encrypt this traffic.&lt;br /&gt;&lt;blockquote&gt;PSH-Router(config) # crypto map VPN_MAP 10 ipsec-isakmp&lt;br /&gt;PSH-Router(config-crypto-map) # set peer 71.209.254.34&lt;br /&gt;PSH-Router(config-crypto-map) # match address INT_TRAFFIC&lt;br /&gt;PSH-Router(config-crypto-map) # set transform-set DEMO&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;PSH-Router(config) # interface fastethernet 0/1&lt;br /&gt;PSH-Router(config-if) # crypto map VPN_MAP&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;Head office configuration:&lt;/strong&gt;&lt;br /&gt;And same configuration is required on the other side with just a bit of changes, lets c&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Head-Office(config) # crypto isakmp policy 50&lt;br /&gt;Head-Office(config-isakmp) # authentication pre-share&lt;br /&gt;Head-Office(config-isakmp) # encryption aes 128&lt;br /&gt;Head-Office(config-isakmp) # group 2&lt;br /&gt;Head-Office(config-isakmp) # hash sha&lt;br /&gt;Head-Office(config-isakmp) # lifetime 5000&lt;br /&gt;Head-Office(config-isakmp) #exit&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;Head-Office(config) # crypto isakmp key 0 cisco address 130.13.140.129&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;Head-Office(config) # crypto ipsec transform-set DEMO esp-aes 128 esp-sha-hmac&lt;br /&gt;Head-Office(cfg-crypto-trans) # &lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;Head-Office(config) # ip access-list extended INT_TRAFFIC &lt;br /&gt;Head-Office(config-ext-nacl) # permit ip 192.168.1.0 0.0.0.255 172.30.0.0 0.0.255.255&lt;br /&gt;Head-Office(config-ext-nacl) # exit&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;Head-Office(config) # crypto map VPN_MAP 10 ipsec-isakmp&lt;br /&gt;Head-Office(config-crypto-map) # set peer 130.13.140.129&lt;br /&gt;Head-Office(config-crypto-map) # match address INT_TRAFFIC&lt;br /&gt;Head-Office(config-crypto-map) # set transform-set DEMO&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote&gt;Head-Office(config) # interface fastethernet 0/4&lt;br /&gt;Head-Office(config-if) # crypto map VPN_MAP&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I used group-2 in my configuration, actually we have different diffie helmin groups like group-1 is less processor intensive but encryptio is weak (768-bit), group-2 is processor intensive but provides high bit encryption (1024-bit) and group-5 provides even more (1536-bit) encryption. so it depends on you which ever group you are using. &lt;br /&gt;&lt;br /&gt;I hope this will be informative for You :)&lt;br /&gt;&lt;br /&gt;Any suggestion and comments will be highly appreciated.&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-2470452185967028980?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/2470452185967028980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=2470452185967028980' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2470452185967028980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2470452185967028980'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/vpn-site-to-site-cli-configuration.html' title='VPN Site-to-Site CLI Configuration'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/SoLVFRmDVGI/AAAAAAAAAV8/tb7gMWN2u9w/s72-c/VPN.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-408067914287534295</id><published>2009-08-11T23:36:00.000-07:00</published><updated>2009-08-11T23:55:02.472-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='naming convention'/><category scheme='http://www.blogger.com/atom/ns#' term='ios'/><title type='text'>Understanding the IOS File Name Convention</title><content type='html'>As a network guy we should know about the naming convention of the IOS file name, which is usually similar to this form: &lt;br /&gt;&lt;br /&gt;xxxx-yyy-ww.aaa-bb.bin &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. The xxxx is the platform, For example,&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;c1005 – For 1005 platform &lt;br /&gt;&lt;br /&gt;c1600 – For 1600 platform &lt;br /&gt;&lt;br /&gt;c1700 – For 1700, 1720, and 1750 platforms &lt;br /&gt;&lt;br /&gt;c2500 – For 25xx, 3xxx, 5100, and AO (11.2 and later only) platforms &lt;br /&gt;&lt;br /&gt;c2600 – For 2600 platform &lt;br /&gt;&lt;br /&gt;c2800 – For Catalyst 2800 platform &lt;br /&gt;&lt;br /&gt;c2900 – For 2910 and 2950 platforms &lt;br /&gt;&lt;br /&gt;c3620 – For 3620 platform &lt;br /&gt;&lt;br /&gt;c3640 – For 3640 platform &lt;br /&gt;&lt;br /&gt;c4000 – For 4000 platform (11.2 and later only) &lt;br /&gt;&lt;br /&gt;c4500 – For 4500 and 4700 platforms &lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. The yyy is the feature set. For example,&lt;/strong&gt; &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;b&lt;/strong&gt; For Apple talk support &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;boot&lt;/strong&gt; For boot image &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;c&lt;/strong&gt; For CommServer lite (CiscoPro) &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;drag&lt;/strong&gt; For IOS based diagnostic image &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;g&lt;/strong&gt; For ISDN subset (SNMP, IP, Bridging, ISDN, PPP, IPX, and AppleTalk) &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;i&lt;/strong&gt; For IP sebset (SNMP, IP, Bridging, WAN, Remote Node, and Terminal Services) &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;n&lt;/strong&gt; For IPX support &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;q&lt;/strong&gt; For asynchronous support &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;t&lt;/strong&gt; For Telco return (12.0) &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;y&lt;/strong&gt; For reduced IP (SNMP, IP RIP/IGRP/EIGRP, Bridging, ISDN, and PPP) (c1003 or c1004) &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;z&lt;/strong&gt; For managed modems &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;40&lt;/strong&gt; For 40 bit encryption &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;50&lt;/strong&gt; For 50 bit encryption &lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3. The ww is for the format (where the IOS file runs in the router) &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;f&lt;/strong&gt; For flash &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;m&lt;/strong&gt; For RAM &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;r&lt;/strong&gt; For ROM &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;l&lt;/strong&gt; For the image will be relocated at run time &lt;br /&gt;&lt;br /&gt;The file might also be compressed. The following letters denote the compression type, &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;z&lt;/strong&gt; For zip compression &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;x&lt;/strong&gt; For mzip compression &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;w&lt;/strong&gt; For “STAC” compression &lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;aaa-bb&lt;/strong&gt; represent the version of the IOS. It is usually read like this “Version aa.a(bb)”. The last part of the IOS file name might contain letters like &lt;strong&gt;T&lt;/strong&gt; (new feature release identifier),&lt;strong&gt; S&lt;/strong&gt; (individual release number), or &lt;strong&gt;XR&lt;/strong&gt; (modular packages).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-408067914287534295?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/408067914287534295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=408067914287534295' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/408067914287534295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/408067914287534295'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/understanding-ios-file-name-convention.html' title='Understanding the IOS File Name Convention'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5728599399272666823</id><published>2009-08-10T03:19:00.000-07:00</published><updated>2009-08-10T03:40:03.590-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='banner'/><category scheme='http://www.blogger.com/atom/ns#' term='hostname'/><category scheme='http://www.blogger.com/atom/ns#' term='domain name'/><title type='text'>Add a login banner to your Cisco router</title><content type='html'>I seen many people who just use banner for some welcome messages and stuff like that but we can use it in many usefull manners say like when i telnet or ssh so it should display me some warning message like "Unauthorized Access prohibited", say may be we want to display password if we changed that and let want the second shift administrator to know about it etc or we can also use it like to display the hostname, domain name etc so here is a small view of it, have a look :)&lt;br /&gt;&lt;br /&gt;The syntax of banner is as follow:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;PSH-DXX (config) # banner motd {char} {banner text} {char}&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;where {char} is a special delimeter character that does not exist in the {banner text}. Everything contained between the first and second {char} characters, including carriage returns, is interpreted as the banner message. For example,&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;PSH-DXX (config)# banner motd #&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;******************************************&lt;br /&gt;* Unauthorized access prohibited&lt;br /&gt;******************************************&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;#&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;OR we can have this in some more detail like as shoen&lt;br /&gt;&lt;blockquote&gt;PSH-DXX (config)# banner motd #&lt;/blockquote&gt;&lt;br /&gt;&lt;strong&gt;-------------------------------------------&lt;br /&gt;Unauhorized Access Prohibited&lt;br /&gt;-------------------------------------------&lt;br /&gt;You have access $(hostname).$(domain)&lt;br /&gt;You are accessing line $(line)&lt;br /&gt;-------------------------------------------&lt;br /&gt;Unauhorized Access Prohibited&lt;br /&gt;-------------------------------------------&lt;/strong&gt;&lt;br /&gt;The output of the banner is as:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/Sn_4O-Nw7FI/AAAAAAAAAVQ/R1ZwWhHbq6s/s1600-h/Untitled.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 161px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/Sn_4O-Nw7FI/AAAAAAAAAVQ/R1ZwWhHbq6s/s320/Untitled.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5368282216951508050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5728599399272666823?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5728599399272666823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5728599399272666823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5728599399272666823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5728599399272666823'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/add-login-banner-to-your-cisco-router.html' title='Add a login banner to your Cisco router'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/Sn_4O-Nw7FI/AAAAAAAAAVQ/R1ZwWhHbq6s/s72-c/Untitled.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5867293880967338626</id><published>2009-08-09T22:29:00.000-07:00</published><updated>2009-08-10T01:40:15.635-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssl'/><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><title type='text'>openssl command-line program</title><content type='html'>The openssl command can be used to create digests of a file, which can be used to verify that a file has not been tampered with:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;$ echo "test file"&gt; foo.txt &lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;$ openssl dgst -md5 foo.txt&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;MD5(foo.txt)= b05403212c66bdc8ccc597fedf6cd5fe&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;$ openssl dgst -sha1 foo.txt&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;SHA1(foo.txt)= 0181d93fee60b818e3f92e470ea97a2aff4ca56a&lt;br /&gt;&lt;br /&gt;To view the other message digests that can be used, look at the output of openssl list-message-digest-commands.&lt;br /&gt;&lt;br /&gt;You can also use openssl to encrypt files. To view the list of available ciphers, use openssl list-cipher-commands. Once you’ve chosen a cipher to use, you can encrypt the file using the following commands:&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;$ openssl enc -aes-256-cbc -salt -in foo.txt -out foo.enc &lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;enter aes-256-cbc encryption password:&lt;br /&gt;Verifying - enter aes-256-cbc encryption password:&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;$ file foo.enc&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;foo.enc: data&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;$ cat foo.enc&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;Salted__yvi{!e????i"Yt?;(Ѱ e%                                                                                   &lt;em&gt;&lt;blockquote&gt;$ openssl enc -d -aes-256-cbc -in foo.enc&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;enter aes-256-cbc decryption password:&lt;br /&gt;test file&lt;br /&gt;&lt;br /&gt;In the above example, the file foo.txt was encrypted using 256-bit AES in CBC mode, the encrypted copy being saved as the file foo.enc. Looking at the contents of the file provide gibberish. Decrypting the file is done using the -d option, however keep in mind that not only do you need to remember the password, you also need to know the cipher used.&lt;br /&gt;&lt;br /&gt;I hope it will help You :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5867293880967338626?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5867293880967338626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5867293880967338626' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5867293880967338626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5867293880967338626'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/openssl-command-line-program.html' title='openssl command-line program'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-4302372666295602246</id><published>2009-08-08T04:18:00.000-07:00</published><updated>2009-08-08T05:40:04.226-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='KRON'/><category scheme='http://www.blogger.com/atom/ns#' term='Archive'/><title type='text'>Periodical Configuration Save of Cisco Devices</title><content type='html'>Periodical configuration save of Cisco devices can be done from inside the device by using a combination of "kron" and "archive" commands. As we had no routine of taking backup of our router but yesterday after a long search now i have successfully configured all stuff like backup, monitoring my router through &lt;a href="http://sohailpk.blogspot.com/2009/08/audit-your-cisco-routers-security-with.html"&gt;Nipper&lt;/a&gt; (see my full blog on it, click Nipper), Now i will take my backup and will save at remote place :). &lt;br /&gt;&lt;br /&gt;Define the location of your configuration save apart from the default Flash location. Based on your IOS support, this can be a HTTP, HTTPS, FTP, or TFTP path. I am taking the backup using tftp.&lt;br /&gt;&lt;br /&gt;The following commands is used to enable archive and define the path, while third command is used that when ever someone copy configuration to NVRAM so it will take backup also.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;PSW-DXX (config) # archive&lt;br /&gt;PSW-DXX (config-archive)# path tftp://10.110.1.22/&lt;br /&gt;PSW-DXX(config-archive) # write-memory&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;If you want to suppress the display of password information in configuration log files, use the hidekeys command in configuration change logger configuration mode. or To allow the display of password information in configuration log files, use the no form of this command&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;PSW-DXX (config)# archive&lt;br /&gt;PSW-DXX (config-archive)# log config&lt;br /&gt;PSW-DXX (config-archive-log-cfg)# hidekeys or no hidekeys&lt;br /&gt;PSW-DXX (config-archive-log-cfg)# exit&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;To enable the logging of configuration changes, use the logging enable command in configuration change logger configuration mode. To disable the logging of configuration changes, use the no form of this command. &lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;PSW-DXX (config-archive-log-cfg)# logging enable &lt;br /&gt;or&lt;br /&gt;PSW-DXX (config-archive-log-cfg)# no logging enable&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;To specify the maximum number of entries retained in the configuration log, use the logging size command in configuration change logger configuration mode. By default value is 100. To reset the default value, use the no form of this command. &lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;PSW-DXX (config-archive-log-cfg)# logging size 200&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. KRON&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Define the policy list for the scheduler. The following is calling the "write config" command which will trigger the copy over network from the above: &lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;PSW-DXX (config) # kron policy-list backup-config&lt;br /&gt;PSW-DXX (config-kron-policy) #  cli write memory&lt;/blockquote&gt;&lt;/em&gt; &lt;br /&gt;&lt;br /&gt;Define the schedule of the policy. The following example is for ten minutes past evening, everyday: &lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;PSW-DXX (config) # kron occurrence daily-config-backup at 05:10 recurring&lt;br /&gt;PSW-DXX (config-kron-occurrence) #  policy-list backup-config&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Note: Every time the "write memory" command is issued, the device will trigger a network copy to the path specified above. &lt;br /&gt;&lt;br /&gt;I hope this will be informative for you. :)&lt;br /&gt;&lt;br /&gt;Cheers :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-4302372666295602246?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/4302372666295602246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=4302372666295602246' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4302372666295602246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4302372666295602246'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/periodical-configuration-save-of-cisco.html' title='Periodical Configuration Save of Cisco Devices'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6562692698226203708</id><published>2009-08-07T23:43:00.000-07:00</published><updated>2009-08-08T07:30:13.986-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nipper'/><category scheme='http://www.blogger.com/atom/ns#' term='Using Configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='Router Security'/><title type='text'>Audit your Cisco router's security with Nipper</title><content type='html'>While recently googling on a net, I learned about Nipper. Although there are many security tools that i studied which is used to perform security audits of network devices, but i found Nipper unique, so i configure this on our office (SNGPL) production router.&lt;br /&gt;&lt;br /&gt;What is &lt;strong&gt;Nipper (Network Infrastructure Parser), &lt;/strong&gt;Nipper is an open source network devices security auditing tool. One benefit of being open source is that it’s free :)Previously known as CiscoParse, Nipper isn’t especially polished, but it is very functional. It was easy to install and easy to use.&lt;br /&gt;&lt;br /&gt;Even more impressive :) is that it works with many different types of network devices (and not just Cisco). Here’s a list of compatible network devices that Nipper can audit:&lt;br /&gt;&lt;br /&gt;Cisco switches (IOS)&lt;br /&gt;Cisco routers (IOS)&lt;br /&gt;Cisco firewalls (PIX, ASA, FWSM) &lt;br /&gt;Cisco Catalyst switches (NMP, CatOS, IOS)&lt;br /&gt;Cisco Content Service Switches (CSS)&lt;br /&gt;Juniper NetScreen Firewalls (ScreenOS)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How to use NIPPER ?&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Nipper supports a lot of devices and provides many options, so I here i can’t possibly demonstrate all those options. what i do is to show you the basic demonstration. For our example, we’ll use Nipper to audit a Cisco router that has only the default configuration.&lt;br /&gt;&lt;br /&gt;To begin, I took a Cisco 1841 router. First, download Nipper from &lt;a href="http://sourceforge.net/forum/forum.php?forum_id=722046"&gt;SourceForge.net&lt;/a&gt; it’s available for both Windows and Linux. Extract it to a folder on your local PC; let’s call it C:\nipper as i have done like this.&lt;br /&gt;&lt;br /&gt;Next, obtain a text version of the router’s configuration file. Telnet or SSH to the router, use the show running-configuration command, copy and paste the output into Notepad, and save it to your local PC in the aforementioned C:\nipper directory.&lt;br /&gt;&lt;br /&gt;Alternatively, you can use a TFTP server and copy the configuration to your local PC. For example, I tried this using Tftpd32.exe, and it was both quick and easy. Use the following command to copy the file if some one don't know how to do :)&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;PSW-DXX # copy startup-config tftp:&lt;br /&gt;Address or name of Remote Host: 10.110.1.22&lt;br /&gt;Destination filename[startup-config] yes&lt;br /&gt;!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! OK :)&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Once you have the running configuration that you want to audit on your PC, go to the Windows command prompt, and CD into the Nipper directory. Run the following, as shown in Figure A:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_OTefDZiV8NU/Sn0mcCLgsiI/AAAAAAAAAUo/xvspHWw5Iuc/s1600-h/cmd.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 81px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/Sn0mcCLgsiI/AAAAAAAAAUo/xvspHWw5Iuc/s320/cmd.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5367488593958842914" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;C:\nipper&gt; nipper --ios-router --input=startup-config.txt --output=audit.html&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;The system will immediately return you to the command prompt without providing any information. But don’t worry — it worked.&lt;br /&gt;&lt;br /&gt;Next, open a Web browser and enter this URL: &lt;strong&gt;c:\nipper\audit.html&lt;/strong&gt;. This will take you to the security report. Figure B offers a screenshot of the audit.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_OTefDZiV8NU/Sn0mqdhVBDI/AAAAAAAAAUw/GRHQHRaL1gE/s1600-h/front+view.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 146px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/Sn0mqdhVBDI/AAAAAAAAAUw/GRHQHRaL1gE/s320/front+view.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5367488841816278066" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;What does Nipper tell you?&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Scrolling through this report, you’ll see that Nipper provides security audit information such as:&lt;br /&gt;&lt;br /&gt;1. A software version that has vulnerabilities and the reference numbers for those vulnerabilities&lt;br /&gt;2. Recommendations to disable services that might cause others to be able to access the router&lt;br /&gt;3. Commands that you need to enable to secure the router&lt;br /&gt;For our example, Nipper told us that we need to do the following:&lt;br /&gt;&lt;br /&gt;a): Upgrade the router’s IOS needs to prevent vulnerability to a Telnet remote DoS attack and a TCP listener DoS attack.&lt;br /&gt;b): Configure the service tcp-keepalives-in command to help prevent a DoS attack.&lt;br /&gt;c): Configure timeouts on consoles to prevent anyone from gaining access to the router from a Telnet or console session.&lt;br /&gt;d): Configure the HTTP service as secure with HTTPS, and enable authentication.&lt;br /&gt;Enable logging.&lt;br /&gt;&lt;br /&gt;In addition to several other recommendations, Nipper provided a summary of the device’s configuration — what services are turned on or off, status of the lines, status of the interfaces, DNS, time zone, and more. Check out the actual report from our example.&lt;br /&gt;&lt;br /&gt;Considering that it’s so small, simple, and free, Nipper is an amazingly powerful network device security auditing tool. For help with Nipper, run the C:\nipper\nipper -help command at the command prompt after you’ve downloaded, extracted, run the program.&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you as i found it very useful :)&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6562692698226203708?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6562692698226203708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6562692698226203708' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6562692698226203708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6562692698226203708'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/audit-your-cisco-routers-security-with.html' title='Audit your Cisco router&apos;s security with Nipper'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/Sn0mcCLgsiI/AAAAAAAAAUo/xvspHWw5Iuc/s72-c/cmd.jpg' height='72' width='72'/><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-8700053823456160165</id><published>2009-08-07T22:02:00.000-07:00</published><updated>2009-08-07T22:47:40.366-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ios commands'/><category scheme='http://www.blogger.com/atom/ns#' term='10 important commands'/><title type='text'>10 commands you should master when working with the Cisco IOS</title><content type='html'>The Cisco IOS provides thousands of commands, and configuring it can be challenging. Here are 10 commands that we should need to know while using the Cisco IOS.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1: " ? " (Help):&lt;/strong&gt;&lt;br /&gt; &lt;br /&gt;The "?", It may seem entirely too obvious that you should know how to type ? to ask for help when using the Cisco IOS. However, the Cisco IOS is completely different from other operating systems when it comes to using the question mark (help key). As the IOS is a command-line operating system with thousands of possible commands and parameters, using the ? can save our day.&lt;br /&gt;&lt;br /&gt;We can use the command in many ways. First, use it when you don’t know what command to type. For example, type ? at the command line for a list of all possible commands. we can also use ? when we don’t know what a command’s next parameter should be. For example, you might type show ip ? If the router requires no other parameters for the command, the router will offer cr (carrige return) means it is the only available option. Finally, use ? to see all commands that start with a particular letter. For example, show c? will return a list of commands that start with the letter c.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2: show running-configuration&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The show running-config command shows the router, switch, or firewall’s current configuration. The running-configuration is the config that is in the router’s memory. You change this config when you make changes to the router. Keep in mind that config is not saved until you do a copy running-configuration startup-configuration. The shortcut for this command is sh run.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3: Save Configuration&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;This command will save the configuration that is currently being modified (in RAM), also known as the running-configuration, to the nonvolatile RAM (NVRAM). If the power is lost, the NVRAM will preserve this configuration. In other words, if you edit the router’s configuration, don’t use this command and reboot the router–those changes will be lost (if you want to do so). This command can be abbreviated copy run start. The copy command can also be used to copy the running or startup configuration from the router to a TFTP server in case something happens to the router.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;em&gt;&lt;strong&gt;Router # copy running-configuration startup-configuration&lt;/strong&gt;&lt;/em&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;4: show interface&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The show interface command displays the status of the router’s interfaces. Among other things, this output provides the following:&lt;br /&gt;&lt;br /&gt;Interface status (up/down)&lt;br /&gt;Protocol status on the interface&lt;br /&gt;Utilization&lt;br /&gt;Bandwidth&lt;br /&gt;Errors&lt;br /&gt;Delay&lt;br /&gt;MTU&lt;br /&gt;&lt;br /&gt;This command is essential for troubleshooting a router or switch. It can also be used by specifying a certain interface, like sh int fa0/0.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;em&gt;&lt;strong&gt;Router # show interface&lt;/strong&gt;&lt;/em&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;or for specific interface&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;em&gt;&lt;strong&gt;Router # show interface fastethernet 0/0&lt;/strong&gt;&lt;/em&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;5: show ip interface&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Even more popular than show interface are &lt;em&gt;show ip interface &lt;/em&gt;and &lt;em&gt;show ip interface brief&lt;/em&gt;. The show ip interface command provides tons of useful information about the configuration and status of the IP protocol and its services, on all interfaces. The show ip interface brief command provides a quick status of the interfaces on the router, including their IP address, Layer 2 status, and Layer 3 status.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;6: config terminal, enable, interface, and router&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Cisco routers have different modes where only certain things can be shown or certain things can be changed. Being able to move between these modes is critical to successfully configuring the router.&lt;br /&gt;&lt;br /&gt;For example, when logging in, you start off at the user mode (where the prompt looks like &lt;strong&gt;&gt;)&lt;/strong&gt;. From there, you type enable to move to privileged mode (where the prompt looks like &lt;strong&gt;#)&lt;/strong&gt;. In privileged mode, you can show anything but not make changes. Next, type config terminal (or config t) to go to global configuration mode (where the prompt looks like router&lt;em&gt;(config)# ). &lt;/em&gt;From here, you can change global parameters. To change a parameter on an interface (like the IP address), go to interface configuration mode with the interface command (where the prompt looks like router(config-if)#). Also from the global configuration mode, you can go into router configuration using the router {protocol} command. To exit from a mode, type exit.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;Router &gt;&lt;br /&gt;&lt;br /&gt;Router &gt;enable.............Router #&lt;br /&gt;&lt;br /&gt;Router # configure terminal ......... Router (config) #&lt;br /&gt;&lt;br /&gt;Router (config) # interface fasethernet 0/0&lt;br /&gt;&lt;br /&gt;Router (config-if) #&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;7: no shutdown&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The no shutdown command enables an interface (brings it up). This command must be used in interface configuration mode. It is useful for new interfaces and for troubleshooting. When you’re having trouble with an interface, you may want to try a shut and no shut. Of course, to bring the interface down, reverse the command and just say shutdown. This command can be abbreviated no shut.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;8: show ip route&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The show ip route command is used to show the router’s routing table. This is the list of all networks that the router can reach, their metric (the router’s preference for them), and how to get there. This command can be abbreviated &lt;em&gt;sh ip route&lt;/em&gt; and can have parameters after it, like shiproospf for all OSPF routers. To clear the routing table of all routes, you do &lt;em&gt;clear ip route *&lt;/em&gt;. To clear it of just one route, do &lt;em&gt;clear ip route 1.1.1.1&lt;/em&gt; for clearing out that particular network.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;Router # show ip route&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;9: show version&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The show version command gives you the router’s configuration register (essentially, the router’s firmware settings for booting up), the last time the router was booted, the version of the IOS, the name of the IOS file, the model of the router, and the router’s amount of RAM and Flash. This command can be abbreviated shver.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;10: debug&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The debug command has many options and does not work by itself. It provides detailed debugging output on a certain application, protocol, or service. For example, debug ip route will tell you every time a router is added to or removed from the router.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;&lt;blockquote&gt;Router # debug interface serial 0/1/0&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-8700053823456160165?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/8700053823456160165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=8700053823456160165' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8700053823456160165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8700053823456160165'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/10-commands-you-should-master-when.html' title='10 commands you should master when working with the Cisco IOS'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5667968635631088110</id><published>2009-08-06T23:48:00.000-07:00</published><updated>2009-08-07T00:22:58.771-07:00</updated><title type='text'>Cisco HDLC (Why called Cisco HDLC ?)</title><content type='html'>High-level Data Link Control, a layer-2 (data-link layer) transmission protocol. The HDLC protocol embeds information in a data frame that allows devices to control data flow and correct errors. For any HDLC communications session, one station is designated primary and the other secondary. A session can use one of the following connection modes, which determine how the primary and secondary stations interact. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Normal unbalanced:&lt;/strong&gt; The secondary station responds only to the primary station.&lt;br /&gt; &lt;br /&gt;&lt;strong&gt;Asynchronous:&lt;/strong&gt; The secondary station can initiate a message. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Asynchronous balanced:&lt;/strong&gt; Both stations send and receive over its part of a duplex line. This mode is used for X.25 packet-switching networks. &lt;br /&gt;&lt;br /&gt;The &lt;strong&gt;Link Access Procedure-Balanced (LAP-B)&lt;/strong&gt; and &lt;strong&gt;Link Access Procedure D-channel (LAP-D)&lt;/strong&gt; protocols are subsets of HDLC. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Q: Now question comes why it is called cisco HDLC? because cisco added some very important features like:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt; Keepalive Mechanism&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; Added serial link address resolution protocol (&lt;strong&gt;SLARP&lt;/strong&gt;), It is used for the purpose of auto-installation like when router boot up so to fine the TFTP server, get the configuration including IP address etc.&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you!&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;3.&lt;/strong&gt; Added &lt;strong&gt;STAC compression&lt;/strong&gt;, Its a good one but very processor heavy.&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;4.&lt;/strong&gt; Performance Increase (7 - 12 Byte), The header size is increase and this is the beauty of HDLC and works efficiently across WAN.&lt;br /&gt;&lt;br /&gt;I Hope this will be informative for You!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5667968635631088110?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5667968635631088110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5667968635631088110' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5667968635631088110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5667968635631088110'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/cisco-hdlc-why-called-cisco-hdlc.html' title='Cisco HDLC (Why called Cisco HDLC ?)'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7129495401816248135</id><published>2009-08-06T23:07:00.000-07:00</published><updated>2009-08-06T23:27:32.867-07:00</updated><title type='text'>Error: %SNMP-3-DVR_DUP_REGN_ERR: Attempt for dupe</title><content type='html'>ERROR:&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;em&gt;SEC 8:000049: Jan 31 22:25:00.760: &lt;br /&gt;%SNMP-3-DVR_DUP_REGN_ERR: Attempt for dupe &lt;br /&gt;regn with SNMP by driver having ifIndex 709 and ifDescr Tunnel0 &lt;br /&gt;-Traceback= 204128 204230 92DB90 92DF6C B2CF8C BBF368 BC00C8 1C4EFC 1C5524&lt;br /&gt;&lt;br /&gt;1C60B8 1C655C 2EC5CC&lt;/em&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Cisco IOS Release 12.4(13b) is a rebuild release for Cisco IOS Release 12.4(13). The caveats (warning) in this section are resolved in Cisco IOS Release 12.4(13b) but may be open in previous Cisco IOS releases. &lt;br /&gt;&lt;br /&gt;The following information is provided for each caveat (warning): &lt;br /&gt;&lt;br /&gt;•Symptoms—A description of what is observed when the caveat occurs. &lt;br /&gt;&lt;br /&gt;•Conditions—The conditions under which the caveat has been known to occur. &lt;br /&gt;&lt;br /&gt;•Workaround—Solutions, if available, to counteract the caveat. &lt;br /&gt;&lt;br /&gt;Basic System Services &lt;br /&gt;•CSCeb20967 &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt; A Route Switch Processor (RSP) may reload unexpectedly when a bus error with an invalid memory address occurs while packets are placed into a hold queue. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;[1]&lt;/strong&gt; "Conditions: This symptom is observed on a Cisco 7500 series that runs Cisco IOS Release 12.0 S, 12.1(14)E4, or 12.2 S when the following sequence of events occurs: &lt;br /&gt;&lt;br /&gt;1. A packet is switched via Cisco Express Forwarding (CEF). &lt;br /&gt;&lt;br /&gt;2. The egress interface has queueing/shaping configured. &lt;br /&gt;&lt;br /&gt;3. The egress interface is congested, causing the packet to be placed into the hold queue." &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt; The following SNMP error message and tracebacks are seen: &lt;br /&gt;&lt;br /&gt;SEC 8:000049: Jan 31 22:25:00.760: &lt;br /&gt;%SNMP-3-DVR_DUP_REGN_ERR: Attempt for dupe &lt;br /&gt;regn with SNMP by driver having ifIndex 709 and ifDescr Tunnel0 &lt;br /&gt;-Traceback= 204128 204230 92DB90 92DF6C B2CF8C BBF368 BC00C8 1C4EFC 1C5524&lt;br /&gt;&lt;br /&gt;1C60B8 1C655C 2EC5CC&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Conditions:&lt;/strong&gt; This symptom was see when new interfaces were added (or existing interfaces like tunnel come up) after bootup, or when new or existing interfaces come up after RPR+ switchover when running Cisco IOS Release 12.0(32)S6. Also, this symptom occurs if the &lt;strong&gt;snmp ifindex persist &lt;/strong&gt;command is configured on the router. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Further Problem Description:&lt;/strong&gt; Though customer traffic is not affected, this symptom does impact the SNMP stats and other SNMP data for both the original and the new interface. Usually the message is from the standby RP, so once that standby RP becomes active, the data from SNMP polls of these interfaces would not be accurate.&lt;br /&gt;&lt;br /&gt;[1] &lt;em&gt;www.cisco.com/en/US/docs/ios/12_4/release/notes&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7129495401816248135?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7129495401816248135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7129495401816248135' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7129495401816248135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7129495401816248135'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/error-snmp-3-dvrdupregnerr-attempt-for.html' title='Error: %SNMP-3-DVR_DUP_REGN_ERR: Attempt for dupe'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6849396728244430833</id><published>2009-08-03T00:04:00.000-07:00</published><updated>2009-08-03T01:10:45.303-07:00</updated><title type='text'>Virtual Links</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OTefDZiV8NU/SnaUFT18hII/AAAAAAAAASo/eoYOBHTQoO4/s1600-h/Virtual.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 119px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/SnaUFT18hII/AAAAAAAAASo/eoYOBHTQoO4/s320/Virtual.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5365638825005319298" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OTefDZiV8NU/SnaUFCclxwI/AAAAAAAAASg/Zwex3ueL3QE/s1600-h/Untitled.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 83px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/SnaUFCclxwI/AAAAAAAAASg/Zwex3ueL3QE/s320/Untitled.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5365638820335568642" /&gt;&lt;/a&gt;&lt;br /&gt;Yesterday I was thinking of writing something related to OSPF so something crossed my mind and on that very moment I start to write about it, so here we go that is “VIRTUAL LINKS”.&lt;br /&gt;Suppose we have a complicated network and we use OSPF as our IGP and we configure different areas in it, I assume that the reader of virtual link must know how to configure multiple area OSPF and what is the concept behind it, I will talk directly about the virtual link, what is it, how it works, and what is the purpose of virtual links.&lt;br /&gt;&lt;br /&gt;When an area is not directly connected to area 0 (backbone area) so it can’t communicate, a concept is used for it and that is called Virtual Links make able the area to communicate. See figure a, we have two routers namely R1 and R2, The fastethernet of R1 is configured under area 0, link between R2 and R1 is configured under area 1 and R2 fastethernet is configured under area2, now the LAN of R2 will not be able to communicated to R1 as it is not directly connected to R1 so we have to configure Virtual Link between R1 and R2 so what it will do is that the area 0 will be expand logically to R2 covering area 1 with it, now from R2 point of view there will two areas area 0 and area 2. &lt;br /&gt;&lt;br /&gt;1: In the figure, Area 2 is not directly connected to Area 0 so we have to create a transit link on Area 1 to make able the communication between Area 2 and Area 0.&lt;br /&gt;2: Here the Area 0 expand logically&lt;br /&gt;3: After Virtual the R2 becomes Area Boarder Router (ABR). &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE:&lt;/span&gt; If a router connects two areas but none of the area is Area 0 so the router will never be ABR.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Conditions for Virtual Links&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1:&lt;/span&gt; Link between two routers when made so one of the router must be part of back-bone area (Area 0).&lt;br /&gt; R1-------R2-------&gt;  Link can be configured&lt;br /&gt;If we another router R3 connected to router R2 &lt;br /&gt; R2------R3------&gt; Can’t configure link as non of the router is directly connected to area 0.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2:&lt;/span&gt; When link is made between two routers, so one area must be common between them like&lt;br /&gt; R1-----R2 (Area 1 is common)&lt;br /&gt; R1-----R3 (Nothing is common)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE:&lt;/span&gt; For Virtual Link both he condition must be satisfied.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;OSPF Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;A(config) # router ospf 1&lt;br /&gt;A(config) # network 2.0.0.0 0.255.255.255 area 2&lt;br /&gt;A(config) # network 200.100.100.0 0.0.0.255 area 2&lt;br /&gt;&lt;br /&gt;B(config) # router ospf 1&lt;br /&gt;B(config) # network 2.0.0.0 0.255.255.255 area 2&lt;br /&gt;B(config) # network 3.0.0.0 0.255.255.255 area 1&lt;br /&gt;B(config) # network 200.100.150.0 0.0.0.255 area 1&lt;br /&gt;&lt;br /&gt;C(config) # router ospf 1&lt;br /&gt;C(config) # network 3.0.0.0 0.255.255.255 area 1&lt;br /&gt;C(config) # network 200.100.200.0 0.0.0.255 area 0&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Virtual Link Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;B(config) # router ospf 1&lt;br /&gt;B(config) # area 1 virtual-link 200.100.200.100&lt;br /&gt;&lt;br /&gt;C(config) # router ospf 1&lt;br /&gt;C(config) # area 1 virtual-link 200.100.150.100&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now check your Router-A routing table , the Router-C route will be there by using following command.&lt;br /&gt;&lt;br /&gt;A # show ip route&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6849396728244430833?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6849396728244430833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6849396728244430833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6849396728244430833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6849396728244430833'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/virtual-links.html' title='Virtual Links'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OTefDZiV8NU/SnaUFT18hII/AAAAAAAAASo/eoYOBHTQoO4/s72-c/Virtual.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-416385600532839565</id><published>2009-08-01T06:55:00.000-07:00</published><updated>2009-08-01T07:06:01.262-07:00</updated><title type='text'>GUI Root Login Problem in Fedora-11</title><content type='html'>For the first time when i download Fedora-11 from the internet that was for "Live User" so after installation i try to login as a root from GUI so i was unable as it show "Unable to Authenticate User" so i thought may be it is not allowed for live user, but yesterday i installed the full version of Fedora-11 but still i was unable to login as root through GUI although i can from terminal so after some goggling i found that Fedora-11 by default doesn't allow someone to login as root through GUI. Instead you have to login as a normal user and become root through your terminal. However many users still want to login as root like me. Don't forget that once you login as root its easier to damage your system so don't do the following unless you are sure what you are doing.&lt;br /&gt;Before doing any change just take backup of the file&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ cp /etc/pam.d/gdm /root&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ su -c 'gedit /etc/pam.d/gdm'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ su&lt;br /&gt;&lt;br /&gt;$ vi /etc/pam.d/gdm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here in this file find the following line, &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;auth required pam_succeed_if.so user != root quiet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;either delete or comment it better comment it&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;#auth required pam_succeed_if.so user != root quiet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Save the file and logout.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Do the same for /etc/pam.d/gdm-password&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ su -c 'gedit /etc/pam.d/gdm-password'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ su&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ vi /etc/pam.d/gdm-password&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here in this file find the following line, &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;auth required pam_succeed_if.so user != root quiet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;either delete or comment it better comment it&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;#auth required pam_succeed_if.so user != root quiet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Save the file and logout.&lt;br /&gt;&lt;br /&gt;After this i was able to login successfully as a root through GUI.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-416385600532839565?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/416385600532839565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=416385600532839565' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/416385600532839565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/416385600532839565'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/08/gui-root-login-problem-in-fedora-11.html' title='GUI Root Login Problem in Fedora-11'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5895824510176751025</id><published>2009-07-30T02:31:00.000-07:00</published><updated>2009-07-31T07:29:56.798-07:00</updated><title type='text'>How to Enable TELNET in Windows Vista</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/SnFqHzVCduI/AAAAAAAAASI/rznsU8mwLGY/s1600-h/untitled.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 280px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/SnFqHzVCduI/AAAAAAAAASI/rznsU8mwLGY/s320/untitled.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5364185313445050082" /&gt;&lt;/a&gt;&lt;br /&gt;I was trying Dynagen Simulator in Windows Vista one day, so when i try to telnet Router-1 so i got an error so after that i went to GOOGLE and got with the method of enabling telnet in windows vista, here is the steps:&lt;br /&gt;&lt;br /&gt;1: Start&lt;br /&gt;2: Control Panel&lt;br /&gt;3: Programs and Features&lt;br /&gt;4: Click "Turn Windows Features on or off"&lt;br /&gt;5: Then check "Telnet Client" and Press OK, see the figure&lt;br /&gt;&lt;br /&gt;Windows Vista will think for sometime and then you can use TELENT in windows vista.&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you.&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5895824510176751025?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5895824510176751025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5895824510176751025' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5895824510176751025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5895824510176751025'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/how-to-enable-telnet-in-windows-vista.html' title='How to Enable TELNET in Windows Vista'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/SnFqHzVCduI/AAAAAAAAASI/rznsU8mwLGY/s72-c/untitled.bmp' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5343461732313765053</id><published>2009-07-25T08:15:00.000-07:00</published><updated>2009-07-25T10:54:00.887-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MRTG'/><category scheme='http://www.blogger.com/atom/ns#' term='SNMP'/><category scheme='http://www.blogger.com/atom/ns#' term='Squid'/><title type='text'>MRTG, SNMP Configuration on SQUID</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OTefDZiV8NU/Smsy7InkrhI/AAAAAAAAASA/e_46CdsbZOI/s1600-h/ethern+1.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 195px; height: 320px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/Smsy7InkrhI/AAAAAAAAASA/e_46CdsbZOI/s320/ethern+1.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5362435772821843474" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OTefDZiV8NU/Smsy6-AVJnI/AAAAAAAAAR4/6E97OOUqUFc/s1600-h/MRTG.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 158px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/Smsy6-AVJnI/AAAAAAAAAR4/6E97OOUqUFc/s320/MRTG.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5362435769972893298" /&gt;&lt;/a&gt;&lt;br /&gt;We re-install RHEL on our Proxy server as we have two sata 160 GB hard drive each. we also did RAID-1 configuration on it. Now after successfull configuration of Squid we have to install MRTG and SARG for report generation, i will talk about MRTG here in detail. so first thing is to check that wheather our web services is running or not, if not so we have to start the services.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;&lt;br /&gt;[root@pswproxy ~]# service httpd start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After entering this command i got an error that unable to identify fully qualified domain name, so it means we have to identify the fully qualified domain name&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# vi  /etc/httpd/conf/httpd.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Uncomment this line and put your FQDN: ServerName pswbackupproxy:80&lt;br /&gt;&lt;br /&gt;Now restart the web services it will work&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# service httpd restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now to install and configure MRTG we have to install and configure SNMP, if you have SNMP install then move to Step #5 directly, lets look&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 1 : Check SNMP server Status&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To check wheather SNMP is install or not use following RPM query command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# rpm -qa | grep snmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In my case it was already install, following are the rpm that are install on my machine&lt;br /&gt;net-snmp-libs-5.1.2-11.EL4.11&lt;br /&gt;net-snmp-5.1.2-11.EL4.11&lt;br /&gt;php-snmp-4.3.9-3.22.9&lt;br /&gt;net-snmp-libs-5.1.2-11.EL4.11&lt;br /&gt;net-snmp-utils-5.1.2-11.EL4.11&lt;br /&gt;net-snmp-devel-5.1.2-11.EL4.11&lt;br /&gt;net-snmp-perl-5.1.2-11.EL4.11&lt;br /&gt;&lt;br /&gt;If its not install on your machine then use the following command if you have Fedora repositray &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# yum install net-snmp-utils net-snmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;or If you have RHEL the use the following command&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# up2date -v -i net-snmp-utils net-snmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 2 : Check status of snmp server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Check 'ps' comamnd to find out wheather snmp is running or not&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# ps -aux | grep snmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Make sure snmpd service starts automatically, when linux comes online&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;[root@pswproxy ~]# chkconfig --add snmpd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 3 : Make sure snmp server configured properly&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Run snmpwalk utility to request for tree of information about network entity. In other words query snmp server for your IP address (assigned to eth0, eth1, lo etc):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you can see your IP address then please proceed to step 4; else you have to configure snmp server as follows (by default RHEL and RH 8/9 are not configured for snmp server for security reason) and in my case it was also not configured so lets look at the detail steps:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;SNMP Configuration:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1: Edit file /etc/snmp/snmpd.conf using text editor: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# vi /etc/snmp/snmpd.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Change/Modify line(s) as follows, Find following Line:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;com2sec notConfigUser  default       public&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Replace&lt;/span&gt; with (make sure you replace 192.168.0.0/24 replace with your network IPs) following lines: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;com2sec local     localhost           public&lt;br /&gt;com2sec mynetwork 192.168.0.0/24      public&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Scroll down a bit and Find Lines:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;group   notConfigGroup v1           notConfigUser&lt;br /&gt;group   notConfigGroup v2c           notConfigUser&lt;br /&gt;&lt;br /&gt;Replace&lt;/span&gt; with:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;group MyRWGroup v1         local&lt;br /&gt;group MyRWGroup v2c        local&lt;br /&gt;group MyRWGroup usm        local&lt;br /&gt;group MyROGroup v1         mynetwork&lt;br /&gt;group MyROGroup v2c        mynetwork&lt;br /&gt;group MyROGroup usm        mynetwork&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Again scroll down bit and locate following line, Find line:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;view    systemview     included      system&lt;br /&gt;&lt;br /&gt;Replace&lt;/span&gt; with:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;view all    included  .1                               80&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Again scroll down bit and change, Find line:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;access  notConfigGroup ""      any       noauth    exact  systemview none none&lt;br /&gt;&lt;br /&gt;Replace&lt;/span&gt; with:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;access MyROGroup ""      any       noauth    exact  all    none   none&lt;br /&gt;access MyRWGroup ""      any       noauth    exact  all    all    none&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Scroll down bit and change, Find lines:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;syslocation Unknown (edit /etc/snmp/snmpd.conf)&lt;br /&gt;syscontact Root  (configure /etc/snmp/snmp.local.conf)&lt;br /&gt;&lt;br /&gt;Replace&lt;/span&gt; with: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;syslocation Linux (RH3_UP2), Home Linux Router.&lt;br /&gt;syscontact Vivek G Gite &lt;vivek@nixcraft.com&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Start your snmp server and test it:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(a) Make sure when linux comes up snmpd always starts:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# chkconfig snmpd on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(b) Make sure service start whenever Linux comes up (after reboot):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# service snmpd start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(c) Finally test your snmp server:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 4 : Install MRTG if not Installed&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Mrtg software may install during initial installation, you can verify if MRTG installed or not with following RPM command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# rpm -qa | grep mrtg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In my case it was installed as the following shown,&lt;br /&gt;mrtg-2.10.15-2a&lt;br /&gt;&lt;br /&gt;if  it is not installedon your mcahine then use any of the following command depend on your repository &lt;br /&gt;&lt;br /&gt;For Linux User&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# up2date -v -i mrtg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For Fedora user&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# yum install mrtg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 5 : MRTG Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(a) Create document root to store mrtg graphs/html pages:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# mkdir -p /var/www/html/mymrtg/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(b) Run any one of the following cfgmaker command to create mrtg configuration file:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]#cfgmaker --global 'WorkDir: /var/www/html/mymrtg' --output &lt;br /&gt;/etc/mrtg/mymrtg.cfg public@localhost&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;OR (make sure your FQDN resolves, in following example i'm using rh9.test.com which is my router FQDN address)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# cfgmaker --global 'WorkDir: /var/www/html/mymrtg' --output /etc/mrtg/mymrtg1.cfg public@rh9.test.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(c) Create default index page for your MRTG configuration:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# indexmaker --output=/var/www/html/mymrtg/index.html /etc/mrtg/mymrtg.cfg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(d) Copy all tiny png files to your mrtg path, &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy ~]# cp -av /var/www/html/mrtg/*.png /var/www/html/mymrtg/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 6 First test mrtg, run of mrtg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(a) Run mrtg command from command line with your configuration file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswbackupproxy /]# mrtg /etc/mrtg/mymrtg.cfg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I got an Error but after a little search i found the solution see below&lt;br /&gt;-----------------------------------------------------------------------&lt;br /&gt;ERROR: Mrtg will most likely not work properly when the environment&lt;br /&gt;       variable LANG is set to UTF-8. Please run mrtg in an environment&lt;br /&gt;       where this is not the case. Try the following command to start:&lt;br /&gt;&lt;br /&gt;       env LANG=C /usr/bin/mrtg /etc/mrtg/mymrtg.cfg &lt;br /&gt;-----------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy /]# env LANG=C /usr/bin/mrtg /etc/mrtg/mymrtg.cfg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE: &lt;/span&gt;Avoid The Warning, you will see it for teh first time&lt;br /&gt; &lt;br /&gt;Rateup WARNING: /usr/bin/rateup could not read the primary log file for localhost_2&lt;br /&gt;Rateup WARNING: /usr/bin/rateup The backup log file for localhost_2 was invalid as well&lt;br /&gt;Rateup WARNING: /usr/bin/rateup Can't remove localhost_2.old updating log file&lt;br /&gt;Rateup WARNING: /usr/bin/rateup Can't rename localhost_2.log to localhost_2.old updating log file&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 7 Create crontab entry so that mrtg graph / images get generated every 5 minutes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(a) Login as a root user or login as a mrtg user and type following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy /]# crontab -e&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(b) Add mrtg cron job entry to configuration file (append following line to it):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;*/5 * * * * /usr/bin/mrtg /etc/mrtg/mymrtg.cfg --logging /var/log/mrtg.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Save file and you are done with MRTG config issues :)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 8 Block ports 161 &amp; 162 at firewall&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You do not want to give access to everyone to your snmp server for security reasons. SNMP server uses UDP 161, 162 ports for communication. Use Linux IPTABLES firewall to restrict access to SNMP server&lt;br /&gt;&lt;br /&gt;(a) Allow outgoing SNMP server request from your Linux computer. This is useful when you query remote host/router (replace SERVER IO with your real IP):&lt;br /&gt;&lt;br /&gt;SERVER="xxx.xxx.xxx.xxx"&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswproxy /]# iptables -A OUTPUT -p udp -s $10.110.9.116 --sport 1024:65535 -d 0/0 --dport 161:162 -m state --state NEW,ESTABLISHED -j ACCEPT&lt;br /&gt;[root@pswproxy /]# iptables -A INPUT -p udp -s 0/0 --sport 161:162 -d $SERVER --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;(b )Allow incoming SNMP client request via iptables. This is useful when you wish to accept queries for rest of the world (replace SERVER IP with your real IP):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;SERVER="xxx.xxx.xxx.xxx"&lt;br /&gt;[root@pswproxy /]# iptables -A INPUT -p udp -s 0/0 --sport 1024:65535 -d $SERVER --dport 161:162 -m state --state NEW,ESTABLISHED -j ACCEPT&lt;br /&gt;[root@pswproxy /]# iptables -A OUTPUT -p udp -s $SERVER --sport 161:162 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Change Server with your IP address&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;FOR IMAGE:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can see the SNGPL monogram if you want to place your own so you just have to make change in the "index.html"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswbackupproxy ~]# cd /var/www/html/mymrtg/&lt;br /&gt;[root@pswbackupproxy ~]# ls&lt;br /&gt;[root@pswbackupproxy ~]# &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;index.html &lt;/span&gt;          localhost_2.log        localhost_2-week.png  mrtg-m.png&lt;br /&gt;localhost_2-day.png  localhost_2-month.png  localhost_2-year.png  mrtg-r.png&lt;br /&gt;localhost_2.html     localhost_2.old        mrtg-l.png            &lt;span style="font-weight:bold;"&gt;sngpllogo.jpg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@pswbackupproxy mymrtg]# vi index.html&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In first Figur The Whole while in secodn figure its for the specific interface like Ethernet 1 (outgoing Traffic)&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you people. &lt;br /&gt;&lt;br /&gt;CHEERS&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5343461732313765053?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5343461732313765053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5343461732313765053' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5343461732313765053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5343461732313765053'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/mrtg-snmp-configuration-on-squid.html' title='MRTG, SNMP Configuration on SQUID'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OTefDZiV8NU/Smsy7InkrhI/AAAAAAAAASA/e_46CdsbZOI/s72-c/ethern+1.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-1108731123455997652</id><published>2009-07-24T22:57:00.000-07:00</published><updated>2009-07-25T01:55:31.265-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='loops'/><category scheme='http://www.blogger.com/atom/ns#' term='broadcast'/><title type='text'>Broadcasting Stuck Our Network</title><content type='html'>Yesterday we planned to have a backup of our Proxy Server (Squid) while to reconfigure the original one because we face space shortage while &lt;span style="font-weight:bold;"&gt;SARG (Squid Analysis Report Generator)&lt;/span&gt;  updates to be saved on the drive. we done with backup proxy server on RHEL-4, everything done normally the configurations, copy the files like dhcpd.conf, squid.conf, iptables to the backup and bring on a network and then we turn off the master server and check the internet connectivity and security so everything goes smoothly. After a while complaints comes from different departments that our system got stucked and then start and then stucked............! but the shocking moment was our Operations department complaint that BILLING SERVER (AIX-Server) also get stucked and all users were bussy in data entry.....ooooooooops ?&lt;br /&gt;&lt;br /&gt;After that i checked our Head Office router using ping and it shows the link up, down, up down, then i checked our router so same problem..................!&lt;br /&gt;&lt;br /&gt;After searching and finding we came to know that by mistake at time when we bring the backup proxy on a network we plug-in another connection to switch with the backup port of the radio room and then backup proxy link was already connected to switch, so two connection of the router and that cable are drop into hub in radio room so loops were created and stuck our network.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-1108731123455997652?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/1108731123455997652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=1108731123455997652' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1108731123455997652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1108731123455997652'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/broadcasting-stuck-our-network.html' title='Broadcasting Stuck Our Network'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-8548815030145585938</id><published>2009-07-24T22:12:00.000-07:00</published><updated>2009-07-24T22:57:04.719-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='startup configuration'/><category scheme='http://www.blogger.com/atom/ns#' term='password recovery'/><title type='text'>Configuration Lost While Password Recovering</title><content type='html'>I was asked to troubleshoot a problem in IMSciences network, actually they were unable to connect to Islamabad HEC office (Vedio Confencing) and they also need to send the vedio trafic and voice traffic using one interface on router (3800-series) so after some research i have done with the problem and sloved for it. Actually i done with some VLAN configuration, Define some static Routes, enable routing, use sub interfaces and i was successfull to ping the destination.&lt;br /&gt;&lt;br /&gt;Then the person who called me for the problem solution told me about the mistake of MS student who is working there as a internee while recovering password. IMSciences lost their startup configurations and face trouble both by the institute and the student as they get disconnected from the network, now they were unable to do the configuration, any how they ship the router back to PTCL for configurations.&lt;br /&gt;&lt;br /&gt;So here i am going to tell you about the step that you must take care of while recovering your router password.&lt;br /&gt;&lt;br /&gt;1: Boot your router and interrupt the boot sequence by performing a break sequence using &lt;span style="font-weight:bold;"&gt;Ctrl+Break&lt;/span&gt; key combination.&lt;br /&gt;&lt;br /&gt;2: Change the configuration register to turn on bit 6 (0x2142)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;rommon&gt; confreg 0x2142&lt;/span&gt;&lt;br /&gt;You must reset or power cycle for new config to take effect&lt;br /&gt;&lt;br /&gt;3: Reload the router, type &lt;span style="font-weight:bold;"&gt;reset&lt;/span&gt;&lt;br /&gt;The router will reload and ask if you want to enter setup mode, so your answer will be &lt;span style="font-weight:bold;"&gt;NO&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4: Enter Privileged mode&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router &gt; enable&lt;br /&gt;Router #&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE:&lt;/span&gt; Now this is the step where you to take care many people just change the password and copy the configuration to startup configuration and here they make a mistake as you over-write the whole (original) configurations. so the correct sequence is: &lt;br /&gt;&lt;br /&gt;5: Copy the startup-configuration to running-configuration&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Router # copy startup-config running-config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;6: change the password&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router # config terminal&lt;br /&gt;Router (config) # enable secret cisco&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;7: Reset the configuration register to the default value&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Router (config) # config-register 0x2102&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;8: save your configurations&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router # copy running-config startup-config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;9: Relaod your router&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-8548815030145585938?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/8548815030145585938/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=8548815030145585938' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8548815030145585938'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8548815030145585938'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/configuration-lost-while-password.html' title='Configuration Lost While Password Recovering'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3034819850795318568</id><published>2009-07-22T01:57:00.000-07:00</published><updated>2009-07-22T02:50:24.578-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ISP'/><category scheme='http://www.blogger.com/atom/ns#' term='Cable Modem'/><title type='text'>Routing to ISP</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_OTefDZiV8NU/SmbgUQVAB0I/AAAAAAAAARw/l7xQMnPyE9M/s1600-h/ISP+lab.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 179px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/SmbgUQVAB0I/AAAAAAAAARw/l7xQMnPyE9M/s320/ISP+lab.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5361219045016209218" /&gt;&lt;/a&gt;&lt;br /&gt;Back on 20th July 2009 when i was giving my ISCW paper so i got this lab and i done with that so here i am sharing my experience with you people. Lab was about a firm having an existing enterprise network that is made up exclusively of routers that are using EIGRP as the IGP protocol. Its network is up and operating normally, as part of its network expansion XYZ has decided to connect to the internet by broadband cable ISP. &lt;br /&gt;&lt;strong&gt;&lt;br /&gt;TASK:&lt;/strong&gt; To enable this connection by use of the information below.&lt;br /&gt;Connection Encapsulation: PPP&lt;br /&gt;Connection Type: PPPoE client&lt;br /&gt;Connection Authentication: None&lt;br /&gt;Connection MTU: 1492 Bytes&lt;br /&gt;Address: Dynamically assigned by the ISP&lt;br /&gt;Outbound Interface: E0/0&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; Routing to the ISP, Manually configured default route&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router-3 (config) #interface ethernet 0/0&lt;br /&gt;Router-3 (config-if) #pppoe enable&lt;br /&gt;Router-3 (config-if) #pppoe-client dial-pool-number 1&lt;br /&gt;Router-3 (config-if) #no shutdown&lt;br /&gt;Router-3 (config-if) #exit&lt;br /&gt;Router-3 (config-if) #interface dialer 1&lt;br /&gt;Router-3 (config-if) #encapsulation ppp&lt;br /&gt;Router-3 (config-if) #ip mtu 1492&lt;br /&gt;Router-3 (config-if) #dialer pool 1&lt;br /&gt;Router-3 (config-if) #ip address negotiated&lt;br /&gt;Router-3 (config-if) #exit&lt;br /&gt;&lt;br /&gt;Router-3 (config-if) #ip route 0.0.0.0 0.0.0.0 dialer 1&lt;br /&gt;Router-3 (config-if) #exit&lt;br /&gt;&lt;br /&gt;Router-3 # copy running startup&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Then you have to check the connectivity by ping the IP given to you, if it is successful then you have done otherwise there is something wrong with your confogurations.&lt;br /&gt;&lt;br /&gt;Hope it will be informative for you.&lt;br /&gt;&lt;br /&gt;Chheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3034819850795318568?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3034819850795318568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3034819850795318568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3034819850795318568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3034819850795318568'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/routing-to-isp.html' title='Routing to ISP'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OTefDZiV8NU/SmbgUQVAB0I/AAAAAAAAARw/l7xQMnPyE9M/s72-c/ISP+lab.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7467241912544822503</id><published>2009-07-21T23:32:00.000-07:00</published><updated>2009-07-21T23:40:52.742-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Inter-Vlan Routing'/><category scheme='http://www.blogger.com/atom/ns#' term='Routing'/><category scheme='http://www.blogger.com/atom/ns#' term='VLAN'/><title type='text'>Inter-Vlan Routing</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/Sma0EKR0CYI/AAAAAAAAARo/diDmMR5y17U/s1600-h/add.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 268px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/Sma0EKR0CYI/AAAAAAAAARo/diDmMR5y17U/s320/add.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5361170390002698626" /&gt;&lt;/a&gt;&lt;br /&gt;Virtual LANs (VLANs) offer a method of dividing one physical network into multiple broadcast domains. Through VLAN we can get a sort of security like different VLAN members can not communicate with each other by default and we can do so if we allowed them to communicate and here we reduce broadcast domain. VLAN needs when we want to divide our clients so that it can not communicate with each other, one of the method is to connect them with separate switch so it will not communicate while in case of same switch all ports are member of VLAN 1 by default and members in same VLAN can communicate with each other but its not the healthy one solution so CISCO made life easy by describing the concept of VLAN where we can group our clients, so logically it will shows like they are connected to different switch and physically will be connected to same switch, now at times we want to communicate between these different VLAN’s so we can accomplish this task through three different methods namely Router on a Stick, Switch Virtual Interface (SVI) and Multi-Layer Switch (MLS). Here I am going to explain about the two methods.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1. Multi-Layer Switch (MLS)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Following steps should be taken in order to communicate between different VLAN’s. I took 3560 Cisco catalyst switch, two pc’s.&lt;br /&gt;&lt;br /&gt;A): Take Cisco Catalyst 3560 switch and connect two pc to it, in my case I connect one pc to Fast Ethernet 0/1 and Fast Ethernet 0/2.&lt;br /&gt;&lt;br /&gt;B): Create two VLAN namely VLAN-2 and VLAN-3.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ML-Switch (config) #vlan 2&lt;br /&gt;ML-Switch (config-vlan) #&lt;br /&gt;ML-Switch (config) #vlan 3&lt;br /&gt;ML-Switch (config-vlan) #&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;C): &lt;strong&gt;NOTE:&lt;/strong&gt; If we assign IP address now and later we make the interface member of VLAN so it will not allowed us to do so, the correct way is to assign the interface to the correct VLAN and then assign IP address to that interface and also assign addresses to the PC also.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ML-Switch (config-if) #interface fastethernet 0/1&lt;br /&gt;ML-Switch (config-if) #switchport mode access&lt;br /&gt;ML-Switch (config-if) #switchport access vlan 2&lt;br /&gt;&lt;br /&gt;ML-Switch (config-if) #interface fastethernet 0/2&lt;br /&gt;ML-Switch (config-if) #switchport mode access&lt;br /&gt;ML-Switch (config-if) #switchport access vlan 3&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The following command will tell the switch that you are no more switchport, now we can assign ip address to it.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ML-Switch (config-if) #interface fastethernet 0/1&lt;br /&gt;ML-Switch (config-if) #no switchport&lt;br /&gt;ML-Switch (config-if) #ip address 10.1.1.2 255.0.0.0&lt;br /&gt;ML-Switch (config-if) #no shutdown&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ML-Switch (config-if) #interface fastethernet 0/2&lt;br /&gt;ML-Switch (config-if) #no switchport&lt;br /&gt;ML-Switch (config-if) #ip address 20.1.1.2 255.0.0.0&lt;br /&gt;ML-Switch (config-if) #no shutdown&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now to enable routing on the switch we have the following command.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;ML-Switch (config-if) # ip routing&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Make sure to give the switch interfaces addresses as a gateway on your pc’s, Now to check the communication between these two different VLAN, &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PC_1 &gt; ping 20.1.1.1&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;Pinging 20.1.1.1 with 32 bytes of data:&lt;br /&gt;&lt;br /&gt;Reply from 20.1.1.1: bytes=32 time=62ms TTL=127&lt;br /&gt;Reply from 20.1.1.1: bytes=32 time=62ms TTL=127&lt;br /&gt;Reply from 20.1.1.1: bytes=32 time=62ms TTL=127&lt;br /&gt;Reply from 20.1.1.1: bytes=32 time=62ms TTL=127&lt;br /&gt;&lt;br /&gt;Ping statistics for 20.1.1.1:&lt;br /&gt;    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),&lt;br /&gt;Approximate round trip times in milli-seconds:&lt;br /&gt;    Minimum = 62ms, Maximum = 62ms, Average = 62ms&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2. Router on a Stick&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In this method we will need a router and switch (can be layer-2 switch) and two pc.&lt;br /&gt;&lt;br /&gt;A): Connect router fastethernet 0/0 to switch fastethernet 0/1, PC-1 to switch fastethernet 0/2 and PC-2 to switch fastethernet 0/3.&lt;br /&gt;&lt;br /&gt;B): Create two VLAN on switch and assign the interface to that VLAN.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Switch (config) #vlan 2&lt;br /&gt;Switch (config-vlan) #&lt;br /&gt;Switch (config) #vlan 3&lt;br /&gt;Switch (config-vlan) #&lt;br /&gt;Switch (config-if) #interface fastethernet 0/2&lt;br /&gt;Switch (config-if) #switchport mode access&lt;br /&gt;Switch (config-if) #switchport access vlan 2&lt;br /&gt;&lt;br /&gt;Switch (config-if) #interface fastethernet 0/3&lt;br /&gt;Switch (config-if) #switchport mode access&lt;br /&gt;Switch (config-if) #switchport access vlan 3&lt;/strong&gt;&lt;br /&gt; &lt;br /&gt;C): Assign IP address on PC and Router fastethernet (I will be defining two sub-interfaces on router).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PC-1 IP address: 10.1.1.1&lt;br /&gt;PC-2 IP address: 20.1.1.1&lt;br /&gt;&lt;br /&gt;Router (config) #interface fastEthernet 0/0&lt;br /&gt;Router (config-if) #no shutdown&lt;br /&gt;Router (config-if) #exit&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;We will be defining trunk link between switch and router as multiple VLAN information will be moving through this link and for trunk link we have to define encapsulation, in this case we have layer-2 (2950) switch where we have only dot1q encapsulation available. And also remember to assign the sub-interface addresses as a gateway on your PC. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; If we trying to assign IP address on sub-interface on router before identifying to which VLAN it is associated and without assigning encapsulation you will get an error like &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;“% configuring IP routing on a LAN sub-interface is only allowed if that&lt;br /&gt;Sub-interface is already configured as part of an IEEE 802.10, IEEE 802.1Q,&lt;br /&gt;or ISL VLAN”.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router (config) #interface fastEthernet 0/0.2&lt;br /&gt;Router (config-subif) #encapsulation dot1Q 2&lt;br /&gt;Router (config-subif) #ip address 10.1.1.2 255.0.0.0&lt;br /&gt;Router (config-subif) #no shutdown&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Router (config) #interface fastEthernet 0/0.3&lt;br /&gt;Router (config-subif) #encapsulation dot1Q 3&lt;br /&gt;Router (config-subif) #ip address 20.1.1.2 255.0.0.0&lt;br /&gt;Router (config-subif) #no shutdown&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now to communicate between these two different VLAN’s we have to configure trunk link so configuration on switch are as:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Switch (config-if) #switchport mode trunk&lt;br /&gt;Switch (config-if) #switchport trunk allowed vlan 2, 3&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now check the communication&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PC-2&gt;ping 10.1.1.1&lt;br /&gt;&lt;br /&gt;Pinging 10.1.1.1 with 32 bytes of data:&lt;br /&gt;&lt;br /&gt;Reply from 10.1.1.1: bytes=32 time=188ms TTL=127&lt;br /&gt;Reply from 10.1.1.1: bytes=32 time=125ms TTL=127&lt;br /&gt;Reply from 10.1.1.1: bytes=32 time=124ms TTL=127&lt;br /&gt;Reply from 10.1.1.1: bytes=32 time=121ms TTL=127&lt;br /&gt;&lt;br /&gt;Ping statistics for 10.1.1.1:&lt;br /&gt;    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),&lt;br /&gt;Approximate round trip times in milli-seconds:&lt;br /&gt;    Minimum = 121ms, Maximum = 188ms, Average = 139ms&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you.&lt;br /&gt;&lt;br /&gt;Thank You for Reading&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7467241912544822503?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7467241912544822503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7467241912544822503' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7467241912544822503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7467241912544822503'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/inter-vlan-routing.html' title='Inter-Vlan Routing'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/Sma0EKR0CYI/AAAAAAAAARo/diDmMR5y17U/s72-c/add.JPG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5306906509631575980</id><published>2009-07-15T02:31:00.000-07:00</published><updated>2009-07-15T03:49:18.236-07:00</updated><title type='text'>UPSMON Plus For Linux</title><content type='html'>we have windows xp in our office and have UPSMON Plus installed on our computer so its easy to install the software and configure the values, as i am using Linux from last one year but not regularly but from last two months i am full addicted to Fedora and doing work in it so i think of to install the UPSMON on Fedora, Following are the steps used to install UPSMON on Fedora, lets look&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;UPSMON Parameters:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;UPSMON Plus has three parameters, PM1、PM2 and PM3.&lt;br /&gt;&lt;br /&gt;1. PM1: COMPORT =&gt; ttyS0 (COM1 of UNIX) or ttyS1 (COM2 of UNIX), It must include the path when you appoint the parameter PM1 (Ex: /dev/ttyS0) Please be noted that PM1 must be appointed.&lt;br /&gt;&lt;br /&gt;2. PM2: It is for setting the breakout delay time default: 60 sec. If PM2 don’t be appointed, the breakout delay time will be 60 seconds. &lt;br /&gt;&lt;br /&gt;3. PM3: It is for setting the UPS shutdown delay time default: 60 sec. If PM3 don’t be appointed, the UPS shutdown delay time will be 60 seconds.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;./upsmon /dev/ttyS0 300 60&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Installation Steps must use ROOT as Login:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4. Copy upsmon.tar to /etc directory.&lt;br /&gt;&lt;br /&gt;5. use “tar xvf upsmon.tar “ to install software. It will create UPSMON directory now change directory to UPSMON&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[sohail@fedora ~]$ cd /etc/upsmon&lt;br /&gt;[sohail@fedora upsmon]$&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;6. Test UPSMON by using command &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[sohail@fedora upsmon]$ ./upsmon /dev/ttyS0 300 60&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE:&lt;/span&gt; ./upsmon must be included when you uses this command&lt;br /&gt;&lt;br /&gt;7. Means: ./upsmon COM1 300 seconds AC fail count and 60 seconds UPS shutdown delay. You will see UPS CONNECT OR NO CONNECT UPS in tty1. If it didn’t connect UPS, you can use the commend “kill PID” to delete the process of UPSMON.&lt;br /&gt;&lt;br /&gt;Then, use command ./upsmon /dev/ttyS1 300 60. Means: ./upsmon COM2 300 seconds AC fail count and 60 seconds UPS shutdown delay. If it still doesn’t connect, please check the CABLE、 PC and UPS are all be connected correctly.&lt;br /&gt;&lt;br /&gt;8. After the connection confirmed, please edit the system setup file rc.local under /etc/rc.d/rc.local and add the following commend to edit rc.local:&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-weight:bold;"&gt;/etc/upsmon/upsmon /dev/ttyS0 300 60&lt;/span&gt;&lt;br /&gt;  or&lt;br /&gt;  &lt;span style="font-weight:bold;"&gt;/etc/upsmon/upsmon /dev/ttyS1 300 60&lt;/span&gt;&lt;br /&gt;  The system will execute upsmon after restart the computer.&lt;br /&gt;&lt;br /&gt;9. You can see the situation of UPS if you use the commend &lt;span style="font-weight:bold;"&gt;./upsdisp&lt;/span&gt; under directory /etc/upsmon (“./upsmon” must be included when you use this commend)&lt;br /&gt;&lt;br /&gt;10. Use CTRL-C, you can exit UPSDISP. &lt;br /&gt;&lt;br /&gt;11. The UPS Event Log file save to: /etc/upsmon/PCMYYMM.log.&lt;br /&gt;(PS.The YY is year and the MM is month.)&lt;br /&gt;&lt;br /&gt;Hope it will be informative for you.&lt;br /&gt;&lt;br /&gt;Thanking You&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5306906509631575980?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5306906509631575980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5306906509631575980' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5306906509631575980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5306906509631575980'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/upsmon-plus-for-linux.html' title='UPSMON Plus For Linux'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6261359846111573940</id><published>2009-07-14T01:36:00.000-07:00</published><updated>2009-07-14T02:44:50.872-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Keepalive'/><category scheme='http://www.blogger.com/atom/ns#' term='DPD'/><title type='text'>Dead Peer Detection - Default And "On-Demand"</title><content type='html'>I was preparing for ISCW paper and question appear in front of me and i was unable to identify what he is asking about as i saw the DPD term for the first time, question was&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Q:&lt;/span&gt; What are the default parameters when configuration backup IPSec VPN with Cisco IOS Release 12.2(8)T or Later?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Ans:&lt;/span&gt; DPD Hello messages are sent every 10 seconds if the router has traffic to send&lt;br /&gt;&lt;br /&gt;After this i google the DPD term and i came to know about the following information about DPD.&lt;br /&gt; &lt;br /&gt;With all things Cisco, we just have to have a keepalive, and with our IPSec peers, that keepalive is Dead Peer Detection. &lt;br /&gt;&lt;br /&gt;I feel silly telling you what the DPD does, since if any networking feature has a "the name is the recipe" name, it's this one!  As with any keepalive, there are a few basics we need to know....&lt;br /&gt;&lt;br /&gt;The CCNP exams generally aren't IOS-version specific, certainly not like the CCIE exams are, but we should know that DPD was introduced with IOS version 12.3(7)T.  Older IOS versions do not use DPD, obviously, and you may run into routers with earlier IOS versions out in the field.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;According to Cisco's website, the following devices support DPD:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;    * The Cisco VPN 3000 concentrator&lt;br /&gt;    * Cisco PIX firewalls&lt;br /&gt;    * Cisco VPN client&lt;br /&gt;    * Easy VPN Remote&lt;br /&gt;    * Easy VPN Server&lt;br /&gt;&lt;br /&gt;DPD can run in two different ways, the &lt;span style="font-weight:bold;"&gt;default setting&lt;/span&gt; and &lt;span style="font-weight:bold;"&gt;"on-demand"&lt;/span&gt;.  The default setting is much like the routing protocol hellos we've studied in the past.  According to Cisco's website, the router will send a DPD Hello every 10 seconds "unless the router receives a hello message from the peer".   &lt;br /&gt;&lt;br /&gt;As with routing protocols, the drawback of the regularly-scheduled hello packet is that it results in more packets to be processed - and in this case, encrypted and decrypted.  That's why DPD offers an on-demand configuration where a router will send a DPD Hello only in advance of sending traffic to a peer. &lt;br /&gt;&lt;br /&gt;The second keepalive method is simply the keepalive method of the routing protocol you're using over the VPN. Of course, that timer depends on whether you're running RIP, OSPF, or EIGRP.&lt;br /&gt;&lt;br /&gt;DPD can also be used as a mechanism to detect IPSec GRE tunnel failures.&lt;br /&gt;&lt;br /&gt;Hope it will be informative.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6261359846111573940?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6261359846111573940/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6261359846111573940' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6261359846111573940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6261359846111573940'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/dead-peer-detection-default-and-on.html' title='Dead Peer Detection - Default And &quot;On-Demand&quot;'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6929145548381017480</id><published>2009-07-13T05:16:00.000-07:00</published><updated>2009-07-13T05:21:25.580-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IPS'/><category scheme='http://www.blogger.com/atom/ns#' term='IDS'/><category scheme='http://www.blogger.com/atom/ns#' term='Network Security'/><title type='text'>IPS, IDS</title><content type='html'>&lt;span style="font-weight:bold;"&gt;IPS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;IPS can detect misuse, abuse, and unauthorized access to networked resources and respond before network security can be compromised.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;IDS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;IDS can detect misuse, abuse, and authorized access to networked resources but can only respond after an attack is detected.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;IPS and IDS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Both IPS and IDS systems provide real-time monitoring that involves packet capture and analysis of network packets.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6929145548381017480?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6929145548381017480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6929145548381017480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6929145548381017480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6929145548381017480'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/ips-ids.html' title='IPS, IDS'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6625138362500268143</id><published>2009-07-06T01:02:00.000-07:00</published><updated>2009-07-06T01:37:51.816-07:00</updated><title type='text'>Excel Files in Fedora-11</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OTefDZiV8NU/SlGxOZgbkwI/AAAAAAAAARY/fm_1hnoI7GE/s1600-h/Screenshot-Working+Document+Shell+Sites+to+Schedule+6-17-09_Flextek(1).xls+-+OpenOffice.org+Calc.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 311px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/SlGxOZgbkwI/AAAAAAAAARY/fm_1hnoI7GE/s320/Screenshot-Working+Document+Shell+Sites+to+Schedule+6-17-09_Flextek(1).xls+-+OpenOffice.org+Calc.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5355256292843426562" /&gt;&lt;/a&gt;&lt;br /&gt;I am new to Linux (Using Fedora-11) world but YUM rocks, it helped me alot as today i was looking to open an excel file in fedora when i opened so "Package required not found" although i was able to open doc, ppt files so after a short googling i found this command very useful and install many packages like OpenOffice.org Clac, OpenOffice.org Draw, OpenOffice.org Writer, OpenOffice.org Impress, OpenOffice.org Writer, OpenOffice.org Project Management ect.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@fedora sohail] # yum groupinstall "office/Productivity"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Happy Using OpenOffice.org&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6625138362500268143?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6625138362500268143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6625138362500268143' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6625138362500268143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6625138362500268143'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/yumrocks.html' title='Excel Files in Fedora-11'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/SlGxOZgbkwI/AAAAAAAAARY/fm_1hnoI7GE/s72-c/Screenshot-Working+Document+Shell+Sites+to+Schedule+6-17-09_Flextek(1).xls+-+OpenOffice.org+Calc.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7176175063305279298</id><published>2009-07-04T04:28:00.000-07:00</published><updated>2009-07-04T06:38:00.980-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='E1'/><category scheme='http://www.blogger.com/atom/ns#' term='T1'/><category scheme='http://www.blogger.com/atom/ns#' term='Ethernet Configuration'/><title type='text'>Configuring T1 &amp; E1 Interfaces</title><content type='html'>Wide Area Network (WAN) provide the mechanism for connecting remote site together and connecting your Local Area Network (LAN) to the internet through a connection to an ISP.There are a variety of physical transports, T1/E1 connections are common means of transport. T1 circuit are generally used in domestic application while E1 circuits are widely deployed internationally. E1/T1 circuits are relatively inexpensive investment because they allow remote sites to share corporate resources at other location and thus eliminate the need of redundant equipment at multiple locations. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuring E1/T1 WAN applications includes six steps.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1: Configuring the physical interface (Ethernet and WAN Interface)&lt;br /&gt;2: Configuring the Layer-2 protocol(s) &lt;br /&gt;3: Bind the physical and virtual (Layer-2) interface&lt;br /&gt;4: Create access-lists and policies (Including NAT)&lt;br /&gt;5: Apply the policies to interface&lt;br /&gt;6: Configuring the routing information (Either static or Dynamic (RIP, OSFP etc))&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Physical Interface Configurations (T1, E1 and Ethernet)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To enable the appropriate interface, first we have to configure from global configuration prompt. For example, enter the following command to activate the interface configuration mode for the first T1 interface on a T1 module inserted in slot 1:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office &gt; enable&lt;br /&gt;Head_Office # configure terminal &lt;br /&gt;Head_Office (config) # interface t1 1/1&lt;br /&gt;Head_Office (config-t1 1/1) #&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;All interface are disable by default and must be activated using the &lt;span style="font-weight:bold;"&gt;no shutdown&lt;/span&gt; command. Interfaces will not be able to pass data until this command is entered.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuring T1 Interface&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are four main settings to consider when configuring T1 network interface namely Line coding &lt;span style="font-weight:bold;"&gt;(Coding)&lt;/span&gt;, framing formate &lt;span style="font-weight:bold;"&gt;(framing)&lt;/span&gt;, active channel &lt;span style="font-weight:bold;"&gt;(tdm-group)&lt;/span&gt;, and clock source &lt;span style="font-weight:bold;"&gt;(clock source)&lt;/span&gt; must be all configured to match the circuit supplied by your network provider. By default all secure Router T1 interfaces are configured for ESF &lt;span style="font-weight:bold;"&gt;(framing esf)&lt;/span&gt;, B8ZS &lt;span style="font-weight:bold;"&gt;(coding b8zs)&lt;/span&gt; and to recover clocking from the network circuit &lt;span style="font-weight:bold;"&gt;(clock source line)&lt;/span&gt;. Generally the line coding, framing format, and clock source default values will be the correct ones for your application and should not be changed.&lt;br /&gt;Each configured T1 interface must have the active channels specified using the &lt;span style="font-weight:bold;"&gt;tdm-group&lt;/span&gt; command because there are no default TDM groups defined. The active channels are entered as a single number representing 1 of the 24 T1 channel timeslots or as a contiguous group of channels. Following are the commands used for T1 configuration:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office # configure terminal &lt;br /&gt;Head_Office (config) # interface t1 1/1&lt;br /&gt;Head_Office (config-t1 1/1) #tdm-group 1 timeslots 1-24&lt;br /&gt;Head_Office (config-t1 1/1) # no shutdown&lt;br /&gt;Head_Office (config-t1 1/1) # exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuring E1 Interfaces&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are four main settings to consider when configuring E1 network interface namely Line coding &lt;span style="font-weight:bold;"&gt;(Coding)&lt;/span&gt;, framing formate &lt;span style="font-weight:bold;"&gt;(framing)&lt;/span&gt;, active channel &lt;span style="font-weight:bold;"&gt;(tdm-group)&lt;/span&gt;, and clock source &lt;span style="font-weight:bold;"&gt;(clock source)&lt;/span&gt; must be all configured to match the circuit supplied by your network provider. By default all secure Router E1 interfaces are configured for standard multi-frame without the optional CRC4 error correction &lt;span style="font-weight:bold;"&gt;(no framing crc4)&lt;/span&gt;, and to recover clocking from the network circuit &lt;span style="font-weight:bold;"&gt;(clock source line)&lt;/span&gt;. Generally the line coding, framing format, and clock source default values will be the correct ones for your application and should not be changed.&lt;br /&gt;&lt;br /&gt;Each configured E1 interface must have the active channels specified using the &lt;span style="font-weight:bold;"&gt;tdm-group&lt;/span&gt; command because there are no default TDM groups defined. The active channels are entered as a single number representing 1 of the 31 E1 channel timeslots or as a contiguous group of channels. Following are the commands used for T1 configuration:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office # configure terminal &lt;br /&gt;Head_Office (config) # interface e1 1/1&lt;br /&gt;Head_Office (config-t1 1/1) #tdm-group 1 timeslots 1-31&lt;br /&gt;Head_Office (config-t1 1/1) # no shutdown&lt;br /&gt;Head_Office (config-t1 1/1) # exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuring Ethernet Interfaces&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Standard Ethernet configurations generally contains an IP address, a speed and duplex settings. By default, all secure Router Ethernet interfaces are configured to auto-detect the speed (as 10 or 100 Mbps) and are set to full-duplex. For most cases, these settings should suffice and will not be changed from the default state.&lt;br /&gt;The following example commands configure an IP address of (10.10.x.x/24) and activates teh interface foe the eth 0/1 interface:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office (config) # interface eth 0/1&lt;br /&gt;Head_Office (config-eth 0/1) # ip address 10.10.x.x 255.255.255.0&lt;br /&gt;Head_Office (config-eth 0/1) # no shutdown&lt;br /&gt;Head_Office (config-eth 0/1) # exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuring Layer-2 Protocols (Frame-Relay, PPP, HDLC)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are two main settings to consider when configuring Frame Relay interfaces. The interface type and signalling type must be configures to match the specification supplied on frame relay circuit by your network provider. Frame-relay interfaces have a sub-interfaces component for each PVC which must also be configured. Each frame-relay sub-interfaces contains a DLCI (Data Link Connection Identifier) and IP address because there are no default DLCI or IP address defined. Each PVC should also have a configured committed burst value &lt;span style="font-weight:bold;"&gt;(frame-relay bc)&lt;/span&gt; which is equivalent to the committed information rate (CIR) given to you by your network provider. PVC will also have a negotiated burst rate &lt;span style="font-weight:bold;"&gt;(frame-relay be)&lt;/span&gt; which is equivalent to the excess information rate (EIR) given to you by your network provider. Both CIR and EIR should be defined by you and your service provider at time of signing the service agreement.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE:&lt;/span&gt; To know the appropriate EIR you should know the CIR and Physical bandwidth of both local and remote side. A general rule to the provision of burst value with the remote side CIR and configure the EIR with the difference between CIR and the actual physical bandwidth at the location. The committed burst value plus the EIR should not be greater than the physical bandwidth.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office (config) # interface fr 2.16&lt;br /&gt;Head_Office (config-fr 2.16) # no shutdown&lt;br /&gt;Head_Office (config-fr 2.16) # exit&lt;br /&gt;&lt;br /&gt;Head_Office (config) # interface fr 2.16&lt;br /&gt;Head_Office (config-fr 2.16) # frame-relay interface-dlci 16&lt;br /&gt;Head_Office (config-fr 2.16) # frame-relay bc 768000&lt;br /&gt;Head_Office (config-fr 2.16) # frame-relay be 768000&lt;br /&gt;Head_Office (config-fr 2.16) # ip address 192.168.72.1/30&lt;br /&gt;Head_Office (config-fr 2.16) # no shutdown&lt;br /&gt;Head_Office (config-fr 2.16) # exit&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Multilink Frame Relay Operation&lt;/span&gt;&lt;br /&gt;Multilink Frame Relay operation increase bandwidth on your frame-relay service by aggregating multiple physical links into a single logical bundle. All the physical links in a multilink  bundle are treated as a single entity by the system, allowing each PVC on he connection to dynamically share the total bandwidth of the bundle.&lt;br /&gt;Physical links can be dynamically added and removed from the logical bundle, so a failure on one physical link does not halt the overall operation of the bundle. since all PVC have access to the entire bundle bandwidth, failure of a single physical connection in the bundle does not decrease the efficiency.&lt;br /&gt;&lt;br /&gt;Multilink Frame Relay requires minimal configuration in your router, you first enable multilink operation on the frame relay interface &lt;span style="font-weight:bold;"&gt;(not sub-interface) &lt;/span&gt;and then bind the multiple physical interface to the single Frame Relay interface. For Example&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office (config) # interface fr 1&lt;br /&gt;Head_Office (config-fr 1) # frame-relay multilink&lt;br /&gt;Head_Office (config-fr 1) # no shutdown &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now bind multiple physical interfaces tot he same multilink Frame Relay interface&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office (config) # bind 1 t1 3/1 fr 1&lt;br /&gt;Head_Office (config) # bind 2 t1 3/2 fr 1&lt;br /&gt;Head_Office (config) # bind 3 t1 3/3 fr 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuring PPP Interface&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are two settings to consider when configuring PPP interface, IP address and MTU. There are no IP address by default so we have to assign IP address and by default MTU is 1500 Bytes which works for many applications.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office (config) # interface ppp 1&lt;br /&gt;Head_Office (config-ppp 1) # ip add 172.22.15.2/30&lt;br /&gt;Head_Office (config-ppp 1) # no shutdown&lt;br /&gt;Head_Office (config-ppp 1) # exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now for &lt;span style="font-weight:bold;"&gt;Multilink PPP Operation&lt;/span&gt;, first we have to enable this on the PPP interface and then bind the multiple physical interfaces tot he single PPP interface. Before configuration two things are kept in mind, &lt;span style="font-weight:bold;"&gt;PPP multilink fragmentation&lt;/span&gt; command at global configuration mode used for the fragmentation process which evenly divides the data among all the links in the bundle with a minimum packet size of 96 bytes and second command &lt;span style="font-weight:bold;"&gt;ppp multilink interleave&lt;/span&gt; command at global configuration mode used with streaming protocol to reduce delay by giving priority to packets identified as high priority. The command specify the configuration parameter required for multilink PPP interface:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office (config) # interface ppp 1&lt;br /&gt;Head_Office (config-ppp 1) # interface ppp 1&lt;br /&gt;Head_Office (config-ppp 1) # ppp multilink&lt;br /&gt;Head_Office (config-ppp 1) # no shutdown&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now to bind multiple physical interface to the same multilink PPP interface:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office (config) # bind 1 t1 3/1 1 PPP 1&lt;br /&gt;Head_Office (config) # bind 2 t1 3/2 2 PPP 1&lt;br /&gt;Head_Office (config) # bind 3 t1 3/3 3 PPP 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Binding Physical and Virtual Interface&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Virtual interface must be bound to physical interface to create a WAN interface where Layer-2 signalling occurs. Use the &lt;span style="font-weight:bold;"&gt;bind&lt;/span&gt; command to connect the physical and virtual interfaces.&lt;br /&gt;&lt;br /&gt;Following command listing depicts three bind to a multilink Frame Relay interface and a single bind to a PPP interface. Each bind has a unique label identifier (1 through 4)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Head_Office (config) # bind 1 t1 3/1 1 fr 1&lt;br /&gt;Head_Office (config) # bind 2 t1 3/2 2 fr 1&lt;br /&gt;Head_Office (config) # bind 3 t1 3/3 2 fr 1&lt;br /&gt;Head_Office (config) # bind 4 t1 3/8 4 PPP 1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now also define ACL and define routing of your own choice or as directed you to do so.&lt;br /&gt;&lt;br /&gt;Hope it will be informative for you.&lt;br /&gt;&lt;br /&gt;Thank You for reading!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7176175063305279298?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7176175063305279298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7176175063305279298' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7176175063305279298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7176175063305279298'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/07/configuring-t1-e1-interfaces.html' title='Configuring T1 &amp; E1 Interfaces'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3502806700846782495</id><published>2009-06-30T03:51:00.000-07:00</published><updated>2009-06-30T04:03:19.117-07:00</updated><title type='text'>G-Talk for Fedora</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OTefDZiV8NU/SknwTqmAI4I/AAAAAAAAARQ/JTxLZzkdv8c/s1600-h/Screenshot.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 256px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/SknwTqmAI4I/AAAAAAAAARQ/JTxLZzkdv8c/s320/Screenshot.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5353073852748407682" /&gt;&lt;/a&gt;&lt;br /&gt;I love to do work in Fedora although i am not a Linux professional but i am trying for learning and working in it as i am Network Engineer by Profession, I was looking for gtalk for my fedora i consult my teacher Nayyar Ahmad (He is RHCE, &lt;a href="http://nayyares.blogspot.com"&gt;http://nayyares.blogspot.com&lt;/a&gt;) so he advice me to download pidgen and use it if you don't have just click here &lt;a href="http://pidgin.im/"&gt;pidgen&lt;/a&gt; and you can download it, for me it was so simple as in Fedora-11 it is there by default. &lt;br /&gt;&lt;br /&gt;Now configuration of Pidgen comes in so again i found sir Nayyar Ahmad blog very useful so &lt;a href="http://nayyares.blogspot.com/2008/11/bypassbreak-firewall-to-chat-on-gmail.html"&gt;here &lt;/a&gt; you can find the detail information.&lt;br /&gt;&lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3502806700846782495?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3502806700846782495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3502806700846782495' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3502806700846782495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3502806700846782495'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/06/google-talk-for-fedora.html' title='G-Talk for Fedora'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OTefDZiV8NU/SknwTqmAI4I/AAAAAAAAARQ/JTxLZzkdv8c/s72-c/Screenshot.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6264810527705869694</id><published>2009-06-26T02:39:00.000-07:00</published><updated>2009-06-26T02:47:00.218-07:00</updated><title type='text'>OSPF over IPv6</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_OTefDZiV8NU/SkSYBaL8XII/AAAAAAAAARI/7WH1rJrR7pY/s1600-h/ipv6+and+ospf.bmp"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 218px; height: 320px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/SkSYBaL8XII/AAAAAAAAARI/7WH1rJrR7pY/s320/ipv6+and+ospf.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5351569407199698050" /&gt;&lt;/a&gt;&lt;br /&gt;Why we need IPv6? There were some limitation in IPv4 i.e. Major Limitation was address space shortage and Minor linitation was Packet fragmentation (The default size is 1500 bytes, if a packet size is more than 1500-bytes so the packet is fragmentaed and again the packets are reassembaled at the other side. So the first and short term solution was to slow down the consumption by using DCHP server, NAT etc and another to introduces new routed protocl (long term solution) to which they called Ipng (IP next generation) and later on after developing they called it IPv6. For example, In Japan IPv6 in almost fully implemented.&lt;br /&gt;Now we can assign IPv6 address on routers, pc just like IPv4, and we can also run different routing protocol on this, in this blog I will talk about OSPF over IPv6.&lt;br /&gt;We have two routers and configure IPv6 addresses as show under on both routers and also the detail configuration steps of assif-gning IPv6 addresses on routers.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_1 serial 0/1 2001:0:0:2::1/64&lt;br /&gt;Router_1 Fastethernet 0/0 2001:0:0:1::1/64&lt;br /&gt;Router_2 serial 0/1 2001:0:0:2::2/64&lt;br /&gt;Router_2 Fastethernet 0/0 2001:0:0:3::1/64&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;First of all we have to enable IPv6 on routers as by default IPv4 is enable, so to enable IPv6 we have&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_1 (config) # ipv6 unicast-routing&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now to assing address on each interace on Router_1, the detail steps are as folllow&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_1 (config) # interface serial 0/0&lt;br /&gt;Router_1 (config-if) # ipv6 address 2001:0:0:2::1/64&lt;br /&gt;Router_1 (config-if) # no shutdown&lt;br /&gt;Router_1 (config) # interface fastethernet 0/0&lt;br /&gt;Router_1 (config-if) # ipv6 address 2001:0:0:1::1/64&lt;br /&gt;Router_1 (config-if) # no shutdown&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To assing address on each interace on Router_2, the detail steps are as folllow&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_2 (config) # interface serial 0/0&lt;br /&gt;Router_2 (config-if) # ipv6 address 2001:0:0:2::2/64&lt;br /&gt;Router_2 (config-if) # no shutdown&lt;br /&gt;Router_2 (config) # interface fastethernet 0/0&lt;br /&gt;Router_2 (config-if) # ipv6 address 2001:0:0:3::1/64&lt;br /&gt;Router_2 (config-if) # no shutdown&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now to see the routing table of Router_1, we have the command&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_1 # show ipv6 route---------------------------output shown in the figure.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now to run OSPF on both router to ping each other fastethernet IP as they are different network ID, so&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_1 (config) # interface serial 0/1&lt;br /&gt;Router_1 (config-if) # ipv6 ospf 1 area 0&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note ./.OSPF v3-4-NORTRID: OSPF v3 process 1 could not pick a router-id, please configure manually&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;So remember one thing that to configure ospf on IPv6 and there is no IPv4 on that router so it will not take router id bydefault so we have to configure router-id manually and that router-id will be 32-bit ipv4 formate ip. So to configure router-id manually we have&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_1 (config) # ipv6 router ospf 1&lt;br /&gt;Router_1 (config-rtr) # router-id 10.1.1.1&lt;br /&gt;&lt;br /&gt;Router_1 (config) # interface serial 0/1&lt;br /&gt;Router_1 (config-if) # ipv6 ospf 1 area 0&lt;br /&gt;Router_1 (config) # interface fastethernet 0/0&lt;br /&gt;Router_1 (config-if) # ipv6 ospf 1 area 0&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Do the same configurations on Router_2 as we did above just with different router-id say 20.1.1.1 for Router_2. Now see the roputiong table of Router_1, so the Router_2 fastethernet route is learened via ospf, see the figure show by red boxes.&lt;br /&gt;&lt;br /&gt;IPv6 is difficult to remember so there is a concept of &lt;strong&gt;Mapping&lt;/strong&gt;, we can map an IP against a text, say in my case I have map the Router_2 fastethernet ip with name of “lhrip” see the command for it on the figure shown with green boxes.  &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_1 (config) # ipv6 host lhrip 2001:0:0:3::1&lt;br /&gt;Router_1 (config) # ping lhrip&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The output of the ping command can be seen from the figure, output is show and highlighted by green boxes.&lt;br /&gt;&lt;br /&gt;I hope it will be informative for you.&lt;br /&gt;&lt;br /&gt;Thank you for reading.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6264810527705869694?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6264810527705869694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6264810527705869694' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6264810527705869694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6264810527705869694'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/06/ospf-over-ipv6.html' title='OSPF over IPv6'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/SkSYBaL8XII/AAAAAAAAARI/7WH1rJrR7pY/s72-c/ipv6+and+ospf.bmp' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-8935343672245020605</id><published>2009-06-25T04:42:00.000-07:00</published><updated>2009-06-26T03:59:55.140-07:00</updated><title type='text'>Network Administrator post in Sui Gas</title><content type='html'>Back in January 2009, one day i opened Sui Northern Gas web page and i saw &lt;span style="font-weight:bold;"&gt;"New Posts"&lt;/span&gt;, i got happy and as i opened the link there they advertised some posts of Network Administrator, System Administrator, Engineers and some Management Staff on career basis, my interest was in "Network Administrator", so i applied for the post and submit all the relevant information. In march 2009 i received  call from the head office that you have to appear for written test of Network Administrator conducted by NTS (National Testing Service) on Saturday, 4th April 2009,  Test Time is 1:00 PM at ICMS Hayatabad. It was computer based test so we get the result at that time and i scored 61 marks in that test. Later on, In June 2009 i received an email from HR that you have to appeared for an interview on June 23, 2009. That was the happiest moment for me as i got a chance to prove my skills in front of them and will get this job INSHALLAH. Thee interview was in Head Office (Lahore, Pakistan) and its almost 500 km far from my home. on June 22nd night i was too excited about the interview and i was busy in preparing my self like collecting my all documents, degrees, certificates, also got with a suit and prepared my self to be there for interview. The interview timing were 09:00 am Sharpe (they have mention in the interview letter).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;22nd June:&lt;/span&gt; In the morning when i get up......! opss i was not feeling well really as i feel vomiting, headache and also got problem in my stomach, anyway i prepared my self and went for my class (CCNP i am teaching from 10:00 to 12:00) and then i went for Bus and start my journey, on the way i did vomiting three times, felt so pain in my head and backbone but i said i will go and i reached Lahore at 11:00 pm in the night, i just took some water and green tea and went to bed for rest.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;23rd June: &lt;/span&gt;In the morning the conditions were the same, but i took bath and took my documents and other stuff and went for interview when i reached office the time was 08:35 am and they told us to wait in the basement. we all guys (came for interview) were waiting there and at 09:30 a female and a male came with  pen, stapler in hands and call one by one and checked their documents and send a group of around fifteen people to floor 5th for interview, It was 12:00 o'clock when our group turn comes, when my turn come they call my name &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Person: SOHAIL&lt;br /&gt;Me: Yes i am&lt;br /&gt;Person: Please come&lt;br /&gt;Me: ok&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;I entered the room and there were just three people in the panel, they said sit.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Question # 1:&lt;/span&gt; &lt;span style="font-weight:bold;"&gt;so sohail what are you doing?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Me:&lt;/span&gt; I am currently doing job, am working as a Instructor in NSIT and working in the same organization on contract basis.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Question # 2: &lt;/span&gt;&lt;span style="font-weight:bold;"&gt;When is your contract expires? (Ohhh Bullshit Question)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Me:&lt;/span&gt; In August 2009&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Question # 3:&lt;/span&gt; &lt;span style="font-weight:bold;"&gt;Ok, how u relate your experience with this post?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Me:&lt;/span&gt; As i have done my Honour Graduation in Information Technology, have done with different international certifications like CCAN, CCNP, CCSP (SNPA), JNCIA-EX and also done with course work of MCSE, Orcale (DBA, 8i) and currently studying CCIE (Routing and Switiching) and in July i will get my two certification JNCIS and JNCIA-ER also and am working from last one and half year in the same field and as i am currently working in the same organization and so i am aware of the network etc.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Question # 4:&lt;/span&gt; &lt;span style="font-weight:bold;"&gt;what are the devices in Regional Office?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Me:&lt;/span&gt; Router 2600 series, switches 3550, 3560 etc.&lt;br /&gt;&lt;br /&gt;They Said Thanks...........and i went out, now when i came out all the students were screaming and said is this is an interview, like in these two or three question how can they judge a student that whether he/she have sufficient knowledge or not, because from all students they ask just these two or three question, even not a single technical question although the job is pure technical.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;One surprising&lt;/span&gt; thing is that in all areas like Engineering, Management etc they have call students who have marks more than 60, only in IT post they have call people who have scored till 50, because all those for which they have announce this post scored less that 60 marks, Thats what i think?.&lt;br /&gt;&lt;br /&gt;In interview from Engineers they ask OK what do you think about Pakistan present situation, what do you think about the 20-20 cricket, do you watch etc.......They will select great Engineers.&lt;br /&gt;&lt;br /&gt;And Pakistan says that we haver no Talent, we are backward country, if the case is like this they will be like this in future also.&lt;br /&gt;&lt;br /&gt;Regards&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-8935343672245020605?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/8935343672245020605/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=8935343672245020605' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8935343672245020605'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8935343672245020605'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/06/network-administrator-post-in-sui-gas.html' title='Network Administrator post in Sui Gas'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3677154748988655437</id><published>2009-06-18T05:49:00.000-07:00</published><updated>2009-06-18T06:00:06.589-07:00</updated><title type='text'>Object ACL</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_OTefDZiV8NU/Sjo6UPEqe4I/AAAAAAAAARA/hggN38be9FQ/s1600-h/OACL.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 187px; height: 320px;" src="http://3.bp.blogspot.com/_OTefDZiV8NU/Sjo6UPEqe4I/AAAAAAAAARA/hggN38be9FQ/s320/OACL.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5348651626773773186" /&gt;&lt;/a&gt;&lt;br /&gt;There are many types of ACL (Access Control List) like Standard, Extended, Time-Based, Named-Based etc; here I will talk about Object Access Control List (OACL). Object ACL is used to create object of ACL like for thousand of ACL we can create one object and likewise we can have many objects and we can call all those object in one object (Just Like we do in programming). For example we have source01 (Nayyar, Ahmad, Superman) and source02 (Sohail, Akhtar, Mastermind) and we have source03 in which we call both these objects. &lt;br /&gt;&lt;br /&gt;According to the topology we have an inside router on which security level is 100 and outside router on which security level is 0 because we have to keep security level high on our inside so that no one from outside can access (as traffic is not allowed by default from low security level to high security level) our router and in the way we have PixFirewall-515 to filter traffic, now make secondary interface on inside and outside router and assign IP address to it, so here we go:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Inside-Router (config) # interface fasethernet 0/0&lt;br /&gt;Inside-Router (config-if) # ip address 192.168.1.3 255.255.255.0 secondary&lt;br /&gt;Inside-Router (config-if) # ip address 192.168.1.4 255.255.255.0 secondary&lt;br /&gt;Inside-Router (config-if) # ip address 192.168.1.5 255.255.255.0 secondary&lt;br /&gt;&lt;br /&gt;Outside-Router (config) # interface fasethernet 0/0&lt;br /&gt;Outside-Router (config-if) # ip address 10.1.1.3 255.0.0.0 secondary&lt;br /&gt;Outside-Router (config-if) # ip address 10.1.1.4 255.0.0.0 secondary&lt;br /&gt;Outside-Router (config-if) # ip address 10.1.1.5 255.0.0.0 secondary&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Defining Objects-----------------------For Source&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PixFirewall-515 (config) # object-group network s1&lt;br /&gt;PixFirewall-515 (config) # network-object host 192.168.1.2&lt;br /&gt;PixFirewall-515 (config) # network-object host 192.168.1.3&lt;br /&gt;&lt;br /&gt;PixFirewall-515 (config) # object-group network s2&lt;br /&gt;PixFirewall-515 (config) # network-object host 192.168.1.4&lt;br /&gt;PixFirewall-515 (config) # network-object host 192.168.1.5&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now calling both objects within another object&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PixFirewall-515 (config) # object-group network s3&lt;br /&gt;PixFirewall-515 (config) # group s1&lt;br /&gt;PixFirewall-515 (config) # group s2&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Defining Objects-------------------For Destination&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PixFirewall-515 (config) # object-group network D1&lt;br /&gt;PixFirewall-515 (config) # network-object host 10.1.1.2&lt;br /&gt;PixFirewall-515 (config) # network-object host 10.1.1.3&lt;br /&gt;&lt;br /&gt;PixFirewall-515 (config) # object-group network D2&lt;br /&gt;PixFirewall-515 (config) # network-object host 10.1.1.4&lt;br /&gt;PixFirewall-515 (config) # network-object host 10.1.1.5&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Access-List to all Objects:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PixFirewall-515 (config) # access-list 105 permit tcp object s1 object D1 eq 23&lt;br /&gt;PixFirewall-515 (config) # access-list 105 permit tcp object s3 object D2 eq www&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In the first ACL only members of object s1 is allowed while in second they have &lt;br /&gt;allowed object s3 which itself calls both the s1 and s2 object.&lt;br /&gt;&lt;br /&gt;Lest remove 192.168.1.2 from access-list like&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PixFirewall-515 (config) # object-group network 1&lt;br /&gt;PixFirewall-515 (config) # no network-object host 192.168.1.2&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now ping outside address using 192.168.1.2 as a source address so it will not ping because it is removed from the object, again add in the group and ping then it will work properly.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;PixFirewall-515 (config) # object-group network 1&lt;br /&gt;PixFirewall-515 (config) # network-object host 192.168.1.2&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;I hope it will be informative. &lt;br /&gt;Cheers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3677154748988655437?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3677154748988655437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3677154748988655437' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3677154748988655437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3677154748988655437'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/06/object-acl.html' title='Object ACL'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OTefDZiV8NU/Sjo6UPEqe4I/AAAAAAAAARA/hggN38be9FQ/s72-c/OACL.JPG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5647939911139791490</id><published>2009-06-17T07:32:00.000-07:00</published><updated>2009-06-17T07:39:46.406-07:00</updated><title type='text'>STP v/s RSTP</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OTefDZiV8NU/Sjj_53T6EMI/AAAAAAAAAQo/EioQBZSokns/s1600-h/RSTP.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 289px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/Sjj_53T6EMI/AAAAAAAAAQo/EioQBZSokns/s320/RSTP.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5348305927067537602" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OTefDZiV8NU/Sjj_05DVUOI/AAAAAAAAAQg/MJgGs6Sr8MA/s1600-h/STP.JPG"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 167px;" src="http://3.bp.blogspot.com/_OTefDZiV8NU/Sjj_05DVUOI/AAAAAAAAAQg/MJgGs6Sr8MA/s320/STP.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5348305841635545314" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Spanning Tree Protocol (STP)&lt;/span&gt; is used to avoid layer-2 loops or switching loops. Some of the terminologies used in spanning tree protocol are Root Bridge-RB (It is normally the powerful switch on the network means with high processor, high memory etc), Non-Root Bridge-NRB (switches other than root bridge are called NRB), Designated Port-DP (The port which transmit best BPDU and ports of root bridge are always designated port because it turns into forwarding state) and Root Port-RP (the port which receive best BPDU)both are also called Forwarding Ports, and Non-Designated-NDP Port also called Blocking Port. There election of RB and NRB is done on the basis of priority and MAC address collectively called Bridge ID. There are certain conditions for the election, i.e. One Root Bridge / Network,   One Designated Port / Segment ( Root Bridge ID,  Path Cost to the Root,  Sender Bridge ID (SBID),  Port ID (PID)),  One Root Port / Non-Root Bridge(  Path Cost to the Root,  Sender Bridge ID (SBID),  Port ID (PID)).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;RSTP (Rapid Spanning Tree Protocol) &lt;/span&gt;on the other hand is an 802.1w IEEE standard and is backward compatible with 802.1D (STP) on per port basis. RSTP is fast from STP because here the convergence is done by each link or done on link by link basis. We have different  Port States ( Discarding,  Learning,  Forwarding),  Port Roles ( Root-Port,  Designated ,  Backup,  Alternate),  Port Types( Edge Port,  Non-Edge Ports) and Link Types ( Shared Links,  Point-to-Point).&lt;br /&gt;Now the question arises that whether to use STP or RSTP in our networks, so look at the following configurations and the output then we can conclude which to use and why?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;STP Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Its enable by default now look at the first figure that Fast Ethernet 0/2 on MLS 1 is down to see the result I am going to shutdown Fast Ethernet 0/3 and let’s see how much time Fast Ethernet 0/2 took to get up and see the packets that are dropped in the mean while. Look at the Figure A and see before and after shutting down the Fast Ethernet 0/3 and in the mean while the packets that are dropped are show by black circle and then communications starts so here communication is almost 97 Percent.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;RSTP Configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now to enable RSTP on all switches just we have to enter a single command. i.e.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;MLS-0(config) # spanning-tree mode rapid-pvst&lt;br /&gt;MLS-1(config) # spanning-tree mode rapid-pvst&lt;br /&gt;MLS-2(config) # spanning-tree mode rapid-pvst&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now look at the second figure that Fast Ethernet 0/3 on MLS 1 is down, to see the result I am going to shutdown Fast Ethernet 0/2 and see how much time Fast Ethernet 0/3 took to get up and see now how much packets are dropped in the mean while. Look at the Figure A and see before and after shutting down the Fast Ethernet 0/2 and in the mean while the packets that are dropped are show by black circle and then communications starts so here communication is almost 99 Percent which is consider perfect as 1% is negligible.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Conclusion&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So we came to conclusion that RSTP is better to implement on our network as we will not face data loss that we can face in STP.&lt;br /&gt;&lt;br /&gt;Hope it will be informative for you. Thank You for Visiting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5647939911139791490?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5647939911139791490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5647939911139791490' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5647939911139791490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5647939911139791490'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/06/stp-vs-rstp.html' title='STP v/s RSTP'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/Sjj_53T6EMI/AAAAAAAAAQo/EioQBZSokns/s72-c/RSTP.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6833662304117325651</id><published>2009-06-17T03:49:00.000-07:00</published><updated>2009-06-17T04:59:11.462-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux on network'/><category scheme='http://www.blogger.com/atom/ns#' term='CLI'/><category scheme='http://www.blogger.com/atom/ns#' term='Graphical'/><title type='text'>Linux PC on Network</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OTefDZiV8NU/SjjYfW8c1UI/AAAAAAAAAP4/AryD--dnqjE/s1600-h/Screenshot-1.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 256px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/SjjYfW8c1UI/AAAAAAAAAP4/AryD--dnqjE/s320/Screenshot-1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5348262590749136194" /&gt;&lt;/a&gt;&lt;br /&gt;Back in 2008 when i was unable to bring my PC (Linux OS) on a network, i was thinking of how to connect it to the internet or bring on a network or how to install messenger or any other software because i was completely unaware of this as i am not a Linux guy   as i am network guy but i am trying to for the learning of Linux, here are the few steps or few changes required in the files thne we can bring our pc on a network and can enjoy internet may be it will help some one who really don't know how to bring pc on network. There are certain file in which we have to make changes (for CLI users) like:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;/etc/sysconfig/network&lt;br /&gt;/etc/sysconfig/network-script/ifcfg-eth0&lt;br /&gt;/etc/resolve.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 1: vi /etc/sysconfig/network&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this file just define the gateway like&lt;br /&gt;NETWORKING=yes&lt;br /&gt;HOSTNAME=myserver.proxy&lt;br /&gt;GATEWAY=192.168.1.1&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 2: vi /etc/sysconfig/network-script/ifcfg-eth0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this file we just have to define our IP address&lt;br /&gt;DEVICE=eth0&lt;br /&gt;BOOTPROTO=static&lt;br /&gt;BROADCAST=10.255.255.255&lt;br /&gt;HWADDR=00:1A:64:6D:3F:9C&lt;br /&gt;IPADDR=10.x.x.x&lt;br /&gt;NETMASK=255.0.0.0&lt;br /&gt;NETWORK=10.0.0.0&lt;br /&gt;ONBOOT=yes&lt;br /&gt;TYPE=Ethernet&lt;br /&gt;GATEWAY=192.168.1.2&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 3: vi /etc/resolve.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In this file you have to give your DNS and Preferred DNS ip address&lt;br /&gt;nameserver 10.x.x.x&lt;br /&gt;nameserver 10.x.x.x&lt;br /&gt;&lt;br /&gt;Thos who want to make it graphically jsut with one command, just enter following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@myserver ~]# netconfig&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;you will be promting a window as you seen, If you are running DHCP server on you network then just  check [*] USe Dynamic... here we go your system is now on a network. Yu can check by following command&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;[root@myserver ~]# ifconfig&lt;/span&gt;&lt;br /&gt;eth0      &lt;br /&gt;HWaddr 00:10:C6:9F:42:62&lt;br /&gt;inet addr:10.110.10.2  &lt;br /&gt;Bcast:10.255.255.255  &lt;br /&gt;Mask:255.0.0.0&lt;br /&gt;&lt;br /&gt;Here we go, hopefully it will be informative. &lt;br /&gt;Enjoy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6833662304117325651?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6833662304117325651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6833662304117325651' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6833662304117325651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6833662304117325651'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/06/linux-pc-on-network.html' title='Linux PC on Network'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/SjjYfW8c1UI/AAAAAAAAAP4/AryD--dnqjE/s72-c/Screenshot-1.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-1260862150171210417</id><published>2009-06-12T04:24:00.000-07:00</published><updated>2009-06-12T04:50:04.601-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='jre rpm'/><category scheme='http://www.blogger.com/atom/ns#' term='jre'/><title type='text'>Eclipse on Linux</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_OTefDZiV8NU/SjI_Ex1fC2I/AAAAAAAAAPg/6vXngV4lZmo/s1600-h/rpm.bmp"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 237px;" src="http://3.bp.blogspot.com/_OTefDZiV8NU/SjI_Ex1fC2I/AAAAAAAAAPg/6vXngV4lZmo/s320/rpm.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5346405058971896674" /&gt;&lt;/a&gt;&lt;br /&gt;To install eclipse on liux (or any other operating system) it will ask for java runtime so before installing Eclipse first we have to istall jre on Linux machine the detail steps are as follow.&lt;br /&gt;&lt;br /&gt;To install jre on Linux (self-extracting) file Follow these instructions:&lt;br /&gt;1. If you are login with another user (other than root), At the terminal, Type&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;su &lt;/span&gt;&lt;br /&gt;2. Enter the root password. &lt;br /&gt;3. Change path to the directory in which you want to install, like I install in /usr/java, &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd /usr/java/&lt;/span&gt;&lt;br /&gt;To make the file executable change the permission by following command,&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;chmod a+x jre-6u&lt;version&gt;-linux-i586.bin &lt;/span&gt;&lt;br /&gt;4. Verify that you have permission to execute the file. Type&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ls -l &lt;br /&gt;see Figure "A"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5. To start the installation process Type, &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;./jre-6u&lt;version&gt;-linux-i586.bin&lt;/span&gt;&lt;br /&gt;this displays a binary license agreement. Go through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation. see Figure "B"&lt;br /&gt;&lt;br /&gt;6. Java is installed into its own directory. In this case, it have installed in the &lt;span style="font-weight:bold;"&gt;/usr/java/jre-6u14-linux-i586&lt;/span&gt; directory. When the installation has completed, you will see the word Done. see figure "C"&lt;br /&gt;&lt;br /&gt;7. Java is installed in &lt;span style="font-weight:bold;"&gt;jre-6u14-linux-i586&lt;/span&gt; sub-directory under the current directory. In this case, Java is installed in the /usr/java/jre-6u14-linux-i586 directory. Verify that the jre-6u14-linux-i586 sub-directory is listed under the current directory. Type:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ls &lt;/span&gt; see Figure "D"&lt;br /&gt;The installation is now complete.&lt;br /&gt;&lt;br /&gt; To install the &lt;span style="font-weight:bold;"&gt;Linux RPM&lt;/span&gt; (self-extracting) file Follow these instructions: &lt;br /&gt;1. Change to the directory in which you want to install. I have installed in /usr/java/ directory, &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd /usr/java&lt;/span&gt;&lt;br /&gt;Change the permission of the file you downloaded to be executable. Type:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;chmod a+x jre-6u14-linux-i586-rpm.bin&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. Start the installation process. Type:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;./ jre-6u14-linux-i586-rpm.bin&lt;/span&gt;&lt;br /&gt;This displays a binary license agreement. Read through the agreement. Press the spacebar to display the next page. At the end, enter yes to proceed with the installation.&lt;br /&gt;&lt;br /&gt;3. The installation file creates jre-6u14-linux-i586-rpm file in the current directory. see figure "E".&lt;br /&gt;&lt;br /&gt;4. Run the RPM command at the terminal to install the packages for confirmation sometime it will display you a message “already installed”.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;rpm -iv jre-6u14-linux-i586-rpm&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;5. Java is installed in &lt;span style="font-weight:bold;"&gt;jre-6u14-linux-i586-rpm&lt;/span&gt; sub-directory under the current directory. In this case, Java is installed in the /usr/java/jre-6u14-linux-i586-rpm directory. Verify that the &lt;span style="font-weight:bold;"&gt;jre-6u14-linux-i586-rpm&lt;/span&gt; sub-directory is listed under the current directory. Type:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ls &lt;/span&gt; see Figure "F".&lt;br /&gt;The installation is now complete. The version number can be different depends on the version number you have downloaded. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Enable and Configure&lt;br /&gt; Mozilla 1.4 and later&lt;/span&gt; &lt;br /&gt;1. Go to the plugins sub-directory under the Mozilla installation directory&lt;br /&gt;cd usr/lib/Mozilla-1.4/plugins &lt;br /&gt;2. In the current directory, create a symbolic link to Java ns7/libjavaplugin_oji.so file Type:&lt;br /&gt;ln -s &lt;Java installation directory&gt;/plugin/i386/ns7/libjavaplugin_oji.so &lt;br /&gt;Example:&lt;br /&gt;o If Mozilla is installed in this directory:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;/usr/lib/mozilla-1.4/ &lt;/span&gt;&lt;br /&gt;o and if the Java is installed at this directory:&lt;br /&gt;/usr/java/jre 6u14 &lt;br /&gt;o Then type at the terminal to go to the browser plug-in directory:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd /usr/lib/mozilla-1.4/plugins &lt;/span&gt;&lt;br /&gt;o Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ln -s /usr/java/jre 6u14/plugin/i386/ns7&lt;/span&gt;&lt;br /&gt;/libjavaplugin_oji.so. &lt;br /&gt;3. Start Mozilla browser or restart it if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well. &lt;br /&gt;4. Go to Edit &gt; Preferences. Under Advanced category &gt; Select Enable Java &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Eclipse Installation&lt;/span&gt;&lt;span style="font-weight:bold;"&gt;&lt;/span&gt;&lt;br /&gt;1. First step is to direct the path where we want to install the application like in my case i have install in&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd /usr/eclipse&lt;/span&gt;&lt;br /&gt;2. Second step is to decompree and then extract the data so one command for both is&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;tar zxvf eclipse-jee-ganymede-SR2-linux-gtk.tar&lt;/span&gt;&lt;br /&gt;3. Now its ready to use just go to that directory where you have install like i have done&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;cd /usr/eclipse/eclipse&lt;/span&gt;&lt;br /&gt;and then enter now enter the following command&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;./eclipse&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-1260862150171210417?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/1260862150171210417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=1260862150171210417' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1260862150171210417'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1260862150171210417'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/06/eclipse-on-linux.html' title='Eclipse on Linux'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OTefDZiV8NU/SjI_Ex1fC2I/AAAAAAAAAPg/6vXngV4lZmo/s72-c/rpm.bmp' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7099705303394747219</id><published>2009-06-01T01:32:00.000-07:00</published><updated>2009-06-01T08:44:31.674-07:00</updated><title type='text'>Trunk Port in Depth</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OTefDZiV8NU/SiOcen9gy1I/AAAAAAAAAO8/Bms_pazY330/s1600-h/switch.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 188px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/SiOcen9gy1I/AAAAAAAAAO8/Bms_pazY330/s320/switch.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5342285632928533330" /&gt;&lt;/a&gt;&lt;br /&gt;Trunk port is a port which carries multiple VLAN information (traffic). Two types of encapsulation are available i.e. ISL and Dot1q. On certain switches only Dot1q is available it depends on which series of switch are you using. There is difference between these two some of the features are:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ISL:&lt;/span&gt; It’s a Proprietary Protocol and frame is encapsulated (double Tagging) with a total size of 30 bytes (26 Bytes Header and 4-bytes Tail) and is done on the whole frame, it’s a protocol independent means frame is encapsulated and have no concern with internal data and support PVST (per VLAN spanning Tree) and have no use in VoIP environment. 10 bits is kept reserved so we can create VLAN up to 1024 and we can configure from 2 to 1001 as VLAN 1 and VLAN 2-5 are reserved.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;DOT1Q:&lt;/span&gt; It’s a non-proprietary protocol and a small tagged is attached to a side of frame of size 4-bytes. It’s a protocol dependent and has support for VoIP and there is three bits space reserved for PRI (priority) used to give preference to whom and not to who called dot1p acts as a class of service. 12 bits are kept reserved so the range of VLAN goes up to 4096. DOT1Q also support Native VLAN (Native VLAN is untagged VLAN means if there is any traffic comes from switch-A which is untagged so it will be received by VLAN on the other side which is declared as a Native VLAN and it is recommended that keep same VLAN as a Native on both side.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Negotiation:&lt;/strong&gt; If there are two switches with both the encapsulation available on both side so the negotiation will be done on ISL and Trunk port will be established, if there is ISL and DOT1Q on one side and ISL only on the other side so negotiation will be done using DOT1Q and Trunk Port will be established. &lt;br /&gt;Now to start with the Lab makes sure that the switches are Zero Meter and for that enter the following command: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch-A # show vtp status&lt;/span&gt;&lt;br /&gt;VTP Version                       : 2&lt;br /&gt;Configuration Revision            : 5&lt;br /&gt;Maximum VLANs supported locally   : 1005&lt;br /&gt;Number of existing VLANs          : 10&lt;br /&gt;VTP Operating Mode                : Server&lt;br /&gt;VTP Domain Name                   : &lt;br /&gt;VTP Pruning Mode                  : Disabled&lt;br /&gt;VTP V2 Mode                       : Disabled&lt;br /&gt;VTP Traps Generation              : Disabled&lt;br /&gt;MD5 digest                        : 0x77 0xA2 0x57 0xB9 0xDB 0x6E 0xC4 0x8C &lt;br /&gt;If you can see the revision number it is 5, so to bring the switch to zero meters we have to delete all VLAN but remember by deleting VLAN the revision number will still 5 as there is a Database maintaining with the name of “VLAN.dat” so we have to delete that also.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch-A # delete flash: vlan.dat&lt;/span&gt;&lt;br /&gt;Delete filename [vlan.dat]?&lt;br /&gt;Delete flash:/vlan.dat? [Confirm]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch-A # write erase&lt;/span&gt;&lt;br /&gt;Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch-A # show vtp status&lt;/span&gt;&lt;br /&gt;VTP Version                       : 2&lt;br /&gt;Configuration Revision            : 0&lt;br /&gt;Maximum VLANs supported locally   : 1005&lt;br /&gt;Number of existing VLANs          : 10&lt;br /&gt;VTP Operating Mode                : Server&lt;br /&gt;VTP Domain Name                   : &lt;br /&gt;VTP Pruning Mode                  : Disabled&lt;br /&gt;VTP V2 Mode                       : Disabled&lt;br /&gt;VTP Traps Generation              : Disabled&lt;br /&gt;MD5 digest                        : 0x77 0xA2 0x57 0xB9 0xDB 0x6E 0xC4 0x8C &lt;br /&gt;&lt;br /&gt;Repeate all these commands on both switches and then give the following command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch-A # show interface trunk&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Port        Mode         Encapsulation         Status        Native vlan&lt;/span&gt;&lt;br /&gt;Fa0/1       desirable           802.1q         trunking      1&lt;br /&gt;Fa0/2       desirable           802.1q         trunking      1&lt;br /&gt;Fa0/3       desirable           802.1q         trunking      1&lt;br /&gt;&lt;br /&gt;Port        Vlans allowed on trunk&lt;br /&gt;Fa0/1       1-1005&lt;br /&gt;Fa0/2       1-1005&lt;br /&gt;Fa0/3       1-1005&lt;br /&gt;&lt;br /&gt;Port        Vlans allowed and active in management domain&lt;br /&gt;Fa0/1       1,1002,1003,1004,1005&lt;br /&gt;Fa0/2       1,1002,1003,1004,1005&lt;br /&gt;Fa0/3       1,1002,1003,1004,1005&lt;br /&gt;&lt;br /&gt;Port        Vlans in spanning tree forwarding state and not pruned&lt;br /&gt;Fa0/1       1,1002,1003,1004,1005&lt;br /&gt;Fa0/2       1,1002,1003,1004,1005&lt;br /&gt;Fa0/3       1,1002,1003,1004,1005&lt;br /&gt;&lt;br /&gt;If you notice the mode which is desirable, we can have three conditions for the trunk port i.e. The mode can be desirable desirable, desirable auto and auto auto. so Trunk prot will be established between desirable desirable and desirbale auto while no trunk port between auto auto because when port is in auto mode so it waits for the DTP to recieve so both ports will be waiting for the DTP and no trunk port will be established. In the above case all states are desirable, lets see all three cases.&lt;br /&gt;To change the mode give the following command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;switch-A(config) # interface fastethernet 0/2&lt;br /&gt;switch-A(config-if) # switchport mode dynamic auto&lt;br /&gt;&lt;br /&gt;switch-A # show interface trunk&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Port        Mode         Encapsulation         Status        Native vlan&lt;/span&gt;&lt;br /&gt;Fa0/1       desirable           802.1q         trunking      1&lt;br /&gt;Fa0/2       auto                802.1q         trunking      1&lt;br /&gt;&lt;br /&gt;Port        Vlans allowed on trunk&lt;br /&gt;Fa0/1       1-1005&lt;br /&gt;Fa0/2       1-1005&lt;br /&gt;Fa0/3       1-1005&lt;br /&gt;&lt;br /&gt;Port        Vlans allowed and active in management domain&lt;br /&gt;Fa0/1       1,1002,1003,1004,1005&lt;br /&gt;Fa0/2       1,1002,1003,1004,1005&lt;br /&gt;Fa0/3       1,1002,1003,1004,1005&lt;br /&gt;&lt;br /&gt;Port        Vlans in spanning tree forwarding state and not pruned&lt;br /&gt;Fa0/1       1,1002,1003,1004,1005&lt;br /&gt;Fa0/2       1,1002,1003,1004,1005&lt;br /&gt;Fa0/3       1,1002,1003,1004,1005&lt;br /&gt;&lt;br /&gt;Now you can see that when we made the state auto for 0/3 interfae on both side so no trunk link is established. The method shown above is the dynamic method.&lt;br /&gt;&lt;br /&gt;The Static method for trunk port is to shutdown the DTP packet first, lets try for the 0/3 interface. The correct sequence is as follow:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;switch-A (config) # interface fastethernet 0/3&lt;br /&gt;switch-A (config) # shutdown&lt;br /&gt;switch-A (config) # switchport nonegotiate&lt;br /&gt;switch-A (config) # switchport mode trunk&lt;br /&gt;switch-A (config) # no shutdown&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now give the command as follow to see the result&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;switch-A # show interface trunk&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Port        Mode         Encapsulation         Status        Native vlan&lt;br /&gt;Fa0/1       desirable           802.1q         trunking      1&lt;br /&gt;Fa0/2       auto                802.1q         trunking      1&lt;br /&gt;Fa0/3       on                  802.1q         trunking      1&lt;br /&gt;&lt;br /&gt;Port        Vlans allowed on trunk&lt;br /&gt;Fa0/1       1-1005&lt;br /&gt;Fa0/2       1-1005&lt;br /&gt;Fa0/3       1-1005&lt;br /&gt;&lt;br /&gt;Port        Vlans allowed and active in management domain&lt;br /&gt;Fa0/1       1,1002,1003,1004,1005&lt;br /&gt;Fa0/2       1,1002,1003,1004,1005&lt;br /&gt;Fa0/3       1,1002,1003,1004,1005&lt;br /&gt;&lt;br /&gt;Port        Vlans in spanning tree forwarding state and not pruned&lt;br /&gt;Fa0/1       1,1002,1003,1004,1005&lt;br /&gt;Fa0/2       1,1002,1003,1004,1005&lt;br /&gt;Fa0/3       1,1002,1003,1004,1005&lt;br /&gt;&lt;br /&gt;If you can see the above output so the 0/3 shows state is ON means that trunk port is configured manually.&lt;br /&gt;&lt;br /&gt;This is just a window to the trunk port configurations.&lt;br /&gt;&lt;br /&gt;Hope it will be informative for you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7099705303394747219?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7099705303394747219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7099705303394747219' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7099705303394747219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7099705303394747219'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/06/trunk-port-in-depth.html' title='Trunk Port in Depth'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/SiOcen9gy1I/AAAAAAAAAO8/Bms_pazY330/s72-c/switch.JPG' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-770196392513593623</id><published>2009-05-08T05:09:00.000-07:00</published><updated>2009-05-14T01:24:50.972-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ios upgrade'/><category scheme='http://www.blogger.com/atom/ns#' term='voice'/><category scheme='http://www.blogger.com/atom/ns#' term='xmodem'/><title type='text'>IOS Recovery</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OTefDZiV8NU/SgQhTDEZwvI/AAAAAAAAAO0/c-vCMlMcol8/s1600-h/ios.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 286px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/SgQhTDEZwvI/AAAAAAAAAO0/c-vCMlMcol8/s320/ios.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5333424469838512882" /&gt;&lt;/a&gt;&lt;br /&gt;Last night while preparing routers for CCNP rack I was upgrading Cisco 2600 routers to support security, so I download 12.4 version ios and install on a router while installing I erase the existing ios and after erasing completion the router suddenly  prompt “not enough memory”  ………….Ohhhhhhhh. I reload the router, so it gives me prompt&lt;br /&gt;Rommon &gt; &lt;br /&gt;Now no existing ios and stuck in this mode so after a short search “xmodem” command crossed my mind. Here are the steps to recover router ios.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 1: Rommon &gt;&lt;/span&gt; xmodem c2600-advsecurity9-mz.124-1a.bin&lt;br /&gt;Now you will get message “Ready to receive the file”, after that follow step # 2&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step # 2:&lt;/span&gt; On Hyper-Terminal go to “Transfer” tab and select “Send File” so you will get another window as shown in the figure # a. Select the location of the IOS and then select “xmodem” from the drop down box and select receive.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step#3:&lt;/span&gt;  After this you will get the third window as shown in the figure # b. Select the path in the sending box where the image is placed, in my case the path and the image name is as given.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Sending:                  D:\tftp ok\ c2600-advsecurity9-mz.124-1a.bin&lt;/span&gt;&lt;br /&gt;After that the receiving will be start, as shown in Figure # b.&lt;br /&gt;I am hopeful this will be informative for you.&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-770196392513593623?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/770196392513593623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=770196392513593623' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/770196392513593623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/770196392513593623'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/05/ios-recovery.html' title='IOS Recovery'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/SgQhTDEZwvI/AAAAAAAAAO0/c-vCMlMcol8/s72-c/ios.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-1585124348609769807</id><published>2009-03-30T09:03:00.000-07:00</published><updated>2009-03-30T09:07:45.983-07:00</updated><title type='text'>IPv6 Tunneling</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_OTefDZiV8NU/SdDt4DNz_tI/AAAAAAAAAOs/e3XOVe3cNJc/s1600-h/ipv6+Tunneling.bmp"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 245px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/SdDt4DNz_tI/AAAAAAAAAOs/e3XOVe3cNJc/s320/ipv6+Tunneling.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5319012707116252882" /&gt;&lt;/a&gt;&lt;br /&gt;I was practicing IPv6 in home by using Cisco 7200 series router so I think of a lab that if we have IPv6 enabled router on both side and I want to communicate them by using IPv4 cloud so what will be the procedure for it, so after studying books (Data Communication by Behrouz A. Forouzan and TCP/IP Routing by Jeff Doyle), I found that one of the method used for it is tunneling. The tunnel can be of four type’s i.e. &lt;br /&gt; Router to Router&lt;br /&gt; Host to Router&lt;br /&gt; Host to Host&lt;br /&gt; Router to Host&lt;br /&gt;My Lab is between Router to Router. A tunnel is configured between Cisco routers by creating tunnel interface in the routers that border the IPv6 and IPv4 networks. IPv6 subnets are defined on both side and IPv6 dynamic protocol is in used RIPng, BGP or OSPFv3, in our lab we used RIPng. A tunnel is configured between these two IPv6 enable routers to communicate through IPv4 cloud.&lt;br /&gt;I took just two 7200 series router and performed this lab. So here are the steps and configuration of the Lab.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_A (config) # ipv6 unicast-routing &lt;br /&gt;&lt;br /&gt;Router_A (config) # interface serial 1/0&lt;br /&gt;Router_A (config) # ip address 1.1.1.1&lt;br /&gt;Router_A (config) # no shutdown&lt;br /&gt;Router_A (config) # keepalive&lt;br /&gt;Router_A (config) # clock rate 64000&lt;br /&gt;&lt;br /&gt;Router_A (config) # interface FastEthernet 0/0&lt;br /&gt;Router_A (config) # ipv6 enable&lt;br /&gt;Router_A (config) # ipv6 address 2001:0:0:1:: 1/64&lt;br /&gt;Router_A (config) # ipv6 rip 1 enable &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now to define Tunnel Interface on Router_A&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_A (config) # interface Tunnel 0&lt;br /&gt;Router_A (config) # ipv6 address 2001:0:0:5:: 1/64&lt;br /&gt;Router_A (config) # tunnel source serial 1/0&lt;br /&gt;Router_A (config) # tunnel destination 1.1.1.2&lt;br /&gt;Router_A (config) # tunnel mode ipv6ip&lt;br /&gt;Router_A (config) # ipv6 rip 1 enable&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now the configurations on the other side are as under&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_B (config) # ipv6 unicast-routing &lt;br /&gt;&lt;br /&gt;Router_B (config) # interface serial 1/0&lt;br /&gt;Router_B (config) # ip address 1.1.1.2&lt;br /&gt;Router_B (config) # no shutdown&lt;br /&gt;Router_B (config) # keepalive&lt;br /&gt;&lt;br /&gt;Router_B (config) # interface FastEthernet 0/0&lt;br /&gt;Router_B (config) # ipv6 enable&lt;br /&gt;Router_B (config) # ipv6 address 2001:0:0:3:: 1/64&lt;br /&gt;Router_B (config) # ipv6 rip 1 enable &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now to define Tunnel Interface on Router_B&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_B (config) # interface Tunnel 0&lt;br /&gt;Router_B (config) # ipv6 address 2001:0:0:5:: 2/64&lt;br /&gt;Router_B (config) # tunnel source serial 1/0&lt;br /&gt;Router_B (config) # tunnel destination 1.1.1.1&lt;br /&gt;Router_B (config) # tunnel mode ipv6ip&lt;br /&gt;Router_B (config) # ipv6 rip 1 enable&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now to check the communication that whether the two router are communicating with each other using IPv4 cloud or not, we can check this by Ping or Traceroute&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_A# Ping ipv6 2001:0:0:3:: 1&lt;/strong&gt;&lt;br /&gt;OUTPUT:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Types escape sequence to abort.&lt;br /&gt;Sending 5, 100-byte ICMP echos to 2001:0:0:3:: 1,      timeout in 2 seconds:&lt;br /&gt;!!!!!&lt;br /&gt;Success rate is 100 percent &lt;5/5&gt;,     round-trip min/avg/max = 12/58/188 ms&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Router_A# Traceroute &lt;/strong&gt;&lt;br /&gt;OUTPUT:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Types escape sequence to abort.&lt;br /&gt;&lt;br /&gt;Tracing the route to 2001:0:0:3:: 1&lt;br /&gt;&lt;br /&gt;1 2001:0:0:3:: 1   56  msec  48   msec  72   msec  &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The detail output can also be seen from the figure attached.&lt;br /&gt;&lt;br /&gt;Hope it will be informative for you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-1585124348609769807?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/1585124348609769807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=1585124348609769807' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1585124348609769807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1585124348609769807'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/03/ipv6-tunneling.html' title='IPv6 Tunneling'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OTefDZiV8NU/SdDt4DNz_tI/AAAAAAAAAOs/e3XOVe3cNJc/s72-c/ipv6+Tunneling.bmp' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-640251620764083473</id><published>2009-03-02T08:18:00.001-08:00</published><updated>2009-03-02T08:46:17.113-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PC'/><category scheme='http://www.blogger.com/atom/ns#' term='Switch'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco Router'/><title type='text'>Configuring Cisco Router as a DHCP Server</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/SawL-R1lUgI/AAAAAAAAAOk/RbRD6TeJ61g/s1600-h/DHCP.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 230px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/SawL-R1lUgI/AAAAAAAAAOk/RbRD6TeJ61g/s320/DHCP.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5308631225330913794" /&gt;&lt;/a&gt;&lt;br /&gt;Thank GOD, atlast i have done it.....lolz. I was trying from last couple of days to configure cisco router as a DHCP server but there were some problems but anyway today i have done with that. Here is the step wise configuration of the Lab, may be it will help someone. so here we go!&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; connect the devices as shown in the figure&lt;br /&gt;&lt;br /&gt;The configuration on cisco router to be DHCP server as follow:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;SERVER(config)# interface fasethernet 0/0&lt;br /&gt;SERVER(config-if)# ip address 192.168.1.1 255.255.255.0&lt;br /&gt;SERVER(config-if)# no shutdown&lt;br /&gt;SERVER(config-if)# exit&lt;br /&gt;&lt;br /&gt;SERVER(config)# ip dhcp excluded-address 192.168.1.1 192.168.1.99&lt;br /&gt;SERVER(config)# ip dhcp pool mypool&lt;br /&gt;SERVER(config)# network 192.168.1.0 255.255.255.0 &lt;br /&gt;SERVER(config)# default-router 192.168.1.1&lt;br /&gt;SERVER(config)# dns-server 192.168.1.1&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now the configuration on the client side is just simple&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;CLIENT_1(config)# do show ip interface brief&lt;br /&gt;CLIENT_1(config)#interface fastethernet 0/0&lt;br /&gt;CLIENT_1(config-if)# ip address dhcp&lt;br /&gt;CLIENT_1(config-if)# no shutdown&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Now wait for the log message on console, if not seen don't worry after a while CLIENT_1 should obtained ip from DHCP Server.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CLIENT_1# show ip interface brief&lt;br /&gt;CLIENT_1# ping 192.168.1.1&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;You can check the DHCP bindings by a command&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;CLIENT_1# show ip dhcp bindings&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The output of my lab for this bindings command is as follow:&lt;br /&gt;&lt;strong&gt;IP address       Client-ID/              Lease expiration        Type&lt;br /&gt;                 Hardware address&lt;br /&gt;192.168.1.100    0001.4303.C501           --                     Automatic&lt;br /&gt;192.168.1.101    0004.9A66.B101           --                     Automatic&lt;br /&gt;192.168.1.102    000A.41D2.1543           --                     Automatic&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The same commands are on CLIENT_2 as we did on CLIENT_1. For pc just check the option (ip configuration......DHCP).&lt;br /&gt;&lt;br /&gt;Enjoy it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-640251620764083473?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/640251620764083473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=640251620764083473' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/640251620764083473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/640251620764083473'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/03/configuring-cisco-router-as-dhcp-server.html' title='Configuring Cisco Router as a DHCP Server'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/SawL-R1lUgI/AAAAAAAAAOk/RbRD6TeJ61g/s72-c/DHCP.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-4425955219115674226</id><published>2009-03-01T09:27:00.000-08:00</published><updated>2009-03-01T09:49:49.871-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SDM'/><category scheme='http://www.blogger.com/atom/ns#' term='Cisco Router'/><title type='text'>Configuring Router to run SDM</title><content type='html'>Cisco Router and Security Device Manager (SDM) is an graphical, Web-based device management tool supported on Cisco 830 series through Cisco 7301 routers. SDM provides smart wizards and advanced configuration support for LAN and WAN configurations, NAT, Firewall Policy, Intrusion Prevention (IPS), IPSec virtual private network (VPN), Easy VPN Client and Server configurations, Digital Certificates, and Quality of Service (QoS) Policy features. &lt;br /&gt;&lt;br /&gt;You can download SDM free of cost from Cisco site.&lt;br /&gt;                     &lt;span style="font-weight:bold;"&gt;    www.cisco.com/go/sdm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Follow the steps below to configure a router to run SDM.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1:&lt;/span&gt; &lt;br /&gt;Connect to your router using Telnet, SSH or via console. &lt;br /&gt;Enter the global configuration mode using the command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router&gt;enable&lt;br /&gt; &lt;br /&gt;Router#conf terminal&lt;br /&gt;&lt;br /&gt;Router(config)#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2 :&lt;/span&gt;&lt;br /&gt;Enable the router's HTTP/HTTPS server, using the following Cisco IOS commands:  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router(config)# ip http server&lt;br /&gt;&lt;br /&gt;Router(config)# ip http secure-server &lt;br /&gt;&lt;br /&gt;Router(config)# ip http authentication local&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:-&lt;/span&gt; HTTPS is enabled only for crypto enabled IOS images. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Step 3:&lt;/span&gt;&lt;br /&gt;Create a user with privilege level 15. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router(config)# username cisco privilege 15 password 0 cisco&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:-&lt;/span&gt; Replace cisco and cisco with the username and password that you want to configure. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Step 4:&lt;/span&gt;&lt;br /&gt;Configure SSH and Telnet for local login and privilege level 15: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router(config)# line vty 0 4&lt;br /&gt;&lt;br /&gt;Router(config-line)# privilege level 15&lt;br /&gt;&lt;br /&gt;Router(config-line)# login local&lt;br /&gt;&lt;br /&gt;Router(config-line)# transport input telnet&lt;br /&gt;&lt;br /&gt;Router(config-line)# transport input telnet ssh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router(config-line)# exit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Step 5:&lt;/span&gt; (Optional) Enable local logging to support the log monitoring function:  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router(config)# logging buffered 51200 warning&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-4425955219115674226?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/4425955219115674226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=4425955219115674226' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4425955219115674226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4425955219115674226'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/03/configuring-router-to-run-sdm.html' title='Configuring Router to run SDM'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-4043251595811901178</id><published>2009-02-11T10:22:00.000-08:00</published><updated>2009-02-11T10:28:14.914-08:00</updated><title type='text'>How to take backup of Registry</title><content type='html'>That day a student put question on orkut wants to know about the method used to take backup of registry, so here we go, Follow these steps to get backup of registry.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Backup:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Select Start&lt;br /&gt;2. Run&lt;br /&gt;3. regedit and press ok&lt;br /&gt;4. File then Export&lt;br /&gt;5. Name the File and save where you want&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Restore Backup:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Select Start&lt;br /&gt;2. Run&lt;br /&gt;3. regedit and Enter&lt;br /&gt;4. File then Import&lt;br /&gt;5. Select the backup file that you saved at backup time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-4043251595811901178?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/4043251595811901178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=4043251595811901178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4043251595811901178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4043251595811901178'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/02/how-to-take-backup-of-registry.html' title='How to take backup of Registry'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-1135588815831621388</id><published>2009-02-04T07:36:00.000-08:00</published><updated>2009-02-04T07:43:57.191-08:00</updated><title type='text'>Router Password Recovery</title><content type='html'>1. Turn off the power and again on to start the device.&lt;br /&gt;&lt;br /&gt;2. Now bring device into ROM monitor mode. It can be done by using BREAK key or sequence might be CTRL-BREAK or CTRL-D or another combination, it varies by system to system.&lt;br /&gt;&lt;br /&gt;3. At the &gt; prompt, type o (it’s not zero) to record the current value of configuration register (or it can be 0x2102 or 0x102).&lt;br /&gt;            &lt;span style="font-weight:bold;"&gt; &gt; o &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4. Type o/r 0x2142 to tell the router to boot from Flash without loading configuration in NVRAM (Startup-Configuration) at the next reload.&lt;br /&gt;&lt;br /&gt;5. Type i to have the router reboot, the router ignores the configuration in NVRAM. &lt;br /&gt;&lt;br /&gt;6. Now the router run the setup dialog, type no or press Ctrl-C to skip the initial setup dialog.&lt;br /&gt;&lt;br /&gt;7. Type enable at the line mode to enter into the privilege mode&lt;br /&gt;&lt;br /&gt;                                 &lt;span style="font-weight:bold;"&gt;Router &gt; enable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;8. Copy the startup-configuration to running-configuration by using command&lt;br /&gt;&lt;br /&gt;             &lt;span style="font-weight:bold;"&gt;Router# copy startup-configuration running-configuration &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Note: Do not type configure terminal, if you did so you over write the configuration stored in NVRAM.&lt;br /&gt;&lt;br /&gt;9. View the configuration by giving command given below.&lt;br /&gt;&lt;br /&gt;  &lt;span style="font-weight:bold;"&gt;Router# show running-configuration&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;View the configuration, Line password, vty and Enable Password while an encrypted password need to be changed.&lt;br /&gt;&lt;br /&gt;10. Enter Configuration mode and change the enable, line and vty password.&lt;br /&gt;&lt;br /&gt;               &lt;span style="font-weight:bold;"&gt; Router# configure terminal&lt;br /&gt;                Router (config) # &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;11. No shutdown all the interfaces that you are using.&lt;br /&gt;&lt;br /&gt;12. Type config-register 0x2102 to return router to normal operation at next reload.&lt;br /&gt;&lt;br /&gt;13. Exit configuration by Ctrl-Z&lt;br /&gt;&lt;br /&gt;            &lt;span style="font-weight:bold;"&gt;Router (config) # press Ctrl-Z&lt;br /&gt;            Router # &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;14. Save your changes by command given below.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router# copy running-configuration startup-configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;15. Reload the router to verify the password.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-1135588815831621388?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/1135588815831621388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=1135588815831621388' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1135588815831621388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1135588815831621388'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/02/router-password-recovery.html' title='Router Password Recovery'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-4273432030724920634</id><published>2009-02-03T11:03:00.000-08:00</published><updated>2009-02-03T11:04:15.092-08:00</updated><title type='text'>wildcard Mask</title><content type='html'>Wildcard mask is very different from subnet mask.&lt;br /&gt;&lt;br /&gt;The values for subnet mask can be 128,192,224,240,248,252,254 and 255.&lt;br /&gt;&lt;br /&gt;On the other hand, wild card mask values are: 127,63,31,15,7,3,1 and 0.&lt;br /&gt;&lt;br /&gt;The tip out here is that simply subtract subnet mask value from 255.&lt;br /&gt;&lt;br /&gt;In ACLS and OSPF network statements, we use wild card mask, 127 will be: 011111111 which means match the first bit and ignore the other 7.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-4273432030724920634?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/4273432030724920634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=4273432030724920634' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4273432030724920634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/4273432030724920634'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/02/wildcard-mask.html' title='wildcard Mask'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3243226607072834817</id><published>2009-02-02T08:50:00.000-08:00</published><updated>2009-02-02T10:00:14.785-08:00</updated><title type='text'>Cisco Catalyst Switch Password Recovery</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OTefDZiV8NU/SYc0VzAbhiI/AAAAAAAAAN0/XSMR095Hhvs/s1600-h/bb.bmp"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 269px; height: 320px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/SYc0VzAbhiI/AAAAAAAAAN0/XSMR095Hhvs/s320/bb.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5298261035698587170" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Introduction&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Password recovery procedure for the Cisco Catalyst 2900XL, 3500XL, 2950, and 3550 series switches.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step-by-Step Procedure&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. Attach a terminal or PC with terminal emulation (for example, Hyper Terminal) to the console port of the switch. Use the following terminal settings:&lt;br /&gt;Bits per second (baud): 9600&lt;br /&gt;Data bits: 8&lt;br /&gt;Parity: None&lt;br /&gt;Stop bits: 1&lt;br /&gt;Flow Control: Xon/Xoff&lt;br /&gt;&lt;br /&gt;2. Unplug the power cable.&lt;br /&gt;&lt;br /&gt;3. Hold down the mode button located on the left side of the front panel, while reconnecting the power cable to the switch.&lt;br /&gt;&lt;br /&gt;For 2900/3500XL and 3550 Series switches: release the mode button after the LED above Port 1x goes out.&lt;br /&gt;Note: LED position may vary slightly depending on the model.&lt;br /&gt;Catalyst 3524XL See Figure No: 1&lt;br /&gt;&lt;br /&gt;For 2950 Series switches: release the mode button after the STAT LED goes out.&lt;br /&gt;Note: LED position may vary slightly depending on the model.&lt;br /&gt;Catalyst 2950-24 See Figure No: 2&lt;br /&gt;&lt;br /&gt;The following instructions appear:&lt;br /&gt;The system has been interrupted prior to initializing the&lt;br /&gt;flash filesystem.  The following commands will initialize&lt;br /&gt;the flash filesystem, and finish loading the operating&lt;br /&gt;system software:&lt;br /&gt;    flash_init&lt;br /&gt;    load_helper&lt;br /&gt;    boot&lt;br /&gt;switch(config)#&lt;br /&gt;&lt;br /&gt;!--- This output is from a 3500XL switch. Output from a 2900XL, 2950 or 3550 will vary slightly.&lt;br /&gt;&lt;br /&gt;•  Issue the flash_init command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch# flash_init&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Initializing Flash...&lt;br /&gt;flashfs[0]: 143 files, 4 directories&lt;br /&gt;flashfs[0]: 0 orphaned files, 0 orphaned directories&lt;br /&gt;flashfs[0]: Total bytes: 3612672&lt;br /&gt;flashfs[0]: Bytes used: 2729472&lt;br /&gt;flashfs[0]: Bytes available: 883200&lt;br /&gt;flashfs[0]: flashfs fsck took 86 seconds&lt;br /&gt;....done Initializing Flash.&lt;br /&gt;Boot Sector Filesystem (bs:) installed, fsid: 3&lt;br /&gt;Parameter Block Filesystem (pb:) installed, fsid: 4&lt;br /&gt;&lt;br /&gt;switch(config)#&lt;br /&gt;&lt;br /&gt;!--- This output is from a 2900XL switch. Output from a 3500XL, 3550 or 2950 will vary slightly.&lt;br /&gt;&lt;br /&gt;•  Issue the load_helper command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch# load_helper&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;•  Issue the dir flash: command.&lt;br /&gt;&lt;br /&gt;!--- Make sure to type a colon ":" after the dir flash. &lt;br /&gt;&lt;br /&gt;The switch file system is displayed:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch# dir flash:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Directory of flash:/&lt;br /&gt;2    -rwx  1803357   &lt;date&gt;               c3500xl-c3h2s-mz.120-5.WC7.bin&lt;br /&gt;&lt;br /&gt;!--- This is the current version of software.&lt;br /&gt;&lt;br /&gt;4    -rwx  1131      &lt;date&gt;               config.text&lt;br /&gt;&lt;br /&gt;!--- This is the configuration file.&lt;br /&gt;&lt;br /&gt;5    -rwx  109       &lt;date&gt;               info&lt;br /&gt;6    -rwx  389       &lt;date&gt;               env_vars&lt;br /&gt;7    drwx  640       &lt;date&gt;               html&lt;br /&gt;18   -rwx  109       &lt;date&gt;               info.ver&lt;br /&gt;403968 bytes available (3208704 bytes used)&lt;br /&gt;switch:&lt;br /&gt;&lt;br /&gt;!--- This output is from a 3500XL switch. Output from a 2900XL, 2950 or 3550 will vary slightly.&lt;br /&gt;&lt;br /&gt;•  Type rename flash:config.text flash:config.old to rename the configuration file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch#  rename flash:config.text flash:config.old&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;switch#&lt;br /&gt;&lt;br /&gt;!--- The &lt;span style="font-weight:bold;"&gt;config.text&lt;/span&gt; file contains the password definition.&lt;br /&gt;&lt;br /&gt;•  Issue the boot command to boot the system.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch# boot&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Loading "flash:c3500xl-c3h2s-mz.120-5.WC7.bin"...#####################&lt;br /&gt;######################################################################&lt;br /&gt;######################################################################&lt;br /&gt;File "flash:c3500xl-c3h2s-mz.120-5.WC7.bin" uncompressed and installed, entry po&lt;br /&gt;int: 0x3000&lt;br /&gt;executing...&lt;br /&gt;&lt;br /&gt;!--- Output truncated.&lt;br /&gt;!--- This output is from a 3500XL switch. Output from a 2900XL, 2950 or 3550 will vary slightly.&lt;br /&gt;&lt;br /&gt;•  Enter "n" at the prompt to start the Setup program.&lt;br /&gt;--- System Configuration Dialog ---&lt;br /&gt;At any point you may enter a question mark '?' for help.&lt;br /&gt;Use ctrl-c to abort configuration dialog at any prompt.&lt;br /&gt;Default settings are in square brackets '[]'.&lt;br /&gt;Continue with configuration dialog? [yes/no]: n &lt;br /&gt;&lt;br /&gt;!--- Type "n" for no.&lt;br /&gt;&lt;br /&gt;Press RETURN to get started.&lt;br /&gt;&lt;br /&gt;!--- press Return or Enter.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;!--- The Switch&gt; prompt is displayed.&lt;br /&gt;&lt;br /&gt;•  At the switch prompt type en to enter enable mode.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch&gt;enable&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;Switch#&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;•  Type rename flash:config.old flash:config.text to rename the configuration file with its original name.&lt;br /&gt;Switch# rename flash:config.old flash:config.text&lt;br /&gt;Destination filename [config.text] &lt;br /&gt;&lt;br /&gt;!--- Press Return or Enter.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch#&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;•  Copy the configuration file into memory:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch# copy flash:config.text system:running-config&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Destination filename [running-config]? &lt;br /&gt;&lt;br /&gt;!--- Press Return or Enter.&lt;br /&gt;&lt;br /&gt;1131 bytes copied in 0.760 secs&lt;br /&gt;Switch#&lt;br /&gt;The configuration file is now reloaded.&lt;br /&gt;•  Change the password:&lt;br /&gt;Switch# configure terminal&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch(config)# no enable secret &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;!--- This step is necessary if the switch had an enable secret password.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch(config)# enable password Cisco&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Switch#(config)#^Z &lt;br /&gt;&lt;br /&gt;!--- Control/Z.&lt;br /&gt;&lt;br /&gt;•  Write the running configuration to the configuration file with the write memory command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Switch# write memory&lt;/span&gt;&lt;br /&gt;Building configuration...&lt;br /&gt;[OK]&lt;br /&gt;Switch#&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3243226607072834817?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3243226607072834817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3243226607072834817' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3243226607072834817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3243226607072834817'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/02/cisco-catalyst-switch-password-recovery.html' title='Cisco Catalyst Switch Password Recovery'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/SYc0VzAbhiI/AAAAAAAAAN0/XSMR095Hhvs/s72-c/bb.bmp' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-2947352280501448707</id><published>2009-01-30T10:37:00.000-08:00</published><updated>2009-01-30T11:11:55.139-08:00</updated><title type='text'>Erase IOS from Router</title><content type='html'>Last day i check my router flash with the following command and i saw two ios in my flash:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router_A(Config)# Show Flash&lt;br /&gt;Output:&lt;br /&gt;&lt;br /&gt;1     15689KB   c2600_Ios_imzc200.bin&lt;br /&gt;2     15689KB   Copy_ios_2600&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now i think of removing the second ios from my router flash memory, so when i enter the following command&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router_A(Config)# Erase Flash:Copy_ios_2600&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;so this result in error, if i just give &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router_A(Config)# Erase Flash:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;so it will erase the whole flash which i don't want, so after a short search i got my answer, so the command used for this is&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Router_A(Config)# Delete Flash:Copy_ios_2600&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-2947352280501448707?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/2947352280501448707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=2947352280501448707' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2947352280501448707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2947352280501448707'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/erase-ios-from-router.html' title='Erase IOS from Router'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-1925453510782183595</id><published>2009-01-29T08:45:00.001-08:00</published><updated>2009-01-29T08:45:31.827-08:00</updated><title type='text'>Lets Never Stop Falling in Love</title><content type='html'>Let's Never Stop Falling in Love&lt;br /&gt;&lt;br /&gt;I wish a falling star could fall forever&lt;br /&gt;And sparkle through the clouds and stormy weather&lt;br /&gt;And in the darkness of the night&lt;br /&gt;The star would shine a glimmering light&lt;br /&gt;And hover above our love&lt;br /&gt;&lt;br /&gt;Please hold me close and whisper that you love me&lt;br /&gt;And promise that your dreams are only of me&lt;br /&gt;When you are near, everything’s clear&lt;br /&gt;Earth is a beautiful heaven&lt;br /&gt;Always I hope that we follow the star&lt;br /&gt;And be forever floating above&lt;br /&gt;&lt;br /&gt;I know a falling star can’t fall forever&lt;br /&gt;But let’s never stop falling in love&lt;br /&gt;&lt;br /&gt;When you are near, everything’s clear&lt;br /&gt;Earth is a beautiful heaven&lt;br /&gt;Always I hope that we shine like the star&lt;br /&gt;And be forever floating above&lt;br /&gt;&lt;br /&gt;I know a falling star can’t fall forever&lt;br /&gt;And let’s never stop falling in love&lt;br /&gt;No let’s never stop falling in love&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-1925453510782183595?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/1925453510782183595/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=1925453510782183595' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1925453510782183595'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1925453510782183595'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/lets-never-stop-falling-in-love.html' title='Lets Never Stop Falling in Love'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-5960425503911230995</id><published>2009-01-29T08:44:00.001-08:00</published><updated>2009-01-29T08:47:08.907-08:00</updated><title type='text'>LiStEn....</title><content type='html'>LISTEN&lt;br /&gt;&lt;br /&gt;Have you ever just listened?&lt;br /&gt;To the rain falling.&lt;br /&gt;To the bees buzzing.&lt;br /&gt;To the raidiators humming.&lt;br /&gt;Just listen one time.&lt;br /&gt;You'll be amazed at what you hear.&lt;br /&gt;Your heart beating.&lt;br /&gt;Your lungs breathing.&lt;br /&gt;Listen to yourself.&lt;br /&gt;And always stay true.&lt;br /&gt;Listen to what your heart wants.&lt;br /&gt;Then to what your head knows.&lt;br /&gt;Listen to yourself.&lt;br /&gt;And always stay true.&lt;br /&gt;&lt;br /&gt;Something I am trying to do now-a-days. Something that if we do not do when needed life long regrets come into being. Something that's a blessing if we ponder. Something that is Hikkma. Something that is everything..&lt;br /&gt;Something called "Listening"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-5960425503911230995?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/5960425503911230995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=5960425503911230995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5960425503911230995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/5960425503911230995'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/listen.html' title='LiStEn....'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-8910690479680333831</id><published>2009-01-26T10:53:00.000-08:00</published><updated>2009-01-26T10:54:44.059-08:00</updated><title type='text'>poetry...</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/SX4GtiaqQCI/AAAAAAAAANs/vs7w6AYUg0o/s1600-h/poetry.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 270px; height: 320px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/SX4GtiaqQCI/AAAAAAAAANs/vs7w6AYUg0o/s320/poetry.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5295677591236788258" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-8910690479680333831?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/8910690479680333831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=8910690479680333831' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8910690479680333831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/8910690479680333831'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/poetry.html' title='poetry...'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/SX4GtiaqQCI/AAAAAAAAANs/vs7w6AYUg0o/s72-c/poetry.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3151551599060324247</id><published>2009-01-26T06:48:00.000-08:00</published><updated>2009-01-26T06:49:00.394-08:00</updated><title type='text'>ABC......</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_OTefDZiV8NU/SX3NUVCz4RI/AAAAAAAAANk/UTkmGTWKpTg/s1600-h/image003.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/SX3NUVCz4RI/AAAAAAAAANk/UTkmGTWKpTg/s320/image003.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5295614485987582226" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3151551599060324247?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3151551599060324247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3151551599060324247' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3151551599060324247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3151551599060324247'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/abc.html' title='ABC......'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/SX3NUVCz4RI/AAAAAAAAANk/UTkmGTWKpTg/s72-c/image003.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-7492596191462282199</id><published>2009-01-23T10:25:00.000-08:00</published><updated>2009-01-23T10:27:31.723-08:00</updated><title type='text'>Patch Pannel</title><content type='html'>&lt;a href="http://1.bp.blogspot.com/_OTefDZiV8NU/SXoL-xw991I/AAAAAAAAANc/et5Yy-53MBc/s1600-h/Image008.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 240px; height: 320px;" src="http://1.bp.blogspot.com/_OTefDZiV8NU/SXoL-xw991I/AAAAAAAAANc/et5Yy-53MBc/s320/Image008.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5294557485065959250" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-7492596191462282199?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/7492596191462282199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=7492596191462282199' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7492596191462282199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/7492596191462282199'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/patch-pannel.html' title='Patch Pannel'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OTefDZiV8NU/SXoL-xw991I/AAAAAAAAANc/et5Yy-53MBc/s72-c/Image008.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3752216400876911990</id><published>2009-01-23T10:16:00.001-08:00</published><updated>2009-08-03T03:40:05.479-07:00</updated><title type='text'>.htaccess Based Authentication On Subdirectories</title><content type='html'>.htaccess files provides a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.&lt;br /&gt;&lt;br /&gt;Note: we can call our .htaccess file something else, we can change the name of the file using the AccessFileName directive. For example, if you would rather call the file .config then you can put the following in your server configuration file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ vi /etc/httpd/conf/httpd.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the file find out AccessFileName it will be .htaccess by default as show below so change it to any name that you want.&lt;br /&gt;&lt;br /&gt;    AccessFileName .htaccess&lt;br /&gt;&lt;br /&gt;What you can put in these files is determined by the AllowOverride directive. This directive specifies, in categories, what directives will be honored if they are found in a .htaccess file. If a directive is permitted in a .htaccess file, the documentation for that directive will contain an Override section, specifying what value must be in AllowOverride in order for that directive to be permitted.&lt;br /&gt;&lt;br /&gt;Here I assume that your DocumentRoot directory is /var/www/html but if you have VirtualHost configuration or even Apache is configured on some other root directory then you can adjust this according to your situation.&lt;br /&gt;&lt;br /&gt;Note: I took three dummy directores test-dir1, test-dir2 and nsit.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1  Creating Directory:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ cd  /var/www/html&lt;br /&gt;&lt;br /&gt;$ mkdir  test-dir1&lt;br /&gt;&lt;br /&gt;$ mkdir test-dir2&lt;br /&gt;&lt;br /&gt;$ mkdir nsit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2  Test HTML File Creation:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Creating html file in first directory. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ cd  /var/www/html/test-dir1&lt;br /&gt;&lt;br /&gt;$ cat &gt; index.htm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I am unable to write the source code here as it not accepted so just make a test page with a single line "Test Page". &lt;br /&gt;&lt;br /&gt;Creating html file in second directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ cd /var/ www/html/test-dir2&lt;br /&gt;&lt;br /&gt;$ cat  &gt; index.htm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I am unable to write the source code here as it not accepted so just make a test page with a single line "Test Page". &lt;br /&gt;&lt;br /&gt;Creating html file in third directory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ cd  /var/www/html/nsit&lt;br /&gt;&lt;br /&gt;$ cat &gt; index.htm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I am unable to write the source code here as it not accepted so just make a test page with a single line "Test Page". &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3  Browsing Test Pages:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you can browse and test, whether the pages are available or not, by opening any web browser and access either through local host or through IP address, i will go for both and to access through IP we have to make a little change in the httpd.conf file and then we can access through IP, given is the line we include int the file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ServerAdmin&lt;/span&gt; root@10.110.1.9&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;http://localhost/test-dir1/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This will display the first directory test page, and&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://localhost/test-dir2/ &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;will display the second test page in test-dir2.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://localhost/test-dir2/ &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;will display the third test page in nsit.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;OR&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://10.110.1.9/nsit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;it should display the nsit page.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://10.110.1.9/test-dir1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;it should display the nsit page.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://10.110.1.9/test-dir2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;it should display the nsit page.&lt;br /&gt;&lt;br /&gt;If you are able to see all three pages, it means that we are almost done with the work.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4  .htaccess File Creation: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ cd  /var/www/html/test-dir1&lt;br /&gt;&lt;br /&gt;$ vi  .htaccess&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Write the following lines into this file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;AuthName "Authorized Users Only."&lt;br /&gt;&lt;br /&gt;AuthType Basic&lt;br /&gt;&lt;br /&gt;AuthUserFile /etc/httpd/conf/.htpasswd&lt;br /&gt;&lt;br /&gt;require user testusr&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now I will explain, what magic lines we have written in this file:&lt;br /&gt;&lt;br /&gt;AuthName parameter just defines the title of the password entry box when the user logs in, while the AuthType tells the server what sort of processing is in use, and Basic is the most common and perfectly adequate for almost any purpose.  AuthUserFile  is used to define the .htpasswd file location, this files contains the  password of the user who is going to be authenticate  in .htaccess file. require user is used to identify the trusted user, if there are more than one trusted user, then you can specify their names in a space saparated list.&lt;br /&gt;&lt;br /&gt;Now to make test-dir2 protected by .htaccess, we need to copy it from test-dir1 to test-dir2 and nsit  with the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ cp /var/www/html/test-dir1/.htaccess   /var/www/html/test-dir2/&lt;br /&gt;&lt;br /&gt;$ cp /var/www/html/test-dir1/.htaccess   /var/www/html/nsit/ &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5 User Creation:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here we will create a test user to check our .htaccess &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ adduser   sohail&lt;br /&gt;&lt;br /&gt;$ passwd   sohail&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;6 Telling Apache About Users:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we have to inform Apache about the user and its password, but before going into this step there is a social duty on me i.e. to explain both RPM and source Apache installation difference. :) If you have installed Apache from RPM then it will install all related commands in your /usr/local/bin, so no problems, you can give htpasswd command anywhere in your system, but if you have installed Apache from source then you have to find the Apache bin directory to execute the htpasswd command. In this HowTo I will give both ways, here it is:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ htpasswd  -c /etc/httpd/conf/.htpasswd  sohail&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The above command will work if you have htpasswd in your /usr/local/bin and it happens if you install Apache from RPM. /etc/httpd/conf/.htpasswd is the location of file that will contain the authenticated/trusted user password.&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ cd /apache/bin/&lt;br /&gt;&lt;br /&gt;$ ./htpasswd -c /etc/httpd/conf/.htpasswd   sohail&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The above commands correct if you have installed Apache from the sources, $ cd /apache/bin can be adjusted according to your system, as maybe you have installed it somewhere else.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;7 .htpasswd File Permission:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We need to set the file permission of the .htpasswd file and make the apache user the owner of this file. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;$ chown apache.apache  /etc/httpd/conf/.htpasswd &lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;8  Editing httpd.conf:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now we have to edit the httpd.conf, as Apache needs to be informed about .htaccess, here we will change AllowOverride All | none to Authconfig, now there are two cases, one if you are hosting just one site and other if you are having VirtualHost, here is the First Case:&lt;br /&gt;&lt;br /&gt;In this case you, we have only one Directory tag in httpd.conf file as we are hosting just one site, so we will edit the &lt;Directory&gt; tag for /var/www/html.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Directory "/var/www/html"&lt;br /&gt;  AllowOverride AuthConfig&lt;br /&gt;  Order allow,deny&lt;br /&gt;  Allow from all&lt;br /&gt;/Directory&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now for second case, when we have several sites hosted, i.e. VirtualHost:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;VirtualHost www.cbtcandy.org&lt;br /&gt;  DocumentRoot /var/www/html/cbtcandy&lt;br /&gt;  ServerName www.google.com&lt;br /&gt;  Directory /var/www/html/google&lt;br /&gt;&lt;br /&gt;    AllowOverride AuthConfig&lt;br /&gt;    Order allow,deny&lt;br /&gt;    Allow from all&lt;br /&gt;    Options -Indexes&lt;br /&gt;  /Directory&lt;br /&gt;/VirtualHost&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;NOTE:&lt;/span&gt;I am not using less than and greater than sign (&lt;, &gt;) with the code above as not here html code is not accepted, so pardon for that.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;9  Restarting Apache:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you have to restart the Apache server to reload the configuration.&lt;br /&gt;&lt;br /&gt;For RPM based system: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ service httpd restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For source based system, adjust your Apache's bin directory path.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ /apache/bin/apachectl restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;10  Testing:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now everything is ready to be tested, again open your favourite browser and try to open the following links:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://localhost/test-dir1/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://localhost/test-dir2/ &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://localhost/nsit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://10.110.1.9/test-dir1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://10.110.1.9/test-dir2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;http://10.110.1.9/nsit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note:&lt;/span&gt; When you browse these linksyou will be asked for the username and password, once you provide them it will take you to the test page. But once you log in to one directory it will not require the username and password for the other test directory, as Apache will not ask for the username and password again and again for directories equal in level or subdirectories. So once you are authenticated the child and parallel directories are open to use. But if you still want to check them then use links text based browser, that is what I do for checking them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3752216400876911990?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3752216400876911990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3752216400876911990' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3752216400876911990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3752216400876911990'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/nice.html' title='.htaccess Based Authentication On Subdirectories'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-6636252552790555161</id><published>2009-01-22T11:55:00.001-08:00</published><updated>2009-01-22T11:55:51.557-08:00</updated><title type='text'>CCIE Rack</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_OTefDZiV8NU/SXjPPzN4mdI/AAAAAAAAANU/ChhRiaU1EVU/s1600-h/ccierack.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 174px; height: 320px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/SXjPPzN4mdI/AAAAAAAAANU/ChhRiaU1EVU/s320/ccierack.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5294209232327449042" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-6636252552790555161?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/6636252552790555161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=6636252552790555161' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6636252552790555161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/6636252552790555161'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/ccie-rack.html' title='CCIE Rack'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OTefDZiV8NU/SXjPPzN4mdI/AAAAAAAAANU/ChhRiaU1EVU/s72-c/ccierack.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-2129921248253507005</id><published>2009-01-22T09:42:00.000-08:00</published><updated>2009-01-22T09:44:02.617-08:00</updated><title type='text'>Server Room</title><content type='html'>&lt;a href="http://3.bp.blogspot.com/_OTefDZiV8NU/SXiwVmFWqlI/AAAAAAAAANM/VMpz_E2ZHdQ/s1600-h/racks-applic-rgb72.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 300px; height: 300px;" src="http://3.bp.blogspot.com/_OTefDZiV8NU/SXiwVmFWqlI/AAAAAAAAANM/VMpz_E2ZHdQ/s320/racks-applic-rgb72.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5294175247020763730" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-2129921248253507005?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/2129921248253507005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=2129921248253507005' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2129921248253507005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2129921248253507005'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/server-room.html' title='Server Room'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_OTefDZiV8NU/SXiwVmFWqlI/AAAAAAAAANM/VMpz_E2ZHdQ/s72-c/racks-applic-rgb72.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-1900870649382571256</id><published>2009-01-22T09:40:00.000-08:00</published><updated>2009-01-22T09:42:04.381-08:00</updated><title type='text'>ComPlEtE RaCk</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_OTefDZiV8NU/SXiv4RuERzI/AAAAAAAAANE/axVYOPd3nEI/s1600-h/Router+Rack.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 238px; height: 320px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/SXiv4RuERzI/AAAAAAAAANE/axVYOPd3nEI/s320/Router+Rack.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5294174743338174258" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-1900870649382571256?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/1900870649382571256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=1900870649382571256' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1900870649382571256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1900870649382571256'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/complete-rack.html' title='ComPlEtE RaCk'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/SXiv4RuERzI/AAAAAAAAANE/axVYOPd3nEI/s72-c/Router+Rack.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-3695009690899793280</id><published>2009-01-20T19:07:00.000-08:00</published><updated>2009-01-20T19:08:34.674-08:00</updated><title type='text'>CCNA: Career Changer Chef to Tech!</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_OTefDZiV8NU/SXaRrFmPITI/AAAAAAAAAM0/-Q5ufQ2ExXg/s1600-h/Phil_Devera_240x200.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 240px; height: 200px;" src="http://4.bp.blogspot.com/_OTefDZiV8NU/SXaRrFmPITI/AAAAAAAAAM0/-Q5ufQ2ExXg/s320/Phil_Devera_240x200.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5293578581443551538" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-3695009690899793280?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/3695009690899793280/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=3695009690899793280' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3695009690899793280'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/3695009690899793280'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/ccna-career-changer-chef-to-tech.html' title='CCNA: Career Changer Chef to Tech!'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OTefDZiV8NU/SXaRrFmPITI/AAAAAAAAAM0/-Q5ufQ2ExXg/s72-c/Phil_Devera_240x200.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-1632554735314774290</id><published>2009-01-19T11:09:00.000-08:00</published><updated>2009-01-19T11:10:07.095-08:00</updated><title type='text'>Lucky Day......December 31st 2008</title><content type='html'>I was looking for a job in Peshawar, one day when I was moving to perform Juma prayer so as I turn in a street in abdara chowk Peshawar,  a man give me an advertisement in my hand that he was suppose to distribute among students and shows different course like (CCNA, Oracle, firewall,  Peach Tree etc), when I saw I was supposed to throw because all the courses like (CCNA, CCNP, PixFirewall) I have done with and I was looking for a job not to learn more courses,  but my friend (Khushdil) with me told me to give it to me so after two minutes I realize that why should I not apply to this institute (Comdex System) as a teacher of Cisco Courses I was thinking and the day ends.&lt;br /&gt;After two days I was sitting in my home and suddenly saw that advertisement on a table I took that and call the head of that institute (Mr. Arif) and said that I want to offer my services as a Cisco Teacher in your institute so he said me to bring your CV and meet me….&lt;strong&gt;now can u imagine I said I am not free &lt;/strong&gt;so can I send it tomorrow to you through e-mail. Now on the very next day my Aunty Passed Away (Very Shocking Movement for me), so I spend almost three days there, on the fourth day I send my CV to him. Now after one day he call me to meet and I went, so the discussion was good and he said that I will offer you 40% of each student fee and when there is a class I will tell you, again I was so depressed and went home.&lt;br /&gt;The &lt;strong&gt;very Luck day&lt;/strong&gt; that was &lt;em&gt;&lt;strong&gt;December 31st, 2008 &lt;/strong&gt;&lt;/em&gt;he call me to start CCNA class at 01:00 clock and on December 31st , 2008 the lucky day for me I start my career for the first time as a Professional.  &lt;br /&gt;Now I am enjoying my professional career and have more that two classes and finished a crash course to a student and also to one of my friend.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-1632554735314774290?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/1632554735314774290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=1632554735314774290' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1632554735314774290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/1632554735314774290'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/lucky-daydecember-31st-2008.html' title='Lucky Day......December 31st 2008'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5375174056040496067.post-2137355959579218980</id><published>2009-01-19T10:35:00.000-08:00</published><updated>2009-01-19T10:46:47.966-08:00</updated><title type='text'>My Reloaded Ideal Teacher</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_OTefDZiV8NU/SXTKkAlzy7I/AAAAAAAAAMs/h-ZNPDz4k1s/s1600-h/p6010068.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 240px; height: 320px;" src="http://2.bp.blogspot.com/_OTefDZiV8NU/SXTKkAlzy7I/AAAAAAAAAMs/h-ZNPDz4k1s/s320/p6010068.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5293078182049860530" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5375174056040496067-2137355959579218980?l=sohailpk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sohailpk.blogspot.com/feeds/2137355959579218980/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5375174056040496067&amp;postID=2137355959579218980' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2137355959579218980'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5375174056040496067/posts/default/2137355959579218980'/><link rel='alternate' type='text/html' href='http://sohailpk.blogspot.com/2009/01/my-reloaded-ideal-teacher.html' title='My Reloaded Ideal Teacher'/><author><name>Sohail Akhtar</name><uri>http://www.blogger.com/profile/06325197734017420093</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/-J-C_Gx32a4g/TbfM8CsQe2I/AAAAAAAAAh4/fEbVlYpth9w/s220/IMG_1073.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OTefDZiV8NU/SXTKkAlzy7I/AAAAAAAAAMs/h-ZNPDz4k1s/s72-c/p6010068.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
