<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cisco Networking Answers &#187; Hands-on</title>
	<atom:link href="http://cisco-network.com/category/hands-on/feed/" rel="self" type="application/rss+xml" />
	<link>http://cisco-network.com</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 23:10:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Cisco Network Monitoring Common Mistakes</title>
		<link>http://cisco-network.com/hands-on/cisco-network-monitoring-common-mistakes/</link>
		<comments>http://cisco-network.com/hands-on/cisco-network-monitoring-common-mistakes/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 20:34:03 +0000</pubDate>
		<dc:creator>MustafaAksu</dc:creator>
				<category><![CDATA[Hands-on]]></category>
		<category><![CDATA[network monitoring]]></category>

		<guid isPermaLink="false">http://cisco-network.com/?p=98</guid>
		<description><![CDATA[I am going to touch on common mistakes in cisco network monitoring today. You know for sure that you need a network-monitoring tool for managing your network. There are wide varieties of tools available that range from simple to complex and free to enterprise ones. If you get one monitoring tool and install it, can [...]]]></description>
			<content:encoded><![CDATA[<p>I am going to touch on common mistakes in cisco network monitoring today. You know for sure that you need a network-monitoring tool for managing your network. There are wide varieties of tools available that range from simple to complex and free to enterprise ones.<br />
If you get one monitoring tool and install it, can you say that everything is under control? Are you going to be aware of what happened in your network? I will try to warn you about common mistakes in Cisco network monitoring. Actually, these mistakes are common for any kind of network however my experience on Cisco environment.</p>
<p><strong>1. Monitoring without documentation</strong><br />
If you are monitoring your network and don’t have the complete network documentation, then it will not be clear whether monitoring is beneficial or not. How can you be sure about reliability of your monitoring system without knowing exact number of devices, their models and their interconnections?</p>
<p><strong>2. Only network specialists should watch over network.</strong><br />
Network specialists must setup network monitoring systems, but watching over them and taking first action should not be their task. If you have network monitoring screens, then such screens should be watched over by -<br />
•	A monitoring team – if the network is big enough (e.g. a NOC)<br />
•	Help desk – if you have<br />
•	End user support team<br />
Any alert (alerts, events, mails, SMSs) should be directed to help desk or end user support team. The receiver must be able to handle it immediately. Alertness is the key here and therefore this task should not be assigned to staff who is involved in projects and moving often. Help desk staff should be intimated first and then information should move upwards based on the hierarchy, finally reaching the network admin to sort out the issue.</p>
<p><strong>3. Unhandled alerts</strong><br />
All alerts should be checked and cleared. If there is expected maintenance on some devices, then they have to be excluded from monitoring system (This is a must have for a network monitoring tool). If some alerts stay on the monitoring system for a long time, then it will cause alert blindness on the team. False alerts may also drop your confidence in the monitoring system.  </p>
<p><strong>4. Correct probe points &#038; traffic behavior</strong><br />
You have to understand your routing infrastructure very well, especially for flow monitoring. Sometimes, you can find undesirable traffic so easily, but it does not happen always. In case of a huge download, you just have to look at the right point in the backbone. In case of an antivirus update, traffic is one to many, you have to summarize collected data by source or target upon direction of traffic and in the case of many to many traffic like virus infections, you have to know or guess characteristics of undesired traffic (like tcp port). If you ignore these details, you can look at your netflow monitor and can swear that all seen traffic is necessary. </p>
<p><strong>5. No history</strong><br />
If you have your monitoring system ready, but you monitor just some nodes and think that you can monitor any necessary point if something untoward incident happens (I mean SNMP monitoring),then you are playing with the fire! When something happens, to analyze it you will have to compare this condition with the normal conditions but you will be too late for that. It won’t be possible to acquire this information anymore. Therefore, you must monitor all ports and the interfaces that have to be monitored from the first day. Your monitoring technique is correct only when it is complete.</p>
<p><strong>6. We have a huge tool &#8211; problem is over</strong><br />
This is about decision phase of network monitoring. You should define your needs well and choose fitting tool for your network. No more, no less. This decision is not just about cost. The concept will be clear with an example and a good example is Cisco Works. It is huge, capable and a brand that is trusted all over the world. However, if you don’t have a dedicated staff for this, then it is really hard to install and use it. I have come across many people who purchased Cisco in anticipation that it will be very beneficial to them, but did not make use of this powerful tool completely. It is like buying a truck and trying to park it in your car garage, which is a foolish decision!</p>
<p><strong>7. Network monitoring is not a mission critical process</strong><br />
How much loss do you incur if your network monitoring system stops working? Is it going to stop production, sales or logistics? The answer is no. So, network monitoring system is not a mission critical system. This could be true. Network itself is mission critical. Everything stops when it stops. Network problems should be fixed immediately. You have to find the problem (here you need monitoring) in minutes. Nevertheless, your monitoring system can be down because it is not a mission critical system. If this is the case, you should connect each device separately and look for errors. It is similar to a situation in which you are driving on the highway with broken gauges (fuel, temperature, speed). Good luck!</p>
<p>These are the seven common mistakes in Cisco network monitoring. You are in charge of keep them away from your network.</p>
]]></content:encoded>
			<wfw:commentRss>http://cisco-network.com/hands-on/cisco-network-monitoring-common-mistakes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WS-X6516-GBIC is PwrDown after supervisor module upgrade</title>
		<link>http://cisco-network.com/hands-on/ws-x6516-gbic-pwrdown-after-supervisor-module-upgrade/</link>
		<comments>http://cisco-network.com/hands-on/ws-x6516-gbic-pwrdown-after-supervisor-module-upgrade/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 18:46:35 +0000</pubDate>
		<dc:creator>MustafaAksu</dc:creator>
				<category><![CDATA[Hands-on]]></category>
		<category><![CDATA[catalyst 6500]]></category>
		<category><![CDATA[cisco switch]]></category>

		<guid isPermaLink="false">http://cisco-network.com/?p=89</guid>
		<description><![CDATA[Maybe I am the worst network engineer in the world or maybe I am unlucky. Recently, I made an upgrade on some of 6509 switches. I bought totally new 6509-E system including chassis, fan, power, and some new line cards. I also insert my fiber line cards that I used in old 6509 with supervisor [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://cisco-network.com/wp-content/uploads/2009/08/catalyst-6500-supervisor-720.jpg" alt="supervisor 720 is not compatible with DFC" title="supervisor 720 is not compatible with DFC" width="149" height="201" class="alignleft size-full wp-image-94" />Maybe I am the worst network engineer in the world or maybe I am unlucky.</p>
<p>Recently, I made an upgrade on some of 6509 switches. I bought totally new 6509-E system including chassis, fan, power, and some new line cards. I also insert my fiber line cards that I used in old 6509 with supervisor 2.<br />
Everything was fine until I checked modules status with “show module&#8221; command. Switch was up, new line cards were functioning, but my old WS-X6516-GBIC’s were in PwrDown state. When I checked the switch logs I found</p>
<blockquote><p>00:02:31: %C6KPWR-SP-4-UNSUPPORTED: unsupported module in slot 2, power not allowed: The image for the card is not bundled in image.</p></blockquote>
<p>What does it mean? I had a recent IOS and it does not support this card. I was not surprised because it happened to me before. I just checked the software advisor tool from Cisco and found another version.I tried it, but it did not work out.</p>
<p>A wise friend of mine told me that I should give a try to a safe harbor image. I was not aware of safe harbor program until that time. Safe harbor images are tested images. They are stable, interoperable and solid. It was my last chance before I should have to escalate this problem. </p>
<p>I found out that there are some problems between Supervisor Engine 720 and WS-X6516-GBIC, but the problem were only valid for 5.0 to 5.3 Hw versions and I had 5.7. It should not be my problem but text mentioned about DFC Sub-modules.  I focused on DFC daughter card then. Everything become clear when I found “<a href="http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/hardware/Config_Notes/78_11627.html">Catalyst 6500 Series DFC, DFC3A, DFC3B, and DFC3BXL Installation Note</a>” document. I saw a note mentioned below</p>
<blockquote><p>Note  You cannot have a DFC in a system with a Supervisor Engine 720 </p></blockquote>
<p>I removed one DFC (WS-F6K-DFC) from one of the WS-X6516-GBIC and finally it started to work. I also changed the IOS images to safe harbor ones. I spent days to solve this problem and this turned out to be a simple issue for which I got the answer instantaneously from the web!</p>
]]></content:encoded>
			<wfw:commentRss>http://cisco-network.com/hands-on/ws-x6516-gbic-pwrdown-after-supervisor-module-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Monitoring Tools</title>
		<link>http://cisco-network.com/hands-on/network-monitoring-tools/</link>
		<comments>http://cisco-network.com/hands-on/network-monitoring-tools/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 11:23:45 +0000</pubDate>
		<dc:creator>MustafaAksu</dc:creator>
				<category><![CDATA[Hands-on]]></category>
		<category><![CDATA[netflow]]></category>
		<category><![CDATA[network monitoring]]></category>

		<guid isPermaLink="false">http://cisco-network.com/?p=24</guid>
		<description><![CDATA[What are your daily duties as the network administrator? You have to keep your network up and running. You have to answer calls which may relate to situations like “X location is down” or “Y location is slow”. You should monitor your network as described below to fulfill the tasks. You should monitor your network [...]]]></description>
			<content:encoded><![CDATA[<p>What are your daily duties as the network administrator? You have to keep your network up and running. You have to answer calls which may relate to situations like “X location is down” or “Y location is slow”. You should monitor your network as described below to fulfill the tasks.</p>
<ul>
<li>You should monitor your network and take actions with respect to situations like device and line failures.</li>
<li>You should analyze line utilizations, errors on the line and be sure about network performance.</li>
<li>You should be aware of who talks with whom? How much bandwidth is needed for every single application?</li>
<li>And sometimes, you need to see exact data flow over the network. </li>
</ul>
<p>If you have all these information ready, then people will think twice before they point finger at you. How can you achieve this?<br />
We need a layered approach to understand network monitoring. I am not talking about network layers, but network monitoring layers. We have to involve deeply to monitoring layers before decide about network monitoring software needs. A simple summary could be like below.</p>
<ul>
<li>Preconditions of network monitoring.</li>
<li>Up/Down monitoring </li>
<li>Performance Monitoring / SNMP monitoring</li>
<li>Who talks with whom? / Netflow monitoring</li>
<li>Data capture / Data sniffing</li>
</ul>
<p><img src="http://cisco-network.com/wp-content/uploads/2008/07/network-monitoring-tools-300x112.jpg" alt="network monitoring tools" title="network monitoring tools" width="300" height="112" class="alignnone size-medium wp-image-157" /><br />
<strong>Preconditions of Network Monitoring</strong><br />
Network documentation is essential to monitor a network. Trying to set up network monitoring tools before going through the documentation is complete waste of time. You will see everything green on the screen, but this maybe due to one of the redundant lines that are down. You will sit staring without knowing what is happening. Always remember, documentation comes first and everything follows.<br />
Suggested monitoring tools: Powerpoint/Visio, NetViz</p>
<p><strong>Up/Down monitoring</strong><br />
You have a map in which you can see some red and green lights glowing. Green means up and red means down. It is simple yet powerful. You will immediately come to know that there is some problem if the red light glows.<br />
This is based on ping. Almost every IP devices support echo/echo reply. So, you can monitor all IP devices in your network by using ping. You go one step further by monitoring one application at a time present on a device instead of whole device. All network applications utilize TCP/UDP ports. You can monitor the applications by trying to access with telnet to its TCP/UDP ports. The port being open suggests that the application is running</p>
<p>Suggested monitoring tools: WhatsupGold, nmap</p>
<p><strong>Performance monitoring / SNMP monitoring</strong><br />
The lines are up, the devices are up, but life is not perfect. People complain about performance of data lines. Are they saturated? Do we have package losses on the lines? Are routers running out of memory? We need SNMP to monitor heart beat of the network.</p>
<p>Suggested monitoring tools: MRTG, Solarwinds Orion, PRTG</p>
<p><strong>Who talks with whom? / Netflow monitoring</strong><br />
You realized that the line is full. Someone / some applications make increase traffic load enormously. Who are they? Is it necessary traffic? In Cisco devices, by using “ip accounting” command we can get an idea of current traffic sources and destinations. Nevertheless, to analyze and to optimize the traffic we need flow monitoring. We need to know source and destination IP addresses and TCP/UDP ports and  number of packages/bytes.<br />
Everyone blames the network speed until you publish the network usage report that clearly shows only 15% of the traffic is ERP traffic and rest comes Internet access.<br />
You should know that flow monitoring tools requires more server resources, since they collect enormous amount of data.</p>
<p>Suggested monitoring tools: Fluke Netflow monitor, Paasler </p>
<p><strong>Data capture / RMON &#8211; Sniffer tools</strong><br />
Sometimes you need to observe the exact data flow on the line and not just information about it. Just have a look at this sample scenario. After you find out that the web service causes inappropriately high network traffic, the owner of the application just can say “No, we are not pushing this much of data to network. We just respond Yes or No in this web service and it is just 100 bytes”. Therefore, you should sniff the data flow on the line. Maybe, you will find that web service responds yes or no (100 bytes) and with the definition of web service (6 kilobytes). </p>
<p>Suggested monitoring tools: Wireshark</p>
<p>You can have a look at <a href="http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools.html">Network Monitoring Tools</a> in Stanford University web site for a great list of network monitoring tools. You can find another tidy list at <a href="http://www.topology.org/comms/netmon.html"> Network Traffic Monitoring </a> in Alan Kennington&#8217;s  topology.org. </p>
]]></content:encoded>
			<wfw:commentRss>http://cisco-network.com/hands-on/network-monitoring-tools/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Reflexive Access Lists</title>
		<link>http://cisco-network.com/hands-on/reflexive-access-lists/</link>
		<comments>http://cisco-network.com/hands-on/reflexive-access-lists/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 22:23:53 +0000</pubDate>
		<dc:creator>MustafaAksu</dc:creator>
				<category><![CDATA[Hands-on]]></category>
		<category><![CDATA[acl]]></category>
		<category><![CDATA[cisco router]]></category>
		<category><![CDATA[network security]]></category>

		<guid isPermaLink="false">http://cisco-network.com/hands-on/reflexive-access-lists/</guid>
		<description><![CDATA[Cisco IOS has statefull firewall features like reflexive access lists. By using this feature, you can use your Cisco router as a second firewall (the choke point concept in Cisco firewall trainings) and increase your network security by layered approach. You can use an access control list (ACL) for the filtering one way traffic, but [...]]]></description>
			<content:encoded><![CDATA[<p>Cisco IOS has statefull firewall features like reflexive access lists. By using this feature, you can use your Cisco router as a second firewall (the choke point concept in Cisco firewall trainings) and increase your network security by layered approach. </p>
<p>You can use an access control list (ACL) for the filtering one way traffic, but what about the responding packages. You have to add an incoming ACL and it should include only sessions started from internal. Reflexive ACLs helps us in this point.</p>
<p><strong>Requirements</strong><br />
To use reflexive ACLs<br />
1.	You MUST use named access lists<br />
2.	You MUST add “reflect samplename” to the end of permit line.<br />
3.	You MUST create a second named access list and add “evaluate samplename” line for responding traffic.</p>
<p><strong>Sample Scenario</strong><br />
In our example, we have a proxy server (e.g. Microsoft ISA Server) with 122.22.22.1 IP address. This server needs access to internet via http (tcp 80) for web browsing and via dns (udp 53) for name resolution.<br />
<img src='http://cisco-network.com/wp-content/uploads/2007/12/reflexiveacl.PNG' alt='Reflexive ACLs Sample' /></p>
<blockquote><p>interface Serial0/0/0<br />
description Internet connection<br />
ip access-group INBOUND in<br />
ip access-group OUTBOUND out<br />
!<br />
ip access-list extended OUTBOUND<br />
permit tcp host 122.22.22.1 any reflect PROXYTCP<br />
permit udp host 122.22.22.1 any eq domain reflect PROXYUDP<br />
!<br />
ip access-list extended INBOUND<br />
evaluate PROXYTCP<br />
evaluate PROXYUDP<br />
!</p></blockquote>
<p>We used reflect command to create reverse ACL and we added it to inbound ACL with evaluate command.</p>
<p><strong>Last Words</strong><br />
This feature is really a powerful tool to increase network security, but you should not use it instead of a real firewall for Internet access. It should be used as another security layer.</p>
]]></content:encoded>
			<wfw:commentRss>http://cisco-network.com/hands-on/reflexive-access-lists/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Advanced SSH settings for Cisco IOS</title>
		<link>http://cisco-network.com/hands-on/advanced-ssh-settings-for-cisco-ios/</link>
		<comments>http://cisco-network.com/hands-on/advanced-ssh-settings-for-cisco-ios/#comments</comments>
		<pubDate>Sun, 25 Nov 2007 20:40:28 +0000</pubDate>
		<dc:creator>MustafaAksu</dc:creator>
				<category><![CDATA[Hands-on]]></category>
		<category><![CDATA[cisco router]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[ssh access]]></category>

		<guid isPermaLink="false">http://cisco-network.com/hands-on/advanced-ssh-settings-for-cisco-ios/</guid>
		<description><![CDATA[I mentioned about basic SSH setting in SSH@Cisco article. But I saw that there are other questions about SSH settings, so, I decided to dive a bit deeper. The settings mentioned below are tested with IOS 12.4, but I am not sure about exact version that supports below features. Q1. What happens if I changed [...]]]></description>
			<content:encoded><![CDATA[<p>I mentioned about basic SSH setting in <a href="http://cisco-network.com/hands-on/ssh-cisco/" >SSH@Cisco</a> article. But I saw that there are other questions about SSH settings, so, I decided to dive a bit deeper. The settings mentioned below are tested with IOS 12.4, but I am not sure about exact version that supports below features. </p>
<p><strong>Q1. What happens if I changed hostname or ip domain name after SSH settings has been done?</strong><br />
A1. Nothing. You need them to create rsa keys but, but afterwards, if you change them, only the key name changes and key data remain same.</p>
<blockquote><p>ciscolab#<strong>sh crypto key mypubkey rsa </strong><br />
% Key pair was generated at: 13:08:15 UTC Aug 28 2007<br />
Key name: <strong>ciscolab.mydomain.com</strong><br />
 Storage Device: private-config<br />
 Usage: General Purpose Key<br />
 Key is not exportable.<br />
 Key Data:<br />
  30819F30 0D06092A 864886F7 0D010101 05000381 8D003081 89028181 00B67A9F<br />
  EED05E82 FFE41EB0 0CE9BC9E 40D1DD1D CF7AA44F CB5C1029 9502C379 469BF37D<br />
  099082BD 9618CC4E 8314866E 3B26F01B BE3AC27E 33EC7A2D 7FE5B503 3C24500B<br />
  733B391A D2DC4AAF C322C549 8A4638F1 9EAA0FF1 0ABCACD3 B1DF9753 02790FD7<br />
  E6A29602 39EFBAB4 2D4D7119 5C95D403 E1E9EB40 E01A1679 231C2F93 53020301 0001<br />
.<br />
.<br />
ciscolab#conf t<br />
Enter configuration commands, one per line.  End with CNTL/Z.<br />
ciscolab(config)#<strong>hostname sshrouter</strong><br />
sshrouter(config)#end<br />
sshrouter#<strong>sh crypto key mypubkey rsa </strong><br />
% Key pair was generated at: 13:08:15 UTC Aug 28 2007<br />
Key name: <strong>sshrouter.mydomain.com</strong><br />
 Storage Device: private-config<br />
 Usage: General Purpose Key<br />
 Key is not exportable.<br />
 Key Data:<br />
  30819F30 0D06092A 864886F7 0D010101 05000381 8D003081 89028181 00B67A9F<br />
  EED05E82 FFE41EB0 0CE9BC9E 40D1DD1D CF7AA44F CB5C1029 9502C379 469BF37D<br />
  099082BD 9618CC4E 8314866E 3B26F01B BE3AC27E 33EC7A2D 7FE5B503 3C24500B<br />
  733B391A D2DC4AAF C322C549 8A4638F1 9EAA0FF1 0ABCACD3 B1DF9753 02790FD7<br />
  E6A29602 39EFBAB4 2D4D7119 5C95D403 E1E9EB40 E01A1679 231C2F93 53020301 0001<br />
.<br />
.<br />
sshrouter#
</p></blockquote>
<p><strong>Q2. Is there any other way to create rsa keys?</strong><br />
A1. Yes, There is. You can create rsa keys which are labeled by you. In this case, you don’t need a hostname(Always, you will have one) and an ip domain name. </p>
<blockquote><p>ciscolab(config)#<strong>crypto key generate rsa general-keys label TEST</strong><br />
The name for the keys will be: TEST<br />
Choose the size of the key modulus in the range of 360 to 2048 for your<br />
  General Purpose Keys. Choosing a key modulus greater than 512 may take<br />
  a few minutes.</p>
<p>How many bits in the modulus [512]: <strong>1024</strong><br />
% Generating 1024 bit RSA keys, keys will be non-exportable&#8230;[OK]</p>
<p>ciscolab(config)#</p>
<p>Nov 24 20:08:59: %SSH-5-ENABLED: SSH 1.5 has been enabled</p>
</blockquote>
<p><strong><br />
Q3. May I create more than one key?</strong><br />
A3. You can create several keys and chose one of them to use with SSH.You do not need to define which key to be used, but if you want to define, then you have to issue &#8220;ip ssh rsa keypair-name&#8221; command in the configuration mode.</p>
<blockquote><p>ciscolab#<strong>sh crypto key mypubkey rsa </strong><br />
% Key pair was generated at: 20:08:59 UTC Nov 24 2007<br />
Key name: <strong>TEST</strong><br />
 Storage Device: not specified<br />
 Usage: General Purpose Key<br />
 Key is not exportable.<br />
 Key Data:<br />
  30819F30 0D06092A 864886F7 0D010101 05000381 8D003081 89028181 00BDFABF<br />
  948EF1FC 1CFC6C5C F5863980 D7D7B9E6 B256D84F 8F279E2E 63303403 A26E6160<br />
  A2928C87 4F0A846E F8A9FB0A 7D92108F ABD5734C AE7555BC 94CB13D9 41E8E04C<br />
  1514A499 68CC9925 A3DB2CFA 3176A65E 2DC504EE EF5C209E 4D348B20 9C324CBC<br />
  230451DD 96EC090C 99C5FB58 E06876D3 161E758E 486987B7 CD147AB0 0F020301 0001<br />
% Key pair was generated at: 20:08:59 UTC Nov 24 2007<br />
Key name: TEST.server<br />
Temporary key<br />
 Usage: Encryption Key<br />
 Key is not exportable.<br />
 Key Data:<br />
  307C300D 06092A86 4886F70D 01720103 00036B00 30680261 00AEC9A3 4078450F<br />
  B1714135 F66FC617 3083F337 1309D493 654BC77D 4D08DE27 5A54FF44 C4CE0174<br />
  507385A9 99B93D70 4E980CE1 89465B14 00E2C26D A633F1FB C4D08A90 3A8EF761<br />
  EBB41B0D C3EB2190 E4FD1E4B E519A06E 4B6BAE46 4E1FA9D8 C1020301 0001<br />
% Key pair was generated at: 20:11:56 UTC Nov 24 2007<br />
Key name: <strong>CHECK</strong><br />
 Storage Device: not specified<br />
 Usage: General Purpose Key<br />
 Key is not exportable.<br />
 Key Data:<br />
  305C300D 06092A86 4886F70D 01720103 00034B00 30480241 00CCB917 D58E9D45<br />
  BC5EFF15 E2945343 18E5338B 26E1ED9F 869C2B6F 77C27595 8AC0D7B7 9D503F31<br />
  192D08EF C5DE87B5 911779BD 464913CD BB93F883 6F23AE0A 91020301 0001<br />
ciscolab#</p>
<p>ciscolab(config)#<strong>ip ssh rsa keypair-name CHECK</strong>
</p></blockquote>
<p><strong>Q4. May I create more than one session from same computer like telnet?</strong><br />
A4. Yes.</p>
<p><strong>Q5. Is it possible to use SSH1 and SSH2 at the same time?</strong><br />
A5. Yes. If you don’t fix the version with “ip ssh version” configuration command. You can use both protocol simultaneously as shown below.</p>
<blockquote><p>ciscolab ><strong>sh ssh </strong><br />
Connection      Version Encryption      State                   Username<br />
0               1.5     <strong>3DES</strong>            Session started         sshtest<br />
Connection Version Mode Encryption  Hmac         State                 Username<br />
1          2.0     IN   <strong>aes256-cbc</strong>  hmac-sha1    Session started       sshtest<br />
1          2.0     OUT  <strong>aes256-cbc</strong>  hmac-sha1    Session started       sshtest<br />
ciscolab></p></blockquote>
<p>As you can see here SSH1 uses 3DES and SSH2 uses AES. </p>
<p><strong>Q6. Does SSH cause a slowdown on my device?</strong><br />
A6. No. I made some tests with both SSH1 and SSH2. Tests have been done on Cisco 7206 VXR, Cisco 3845 and Cisco 1841 with size of key modulus 2048. In the 1841 router, key generation took some time (30-40 seconds).  There was a small delay (1-2 second) when I first connected the device, but rest of the interaction was same like the telnet. CPU utilization was at %1 and memory was OK.</p>
<p><strong>Q7. I have copy my whole router / switch configuration but SSH does not work. Why?</strong><br />
A7. Did you create rsa certificate? Crypto key generate command is a configuration mode command, but it is not a part of the configuration. It will be used for creating your rsa certificate then it is gone. So, just copying configuration is not enough. </p>
<p>Please leave a comment if you have any other questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://cisco-network.com/hands-on/advanced-ssh-settings-for-cisco-ios/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>BGP Configuration for Cisco Routers</title>
		<link>http://cisco-network.com/hands-on/bgp-configuration-for-cisco-routers/</link>
		<comments>http://cisco-network.com/hands-on/bgp-configuration-for-cisco-routers/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 20:21:46 +0000</pubDate>
		<dc:creator>MustafaAksu</dc:creator>
				<category><![CDATA[Hands-on]]></category>
		<category><![CDATA[bgp]]></category>
		<category><![CDATA[cisco 3845]]></category>
		<category><![CDATA[cisco router]]></category>

		<guid isPermaLink="false">http://cisco-network.com/hands-on/bgp-configuration-for-cisco-routers/</guid>
		<description><![CDATA[I want to show a basic BGP configuration for Internet access. In our case, we have two carriers (Sprint &#038; Level3) and we act as an enterprise company, which needs reliable Internet access. As a precondition we need an Autonomous System Number (ASN) and an IP address block assigned to us. We have to apply [...]]]></description>
			<content:encoded><![CDATA[<p>I want to show a basic BGP configuration for Internet access. In our case, we have two carriers (Sprint &#038; Level3) and we act as an enterprise company, which needs reliable Internet access.<br />
As a precondition we need an Autonomous System Number (ASN) and an IP address block assigned to us. We have to apply ARIN / RIPE / APNIC / LACNIC / AFRINIC for this purpose. We assume that we have 6767 as our AS number and 193.93.93.0/24 as our official IP block.<br />
<a href='http://cisco-network.com/wp-content/uploads/2007/10/bgp_configuration_sample.GIF' title='bgp_configuration_sample.GIF'><img src='http://cisco-network.com/wp-content/uploads/2007/10/bgp_configuration_sample.thumbnail.GIF' alt='bgp_configuration_sample.GIF' /></a></p>
<p>To show some different conditions, our connected Level3 router is also the BGP router, but Sprint BGP router has been located 3 hops away.</p>
<blockquote><p>! We are starting with router command with our ASN like EIGRP/OSPF configuration<br />
<strong>router bgp 6767</strong><br />
! We have one router in our case and we don’t need IGP / BGP synchronization it is default in newest IOSes<br />
 <strong>no synchronization</strong><br />
! To have some idea about our peering history we are recording events<br />
 <strong>bgp log-neighbor-changes</strong><br />
! We are announcing our network<br />
 <strong>network 193.93.93.0 </strong><br />
! Our first neighbor is Sprint, we have to define neighbor ASN<br />
 <strong>neighbor 122.22.33.1 remote-as 1239</strong><br />
! Descriptions are always helpful<br />
 <strong>neighbor 122.22.33.1 description Sprint </strong><br />
! Our bgp neighbor in Sprint 3 hops away<br />
 <strong>neighbor 122.22.33.1 ebgp-multihop 3</strong><br />
! Sprint will use our Loopback IP (193.93.94.1) for us as the neighbor<br />
 <strong>neighbor 122.22.33.1 update-source Loopback 0</strong><br />
! If we have enough memory, we can prevent BGP session resets on inbound updates<br />
 <strong>neighbor 122.22.33.1  soft-reconfiguration inbound</strong><br />
! We won’t announce any network other than ourselves<br />
 <strong>neighbor 122.22.33.1 filter-list 1 out</strong><br />
! Now the Level 3<br />
<strong> neighbor 111.11.11.1 remote-as 3356<br />
 neighbor 111.11.11.1 description LevelThree<br />
 neighbor 111.11.11.1 soft-reconfiguration inbound<br />
 neighbor 111.11.11.1 filter-list 1 out<br />
 no auto-summary</strong><br />
!<br />
! Sprint BGP bridgehead is not directly connected to our router<br />
! We must add necessary routing<br />
<strong>ip route 122.22.33.1 255.255.255.255 122.22.22.1</strong><br />
!<br />
! This filter means we are not announcing Sprint networks to Level3 or vice versa.<br />
<strong>ip as-path access-list 1 permit ^$</strong><br />
!</p></blockquote>
<p>In the end, if you are not on the middle of the Internet, BGP configuration is not a big issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://cisco-network.com/hands-on/bgp-configuration-for-cisco-routers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Multilink PPP over Frame Relay</title>
		<link>http://cisco-network.com/hands-on/multilink-ppp-over-frame-relay/</link>
		<comments>http://cisco-network.com/hands-on/multilink-ppp-over-frame-relay/#comments</comments>
		<pubDate>Fri, 17 Aug 2007 06:25:26 +0000</pubDate>
		<dc:creator>MustafaAksu</dc:creator>
				<category><![CDATA[Hands-on]]></category>
		<category><![CDATA[cisco router]]></category>
		<category><![CDATA[frame relay]]></category>
		<category><![CDATA[multilink ppp]]></category>

		<guid isPermaLink="false">http://cisco-network.com/uncategorized/multiple-ppp-over-frame-relay/</guid>
		<description><![CDATA[If you have two frame relay line between two location and you need these lines to balance the load, then this article will guide you. We need two techniques to do it. First one is multilink PPP, which can be used to bundle leased lines. The second one is PPP over Frame Relay, which lets [...]]]></description>
			<content:encoded><![CDATA[<p>If you have two frame relay line between two location and you need these lines to balance the load, then this article will guide you. We need two techniques to do it. First one is multilink PPP, which can be used to bundle leased lines. The second one is PPP over Frame Relay, which lets frame relay lines used like leased lines.</p>
<p>In my example, I will show how I bundle two 2 Mbps frame relay line to act as one 4 Mbps line.<br />
<img src="http://cisco-network.com/wp-content/uploads/2007/09/pppofr.PNG" alt="PPPoFR Schema" /><br />
We have to do below configuration on both sides.</p>
<p>1)We will make an ordinary frame relay configuration on serial interfaces except “frame-relay interface-dlci 16 ppp Virtual-Template1” line. Here we are adding Virtual-Template1. frame-relay traffic-shaping command is a MUST.<br />
2)Under “interface Virtual-Template1“, we describe that it is a part of multilink interface<br />
3)Under “interface Multilink1” we will configure IP settings.</p>
<blockquote><p><strong>interface Serial0/0<br />
description Physical Interface 1<br />
bandwidth 2000<br />
no ip address<br />
encapsulation frame-relay<br />
frame-relay fragmentation voice-adaptive deactivation 15<br />
frame-relay traffic-shaping<br />
frame-relay interface-dlci 16 ppp Virtual-Template1<br />
frame-relay lmi-type ansi</strong></p>
<p><strong>interface Serial0/1<br />
description Physical Interface 2<br />
bandwidth 2000<br />
no ip address<br />
encapsulation frame-relay<br />
frame-relay fragmentation voice-adaptive deactivation 15<br />
frame-relay traffic-shaping<br />
frame-relay interface-dlci 16 ppp Virtual-Template1<br />
frame-relay lmi-type ansi</strong></p>
<p><code><strong>interface Virtual-Template1<br />
no ip address<br />
ppp multilink<br />
ppp multilink group 1</strong></code></p>
<p><code><strong>interface Multilink1<br />
 description Bundled Interface<br />
 bandwidth 4000<br />
 ip address 10.87.1.1 255.255.255.248<br />
 ppp multilink<br />
 ppp multilink group 1</strong></code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://cisco-network.com/hands-on/multilink-ppp-over-frame-relay/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Standalone or stackable Cisco switches do not support NetFlow</title>
		<link>http://cisco-network.com/hands-on/standalone-or-stackable-cisco-switches-do-not-support-netflow/</link>
		<comments>http://cisco-network.com/hands-on/standalone-or-stackable-cisco-switches-do-not-support-netflow/#comments</comments>
		<pubDate>Sat, 11 Aug 2007 09:00:19 +0000</pubDate>
		<dc:creator>MustafaAksu</dc:creator>
				<category><![CDATA[Do You Know?]]></category>
		<category><![CDATA[Hands-on]]></category>
		<category><![CDATA[catalyst 6500]]></category>
		<category><![CDATA[cisco switch]]></category>
		<category><![CDATA[netflow]]></category>
		<category><![CDATA[network monitoring]]></category>

		<guid isPermaLink="false">http://cisco-network.com/hands-on/standalone-or-stackable-switches-do-not-support-netflow/</guid>
		<description><![CDATA[NetFlow is a must have technology suitable for mid size to enterprise companies. Nowadays, it has become an IEEE standard as IPFIX (Internet Protocol Flow Information eXport). We will be able to find NetFlow technology support on any brand in the market soon. However, which devices of Cisco itself supports NetFlow technology? All routers including [...]]]></description>
			<content:encoded><![CDATA[<p>NetFlow is a must have technology suitable for mid size to enterprise companies. Nowadays, it has become an IEEE standard as IPFIX (Internet Protocol Flow Information eXport). We will be able to find NetFlow technology support on any brand in the market soon. However, which devices of Cisco itself supports NetFlow technology?</p>
<p>All routers including the oldest (e.g. Cisco 2500 series) and smallest (e.g. Cisco 800 series) support NetFlow. Some functions does not exist in older IOS versions.<br />
Catalyst 6500 series switches support NetFlow. Catalyst 4500 series switches support NetFlow with Supervisor IV/V + WS-F4531 Catalyst 4500 NetFlow Services Card.</p>
<p>Standalone or stackable switches do not support NetFlow. This means <strong>Catalyst 4948, Catalyst 3750 or Catalyst 3560 series switches do not support NetFlow</strong>. You can see the necessary commands on config mode, but they are not effective. It is not about IOS version or feature set. You need a modular switch for NetFlow.</p>
<p>Unfortunately, the answer of &#8220;What Cisco switches support netflow?&#8221; is only the modular switches.</p>
]]></content:encoded>
			<wfw:commentRss>http://cisco-network.com/hands-on/standalone-or-stackable-cisco-switches-do-not-support-netflow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SSH @ Cisco</title>
		<link>http://cisco-network.com/hands-on/ssh-cisco/</link>
		<comments>http://cisco-network.com/hands-on/ssh-cisco/#comments</comments>
		<pubDate>Sun, 29 Jul 2007 15:45:23 +0000</pubDate>
		<dc:creator>MustafaAksu</dc:creator>
				<category><![CDATA[Hands-on]]></category>
		<category><![CDATA[cisco 3845]]></category>
		<category><![CDATA[cisco router]]></category>
		<category><![CDATA[network security]]></category>
		<category><![CDATA[ssh access]]></category>

		<guid isPermaLink="false">http://cisco-network.com/hands-on/ssh-cisco/</guid>
		<description><![CDATA[Recently, I had to swap the Internet router of my company. BGP and cef ate up the whole memory and it was not possible to upgrade the memory of Cisco 3725 router beyond 256MB. It was time to change it. I had a chance to install a new Cisco 3845 with 1GB memory. Everything was [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I had to swap the Internet router of my company. BGP and cef ate up the whole memory and it was not possible to upgrade the memory of Cisco 3725 router beyond 256MB. It was time to change it.</p>
<p>I had a chance to install a new Cisco 3845 with 1GB memory. Everything was fine except SSH access that I needed because of security policy. I searched the web and found <a target="_blank" href="http://www.cisco.com/warp/public/707/ssh.shtml">“Configuring Secure Shell on Routers and Switches Running Cisco IOS”</a> document on Cisco web site. It was a little bit different than current one. I made a configuration as explained, but it was not good enough and access to the router via SSH was not possible.</p>
<p>About one week later, I realized that </p>
<ul>
<li>SSH only supports authentication with username/password, but it does not support just access password like telnet </li>
<li>So, I had to create a user and set a password with username command</li>
<li>I had to enable aaa new-model OR issue login local command under line vty for username/password authentication. </li>
<li> Also a hostname and a domain name were required to generate the keys, since router uses its FQDN as the label of the key pair.</li>
<li>SSH is enabled by default and I do not need to enable it myself. </li>
</ul>
<p>Necessary steps to enable SSH are mentioned below.</p>
<p>PRECONDITION: You need a K9 IOS (newer than 12.1) to enable SSH. Catalyst 2900 Series switches do not support SSH.</p>
<blockquote><p>1) You MUST set a host name<br />
<strong><code>hostname ciscolab</code></strong></p>
<p>2) You MUST set a ip domain name<br />
<strong><code>ip domain-name mydomain.com</code></strong></p>
<p>3) You MUST enable aaa new-model OR set “login local” under vty configuration but not just “login”<br />
<strong><code>aaa new-model</code></strong></p>
<p>4) You MUST create a user<br />
<strong><code>username sshtest password 0 sshpass</code></strong></p>
<p>5) You MUST generate RSA keys<br />
<strong><code>crypto key generate rsa</code></strong></p>
<p>if you have RSA keys before you will receive a message, type yes<br />
<code>% You already have RSA keys defined named ciscolab.mydomain.com.<br />
% Do you really want to replace them? [yes/no]: <strong>yes</strong></code></p>
<p>it will ask for modulus size, 1024 is fine (it depends your security needs)<br />
<code>How many bits in the modulus [512]: <strong>1024</strong></code></p>
<p>6) You MUST set vty access method to all OR ssh (if you chose ssh telnet will be disabled)<br />
<strong><code>line vty 0 4<br />
&nbsp;&nbsp;transport input ssh</code></strong></p></blockquote>
<p>7) By using SecureCRT (licensed) or Putty (free), chose SSH1 (SSH in Putty) for the protocol enter hostname or IP address and click connect (Open in Putty). It will ask for username and password. Do not touch the other settings, you do not need them.</p>
<p>If you are able to access your device with SSH and still have some other questions please have a look at <a href="http://cisco-network.com/hands-on/advanced-ssh-settings-for-cisco-ios/">Advanced SSH settings for Cisco IOS </a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cisco-network.com/hands-on/ssh-cisco/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

