<?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>Networks Training &#187; Cisco Routers</title>
	<atom:link href="http://www.networkstraining.com/category/cisco-routers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.networkstraining.com</link>
	<description>IP Networks Training and Tutorials</description>
	<lastBuildDate>Sun, 15 Jan 2012 10:35:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Configuring EasyVPN Between Cisco Routers</title>
		<link>http://www.networkstraining.com/configuring-easyvpn-between-cisco-routers/</link>
		<comments>http://www.networkstraining.com/configuring-easyvpn-between-cisco-routers/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 18:35:13 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cisco Routers]]></category>

		<guid isPermaLink="false">http://www.networkstraining.com/?p=1015</guid>
		<description><![CDATA[Basically Cisco Easy VPN is usually used for Cisco easy VPN Client termination. In this post however, let’s consider the configuration of Cisco Easy VPN between two Cisco routers. Just keep in mind that an EasyVPN scenario involves an EasyVPN Server and EasyVPN Remote Clients. The basic configuration is performed on the Cisco Easy VPN [...]]]></description>
			<content:encoded><![CDATA[<p>Basically Cisco Easy VPN is usually used for Cisco easy VPN Client termination. In this post however, let’s consider the configuration of Cisco Easy VPN between two Cisco routers. Just keep in mind that an EasyVPN scenario involves an EasyVPN Server and EasyVPN Remote Clients. The basic configuration is performed on the Cisco Easy VPN Server and the configuration done on Cisco Easy VPN Remote is almost similar to the configuration done on Cisco easy VPN client.</p>
<p>Let’s consider an example as shown on diagram below: configure R1 as an easy VPN Remote and configure R2 as an easy VPN Server and force the traffic to flow via the VPN Tunnel between the Loopback interfaces.</p>
<p><img class="aligncenter size-full wp-image-1016" title="Easy VPN Between Cisco Routers" src="http://www.networkstraining.com/wp-content/uploads/2011/06/Easy-VPN-Between-Cisco-Routers.jpg" alt="" width="560" height="300" /></p>
<p>Before starting the Easy VPN configuration, check the connectivity between the Loopback interfaces. For simplicity I configured default route on both routers to each other.</p>
<p>Now let’s start configuration. First of all configure R2 as Easy VPN Server.</p>
<p><strong><span style="text-decoration: underline;">R2 Configuration</span></strong></p>
<p><em>!enable AAA  new-model</em><br />
<strong>aaa new-model</strong></p>
<p><em>! enable local authentication method list  with name userauthen for X-AUTH</em><br />
<strong>aaa authentication login userauthen local</strong></p>
<p><em>! enable local authorization  method  list  with name groupauthor for X-AUTH</em><br />
<strong>aaa authorization network groupauthor local</strong></p>
<p><em>!create username, by which authorization of Easy VPN Remote will occur later.</em><br />
<strong>username cisco password 0 cisco123</strong></p>
<p><em>!create ISAKMP PHASE #1 Negotiation</em><br />
<strong>crypto isakmp policy 3</strong><br />
<strong>encr 3des</strong><br />
<strong>authentication pre-share</strong><br />
<strong>group 2</strong></p>
<p><em>!Create group with pre-shared key for IKE authentication. Save-password Feature allows Remote to save password.</em><br />
<strong>crypto isakmp client configuration group vpngrp</strong><br />
<strong>key cisco123</strong><br />
<strong>save-password</strong></p>
<p><em>!create IPSEC Transform-set for DATA Encryption</em><br />
<strong>crypto ipsec transform-set TS esp-3des esp-sha-hmac</strong></p>
<p><em>!Create Dynamic-map , which will be used to crypto-map later.</em><br />
<strong>crypto dynamic-map dynmap 10</strong><br />
<strong>set transform-set myset</strong></p>
<p><em>! Create crypto map, which will be used to AAA authentication, authorization lists and also in dynamic-crypto map.</em><br />
<strong>crypto map clientmap client authentication list userauthen</strong><br />
<strong>crypto map clientmap isakmp authorization list groupauthor</strong><br />
<strong>crypto map clientmap 10 ipsec-isakmp dynamic dynmap</strong></p>
<p><em>!Now attach the crypto-map to outside interface.</em><br />
<strong>interface FastEthernet0/0</strong><strong>crypto map clientmap</strong></p>
<p>By this, easy vpn server configuration is completed. Now let’s start Remote configuration. Configuration is almost similar to the Cisco Easy VPN Client configuration.</p>
<p><strong><span style="text-decoration: underline;">R1 Configuration</span></strong></p>
<p><em>! Create VPN Profile.</em><br />
<strong>crypto ipsec client ezvpn ez</strong></p>
<p><em>! Connect automatically to Easy VPN Server. If we don’t do this, then we’ll have to connect manually to Easy VPN server every time the network is down.</em><br />
<strong>connect auto</strong></p>
<p><em>! Easy VPN </em><em>group username and password, which are created on server.</em><br />
<strong>group vpngrp key cisco123</strong></p>
<p><em>!Indicate Mode as network-extension.</em><br />
<strong>mode network-extension</strong></p>
<p><em>!Indicate the IP address of Easy VPN Server.</em><br />
<strong>peer 192.168.2.2</strong></p>
<p><em>! Use Username and password saved in profile for connecting to Easy VPN Server.</em><br />
<strong>xauth userid mode local</strong></p>
<p><em>! Save user and password in Profile. </em><br />
<strong>username cisco password cisco123</strong></p>
<p><em>! Determine Inside interface. Inside and outside interfaces must be determined on Easy VPN Remote.</em><br />
<strong>interface Loopback0</strong><br />
<strong>ip address 10.12.130.1 255.255.255.255</strong><br />
<strong>crypto ipsec client ezvpn ez inside</strong><br />
<strong>!</strong></p>
<p><strong>interface FastEthernet0/0</strong><br />
<strong>ip address 192.168.2.1 255.255.255.0<br />
crypto ipsec client ezvpn ez outside<br />
</strong></p>
<p>Both sites are completed now, so let’s do some testing:</p>
<p>R2#<strong>show crypto isakmp sa</strong></p>
<p>IPv4 Crypto ISAKMP SA<br />
dst             src             state          conn-id slot status<br />
192.168.2.1 192.168.2.2   QM_IDLE           1008    0 ACTIVE</p>
<p>R2#<strong>show crypto ipsec sa</strong></p>
<p>interface: Fastethernet 0/0</p>
<p>Crypto map tag: clientmap, local addr 192.168.2.2</p>
<p>protected vrf: (none)<br />
local  ident (addr/mask/prot/port): (0.0.0.0/0.0.0.0/0/0)<br />
remote ident (addr/mask/prot/port): (10.12.130.1/255.255.255.255/0/0)<br />
current_peer 192.168.2.1 port 500<br />
PERMIT, flags={}<br />
<span style="color: #ff0000;"><strong>#pkts encaps: 5, #pkts encrypt: 5, #pkts digest: 5<br />
#pkts decaps: 5, #pkts decrypt: 5, #pkts verify: 5</strong></span><br />
#pkts compressed: 0, #pkts decompressed: 0<br />
#pkts not compressed: 0, #pkts compr. failed: 0<br />
#pkts not decompressed: 0, #pkts decompress failed: 0<br />
#send errors 0, #recv errors 0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkstraining.com/configuring-easyvpn-between-cisco-routers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using USB Flash Drives in Cisco routers</title>
		<link>http://www.networkstraining.com/using-usb-flash-drives-in-cisco-routers/</link>
		<comments>http://www.networkstraining.com/using-usb-flash-drives-in-cisco-routers/#comments</comments>
		<pubDate>Thu, 10 Mar 2011 17:46:02 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cisco Routers]]></category>

		<guid isPermaLink="false">http://www.networkstraining.com/?p=972</guid>
		<description><![CDATA[A few days ago I have written a post about Booting a Cisco Router from USB Flash. Related to that post and since I got some questions about the subject, it seems appropriate to add some more information about how USB Drives can be managed and used in Cisco IOS routers. Some things to consider: [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago I have written a post about <a href="http://www.networkstraining.com/booting-a-cisco-router-from-a-usb-flash-drive/" target="_blank">Booting a Cisco Router from USB Flash</a>. Related to that post and since I got some questions about the subject, it seems appropriate to add some more information about how USB Drives can be managed and used in Cisco IOS routers.</p>
<p><span style="text-decoration: underline;">Some things to consider:</span></p>
<ul>
<li>USB interfaces are supported from IOS release 12.3 (14) T IP Base and later.</li>
<li>All ISR and ISR G2 routers support USB flash drives.</li>
<li>Devices that have 2 USB ports, can use both USB memory sticks simultaneously.</li>
<li>You can use a USB extension cable; however USB hubs are not supported.</li>
<li>The IOS version supported on the router is independent of the type of USB (i.e doesn’t matter if USB is version 1.1 or 2). The older ISRs use USB type 1.1 while the newest ISR machines use USB 2.0 types.</li>
<li>After inserting the USB flash memory into the corresponding port, the IOS software automatically recognizes it and generates a message on the console as shown below:</li>
</ul>
<p><strong><em>Mar 10 09:10:20.251: %USBFLASH-5-CHANGE: usbflash1 has-been inserted!</em></strong></p>
<ul>
<li>These routers also support the use of eTokens from Aladdin (security USB tokens).</li>
<li>The USB can be used to store and read both IOS images and configuration files.</li>
<li>The files stored on USB sticks are not encrypted.</li>
<li>Officially, Cisco routers support only USB devices from Cisco. However, it is possible to use any USB memory stick which does not require installation of specific drivers.</li>
<li>The only format supported by IOS is FAT16. NTFS file format on the USB drive is not supported yet.</li>
<li>USB flash drives can be formatted from IOS before being used.</li>
</ul>
<p><span style="text-decoration: underline;">How to format a USB drive from IOS</span></p>
<p>The formatting process is relatively simple using IOS:</p>
<p><strong>Router # format ?</strong><br />
flash: Filesystem to be formatted<br />
usbflash1: Filesystem to be formatted</p>
<p><strong>Router # format usbflash1:</strong></p>
<p><strong> </strong></p>
<p><em>Format operation may take a while. Continue? [confirm]<br />
Format operation will destroy all data in &#8220;usbflash1:&#8221;.  Continue? [confirm]<br />
Format: Drive communication &amp; 1st Sector Write OK&#8230;</em></p>
<p><em>Format: All system sectors written. OK&#8230;<br />
Format: Total data sectors in formatted partition: 8191435<br />
Format: Total data bytes in formatted partition: -100952576<br />
Format: Operation completed successfully.</em></p>
<p><em>Format of usbflash1 complete</em></p>
<p>From this point the USB flash drive can be used with all file system commands in the Cisco IOS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkstraining.com/using-usb-flash-drives-in-cisco-routers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Booting a Cisco router from a USB Flash Drive</title>
		<link>http://www.networkstraining.com/booting-a-cisco-router-from-a-usb-flash-drive/</link>
		<comments>http://www.networkstraining.com/booting-a-cisco-router-from-a-usb-flash-drive/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 17:57:21 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cisco Routers]]></category>

		<guid isPermaLink="false">http://www.networkstraining.com/?p=956</guid>
		<description><![CDATA[Cisco routers typically store a copy of the device’s operating system (Cisco IOS) in their flash memory, and load this operating system image into RAM during the boot-up process. The flash memory of Cisco routers is usually internal or can be a removable flash card on higher end routers. However, it may happen that for [...]]]></description>
			<content:encoded><![CDATA[<p>Cisco routers typically store a copy of the device’s operating system (Cisco IOS) in their flash memory, and load this operating system image into RAM during the boot-up process. The flash memory of Cisco routers is usually internal or can be a removable flash card on higher end routers.</p>
<p>However, it may happen that for various reasons the operating system image may not be available, maybe due to file corruption, flash memory corruption, accidental deletion, etc. In this case the device does not have a valid image to load and therefore the router boots into ROM monitor mode (rommon). This mode gives a reduced set of commands that essentially allow the administrator to manually run the boot sequence.</p>
<p>For such cases, and using commands in the ROMMON mode, the Cisco ISR routers have 1 or 2 USB ports that can be used to load the IOS image from a USB flash drive.</p>
<p><strong><span style="text-decoration: underline;">How to Boot from USB</span></strong></p>
<p>The obvious prerequisite of this procedure is to have a valid IOS image, which is suitable for the device you want to put into operation, stored on a USB flash drive. Once we have this resource, we must enter into ROM Monitor mode (rommon). If the device did not have a valid IOS image in the internal flash memory, it will go directly in that mode. If not, we can force entry into rommon mode by interrupting the boot sequence using “<strong>Ctrl + Break</strong>”.</p>
<p>From this point, we can see the rommon mode prompt:</p>
<p><strong>rommon 1&gt;</strong></p>
<p>In this mode we can see the list of available commands using the <strong>question mark</strong> or <strong>help</strong> command:</p>
<p><strong>rommon 1&gt;? </strong><br />
or<br />
<strong>rommon 1&gt; help</strong></p>
<p>Then we can check our image stored on USB flash drive:</p>
<p><strong>rommon 2&gt; dir usbflash0:</strong><br />
program load complete, entry point: 0x8000f000, size: 0x3d240<br />
Directory of usbflash0:<br />
2 &#8230;&#8230; 14871760-&#8230; ..- rw-ipbase c2800nm-mz.124-3.bin</p>
<p>Note: The command is <strong>dir usbflashx:</strong> where <strong>x</strong> assumes a value of 0 or 1 depending on which USB port of the router you are using.</p>
<p>Then run the command that orders the router to boot from the image stored on USB flash:</p>
<p><strong>rommon 3&gt; boot usbflash0: c2800nm-ipbase-mz.124-3.bin</strong><br />
program load complete, entry point: 0x8000f000, size: 0x3d240<br />
program load complete, entry point: 0x8000f000, size: 0xe2eb30<br />
Self decompressing the image:<br />
################################################## ########################################<br />
################################################## ############# [OK]</p>
<p>Once the router has booted up, you can now work with the normal IOS command line interface. You can copy the image we have in our USB flash into the internal router’s flash memory:</p>
<p><strong>Router&gt; enable<br />
Router # copy usbflash0: c2800nm-ipbase-mz.124-3.bin flash: c2800nm-ipbase-mz.124-3.bin</strong></p>
<p>From now on, the router will be booting up from the internal flash memory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkstraining.com/booting-a-cisco-router-from-a-usb-flash-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Configure Static Routing on Cisco Routers</title>
		<link>http://www.networkstraining.com/how-to-configure-static-routing-on-cisco-routers/</link>
		<comments>http://www.networkstraining.com/how-to-configure-static-routing-on-cisco-routers/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 08:41:54 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[General Networking]]></category>

		<guid isPermaLink="false">http://www.networkstraining.com/?p=838</guid>
		<description><![CDATA[Cisco IOS Routers support both static and dynamic routes. In small networks (2 to 5 routers) I would suggest to configure only static routes, especially if the network is not going to change much over time. Of course dynamic routing (using dynamic routing protocols such as RIP, OSPF, EIGRP) is much more flexible and scalable [...]]]></description>
			<content:encoded><![CDATA[<p>Cisco IOS Routers support both static and dynamic routes. In small networks (2 to 5 routers) I would suggest to configure only static routes, especially if the network is not going to change much over time. Of course dynamic routing (using dynamic routing protocols such as RIP, OSPF, EIGRP) is much more flexible and scalable (for larger networks) but gets a little bit tricky to troubleshoot in case of problems. There is also the option to mix static and dynamic routing if needed, but you need to take into consideration issues such as route redistribution (you will usually need to redistribute static routes into the dynamic protocol).</p>
<p>In this post I will try to illustrate static routing using a small network scenario (see picture below) and explain also some other issues related with ICMP Redirects and Cisco ASA firewall.</p>
<p style="text-align: center;"><img class="alignnone" title="configuring static routes on cisco routers" src="http://www.networkstraining.com/images/cisco-routers-static-routes.jpg" alt="" width="400" height="600" /></p>
<p><span style="text-decoration: underline;">Network Description</span></p>
<p>From the example network above, we have a Cisco ASA firewall (ASA1) protecting our internal networks from the Internet. LAN1 is a Class C network subnet (10.1.1.0/24) which has user computers connected (this might be the headquarters LAN of the Enterprise). There is also a Router (R1) serving as a WAN router to connect a distant remote office over a WAN link.</p>
<p>At the other side of the WAN link we have R2 which serves as the Hub router having two spokes (R3, R4). There are also two more LAN networks with user computers (LAN2 connected to R3 and LAN3 connected to R4).</p>
<p>The IP addresses assigned to the network are as following:</p>
<p>ASA1 Internal IP: <strong>10.1.1.254</strong></p>
<p>R1 IP on LAN1 network: <strong>10.1.1.253</strong><br />
R1 IP on the WAN link: <strong>192.168.1.1</strong></p>
<p>R2 IP on the WAN link: <strong>192.168.1.2</strong><br />
R2 IP connected with R3: <strong>192.168.2.2</strong><br />
R2 IP connected with R4: <strong>192.168.3.2</strong></p>
<p>R3 IP connected with R2: <strong>192.168.2.1</strong><br />
R3 IP on LAN2 network: <strong>10.2.1.254</strong></p>
<p>R4 IP connected with R2: <strong>192.168.3.1</strong><br />
R4 IP on LAN3 network: <strong>10.2.2.254</strong></p>
<p>LAN1 network: <strong>10.1.1.0/24</strong><br />
LAN2 network: <strong>10.2.1.0/24</strong><br />
LAN3 network: <strong>10.2.2.0/24</strong></p>
<p><span style="text-decoration: underline;">Traffic Flow Requirements</span></p>
<p>We need to have the following communication between networks:</p>
<ul>
<li>LAN1 computers need to access the Internet through the ASA and also must be able to communicate with users and servers on LAN2 and LAN3.</li>
<li>LAN1 users should be able to communicate also with “transit subnets” for troubleshooting and management purposes (“transit subnets” are the point-to-point networks connecting routers between them). These “transit subnets” are 192.168.1.0/30, 192.168.2.0/30, 192.168.3.0/30.</li>
<li>LAN2 and LAN3 computers need to access the Internet through the ASA and also must be able to communicate with LAN1 network.</li>
</ul>
<p><span style="text-decoration: underline;">Configuration of Static Routing</span></p>
<p>The intention of this article is to explain static routing only, so I will not get into the full configuration details of all devices in the network. I will just show snippets of commands for static routes.</p>
<p>The general format of a static route command on a Cisco router is:</p>
<p><strong>Router(config)# ip route [destination network] [mask] [gateway address]</strong></p>
<p>The command above tells the router the following information: “if you want to send a packet to the following “destination network”, then send it to this “gateway address”.</p>
<p>The format of a static route command on a Cisco ASA firewall is:</p>
<p><strong>ASA(config)# route [interface name] [destination network] [mask] [gateway]</strong></p>
<p>Now let’s see the commands needed for each router. It’s more convenient to start from the bottom up:</p>
<p><span style="text-decoration: underline;">Router R3:</span></p>
<p>R3(config)# ip route 0.0.0.0 0.0.0.0 192.168.2.2</p>
<p>We just need a default route on this router to send ALL traffic towards R2 gateway address (192.168.2.2).</p>
<p><span style="text-decoration: underline;">Router R4:</span></p>
<p>R4(config)# ip route 0.0.0.0 0.0.0.0 192.168.3.2</p>
<p>Similar with R3, we just need a default route on this router to send ALL traffic towards R2 gateway address (192.168.3.2).</p>
<p><span style="text-decoration: underline;">Router R2:</span></p>
<p><em>! Default route </em><br />
R2(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.1</p>
<p><em>! Static routes to reach LAN2 and LAN3</em><br />
R2(config)# ip route 10.2.1.0 255.255.255.0 192.168.2.1<br />
R2(config)# ip route 10.2.2.0 255.255.255.0 192.168.3.1</p>
<p>This is a little tricky. We need both a default route (to send all upwards traffic, including traffic to the Internet, towards R1) and also we need two specific static routes to reach LAN2 and LAN3 network. The two specific static routes (two last lines) are needed for the reply packets from LAN2 and LAN3 and also for LAN1 to be able to reach LAN2/LAN3.</p>
<p><span style="text-decoration: underline;">Router R1:</span></p>
<p><em>! Default Route towards ASA for Internet Traffic</em><br />
R1(config)# ip route 0.0.0.0 0.0.0.0 10.1.1.254</p>
<p><em>! Static routes to reach LAN2 and LAN3</em><br />
R1(config)# ip route 10.2.1.0 255.255.255.0 192.168.1.2<br />
R1(config)# ip route 10.2.2.0 255.255.255.0 192.168.1.2</p>
<p><em>! Static routes to reach transit point-to-point networks</em><br />
R1(config)# ip route 192.168.2.0 255.255.255.252 192.168.1.2<br />
R1(config)# ip route 192.168.3.0 255.255.255.252 192.168.1.2</p>
<p><span style="text-decoration: underline;">Firewall ASA1:</span></p>
<p>ASA1(config)# route outside 0.0.0.0 0.0.0.0 [asa gateway IP]</p>
<p><em>! Static routes to reach LAN2 and LAN3</em><br />
ASA1(config)# route inside 10.2.1.0 255.255.255.0 10.1.1.253<br />
ASA1(config)# route inside 10.2.2.0 255.255.255.0 10.1.1.253</p>
<p>The ASA will need a default route towards its default gateway IP (assigned by the ISP), and also two static routes to reach the distant LAN2 and LAN3 networks. You DO NOT need a static route for LAN1 network because it is directly connected to the ASA.</p>
<p><span style="text-decoration: underline;">Default Gateway for LAN1 computers</span></p>
<p>As we said before, one of the traffic flow requirements was to access LAN2 and LAN3 networks from LAN1 computers. If I ask you what should be the default gateway address configured on LAN1 computers, most of you would answer “The ASA internal address 10.1.1.254”. However, this is WRONG. Let me explain why.</p>
<p>Assume you configure the default gateway address for LAN1 hosts to be the ASA address 10.1.1.254. If HostA on LAN1 wants to send traffic to the Internet, then it will send it to its default gateway address (ASA firewall) which will forward the packet to the Internet. So far so good.</p>
<p>However, if HostA wants to send traffic to LAN2 or LAN3 hosts, it will again send the traffic to the ASA which is supposed to send an ICMP Redirect to HostA and tell him “hey, you should really be using 10.1.1.253 to get to LAN2 or LAN3”. However, the Cisco ASA is NOT ABLE to send an ICMP Redirect like it should. Therefore, HostA will never be able to communicate with LAN2/LAN3. If the ASA was a router instead, everything would work fine because routers actually are able to send ICMP Redirects.</p>
<p>So, the correct answer is to configure all hosts on LAN1 network to have Default Gateway address the IP of R1 (10.1.1.253). This way, they will be able to access both the Internet and the other internal LAN networks (LAN2/LAN3).</p>
<p>For any questions or comments please fill out the comment form below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkstraining.com/how-to-configure-static-routing-on-cisco-routers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Configuring Cisco Router Interfaces</title>
		<link>http://www.networkstraining.com/configuring-cisco-router-interfaces/</link>
		<comments>http://www.networkstraining.com/configuring-cisco-router-interfaces/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 18:14:20 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[cisco interface configuration]]></category>

		<guid isPermaLink="false">http://www.networkstraining.com/?p=797</guid>
		<description><![CDATA[One of the main elements to configure on a Cisco router is its interfaces. The router is usually equipped with Ethernet interfaces (for LAN connectivity) or Serial/ATM/T1/E1 interfaces for WAN connectivity. Below you will find three typical router interface configuration scenarios to get an idea about this important setup. Configuring Ethernet or Fast Ethernet Interfaces [...]]]></description>
			<content:encoded><![CDATA[<p>One of the main elements to configure on a Cisco router is its interfaces. The router is usually equipped with Ethernet interfaces (for LAN connectivity) or Serial/ATM/T1/E1 interfaces for WAN connectivity. Below you will find three typical router interface configuration scenarios to get an idea about this important setup.</p>
<p><strong><span style="text-decoration: underline;">Configuring Ethernet or Fast Ethernet Interfaces</span></strong><br />
<strong>Router&gt; enable<br />
Router # config terminal</strong></p>
<p><em>! enter the interface configuration submode</em><br />
<strong>Router(config) # interface fastethernet 0/0</strong></p>
<p><em>! IP configured on the interface</em><br />
<strong>Router(config-if) # ip address 10.1.10.1 255.255.255.0</strong></p>
<p><em>!bring the interface up</em><br />
<strong>Router (config-if) # no shutdown<br />
Router (config-if) # description lan (assign a name to the interface)<br />
Router (config-if) # exit<br />
Router (config) #</strong></p>
<p>* Note that the interface naming can be different. Examples are FastEthernet, Ethernet, GigabitEthernet etc. Also, the interface numbering varies from router to router, such as 0, 1, 0/0 0/1, etc.</p>
<p><strong><span style="text-decoration: underline;">Configuring DTE Serial Interfaces</span></strong><br />
Note that DTE serial interfaces receive clock from the Serial WAN modem.</p>
<p><strong>Router&gt; enable<br />
Router# config terminal</strong></p>
<p><em>! enter the interface configuration submode</em><br />
<strong>Router (config) # interface serial 0/0</strong></p>
<p><strong>Router (config-if) # ip address 172.16.1.1 255.255.255.252<br />
Router (config-if) # no shutdown<br />
Router (config-if) # description WAN Network (assign a name to the interface)<br />
Router (config-if) # exit<br />
Router (config) #</strong></p>
<p>* Note that the interface numbering can be 0, 1, 0/0 0/1, etc. This varies by router.</p>
<p><strong><span style="text-decoration: underline;">Configuring DCE Serial Interfaces</span></strong><br />
Note that DCE serial interfaces provide clock to the connected device on the interface.</p>
<p><strong>Router&gt; enable<br />
Router# config terminal<br />
Router(config) # interface serial 0 / 1<br />
Router(config-if) # ip address 10.1.1.1 255.255.255.0</strong></p>
<p><em>!configure the clock rate that will be provided by the router</em><br />
<strong>Router(config-if) # clock rate 128000<br />
Router(config-if) # no shutdown<br />
Router(config-if) # description WAN Network (assign a name to the interface)<br />
Router(config-if) # exit<br />
Router(config) #</strong></p>
<p>* Note that the interface number can be 0, 1, 0/0 0/1, etc. This varies by router model.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkstraining.com/configuring-cisco-router-interfaces/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using TCP Intercept to mitigate DoS SYN Attacks</title>
		<link>http://www.networkstraining.com/using-tcp-intercept-to-mitigate-dos-syn-attacks/</link>
		<comments>http://www.networkstraining.com/using-tcp-intercept-to-mitigate-dos-syn-attacks/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 09:27:53 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[cisco tcp intercept]]></category>

		<guid isPermaLink="false">http://www.networkstraining.com/?p=786</guid>
		<description><![CDATA[The most common attack against Service Provider IP Networks is Denial of Service. Usually these attacks take the form of “Many-to-One Attacks” where multiple attacking sources send flooding traffic towards a single destination. These attacks are sometimes called Distributed Denial of Service. Usually the attacking hosts are “zombie” computers which are compromised by hackers and [...]]]></description>
			<content:encoded><![CDATA[<p>The most common attack against Service Provider IP Networks is Denial of Service. Usually these attacks take the form of “Many-to-One Attacks” where multiple attacking sources send flooding traffic towards a single destination. These attacks are sometimes called Distributed Denial of Service. Usually the attacking hosts are “zombie” computers which are compromised by hackers and belong to a BotNet network. Usually these attacks are directed towards a critical node of the ISP network (a Border Router, a public Server etc).</p>
<p>If the attack contains thousands of non-legitimate connections to initiate TCP communication (SYN packets) towards a single host, the target host gets overloaded from the requested connections because the three-way TCP handshake does not get completed (because these TCP connections have unreachable return addresses, the connections cannot be established).  The resulting volume of unresolved open connections eventually overwhelms the server and can cause it to deny service to valid requests. The above attack is also called SYN Attack.</p>
<p style="text-align: center;"><img class="alignnone" title="tcp intercept" src="http://www.networkstraining.com/images/TCP-Intercept.jpg" alt="" width="400" height="400" /></p>
<p>TCP Intercept is a feature on routers used to prevent and mitigate TCP SYN-flooding attacks by monitoring the rate of SYN packets and intervening inside the TCP communication whenever necessary in order to reduce the number of incomplete TCP connections.</p>
<p>There are two modes for TCP Intercept: “<strong>Intercept Mode</strong>” and “<strong>Watch Mode</strong>”.</p>
<p><span style="text-decoration: underline;">Intercept Mode</span></p>
<p>The most “invasive” mode is “Intercept Mode”. The router establishes a connection with the client on behalf of the destination server, and if successful, establishes the connection with the server on behalf of the client and knits the two half-connections together transparently. This means that if the connection is legitimate, it will reach the server with no problem. If the connection is from a non-legitimate client, the half-open connection will be dropped by the router. This mode consumes a lot of memory and CPU on the router.</p>
<p><span style="text-decoration: underline;">Watch Mode</span></p>
<p>We recommend using the “Watch Mode” instead of the “Intercept Mode”.  In Watch Mode, the router passively watches the connection requests flowing through the router. If a connection fails to get established in a configurable interval, the software intervenes and terminates the connection attempt.</p>
<p><span style="text-decoration: underline;">Configuration of TCP Intercept</span></p>
<p>On router connecting the host under attack, configure the following (assume target host under attack is 1.1.1.1):</p>
<p><strong>Router(config)# access-list 101 permit tcp any host 1.1.1.1</strong><br />
<strong>Router(config)# ip tcp intercept mode watch</strong><br />
<strong>Router(config)# ip tcp intercept list 101</strong></p>
<p>The above configuration will watch the TCP SYN packets towards host 1.1.1.1. If the SYN packets exceed a certain default value, the router starts to close incomplete TCP connections. Specifically, if the number of incomplete connections exceed 1,100, or the number of connections arriving in the last one-minute period exceed 1,100, each new arriving connection causes the oldest partial connection (or a random connection) to be deleted. These are the default values, which can be altered.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkstraining.com/using-tcp-intercept-to-mitigate-dos-syn-attacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Routing Redistribution on Cisco Routers</title>
		<link>http://www.networkstraining.com/routing-redistribution-on-cisco-routers/</link>
		<comments>http://www.networkstraining.com/routing-redistribution-on-cisco-routers/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 12:22:26 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[route redistribution]]></category>

		<guid isPermaLink="false">http://www.networkstraining.com/?p=740</guid>
		<description><![CDATA[In order for two Layer 3 devices (routers or layer 3 switches) to be able to exchange routing information, it is necessary to use the same routing protocol, such as RIP, EIGRP, OSPF, BGP, etc. Different routing protocols, or protocols configured differently (eg different EIGRP autonomous system) do not exchange information. However, when a device [...]]]></description>
			<content:encoded><![CDATA[<p>In order for two Layer 3 devices (routers or layer 3 switches) to be able to exchange routing information, it is necessary to use the same routing protocol, such as RIP, EIGRP, OSPF, BGP, etc. Different routing protocols, or protocols configured differently (eg different EIGRP autonomous system) do not exchange information.</p>
<p>However, when a device learns routing information from different sources (eg static routes or using different protocols) Cisco IOS allows the information learned from a specific source to be published to other devices using a different protocol. For example, a route learned through RIP can be advertised to other devices using OSPF. This is what is called &#8220;redistribution&#8221; of routes: Using a routing protocol to advertise routes that are learned through other means (other protocol, static routes or directly connected). To configure route redistribution some rules must be in place:</p>
<ul>
<li>The redistributed route must be present in the routing table.</li>
<li>The redistributed route will be received by the neighbouring device with a new metric as configured by the redistributing router.</li>
</ul>
<p><span style="text-decoration: underline;">What is it used</span><span style="text-decoration: underline;"> for?<br />
</span></p>
<p>In principle it is desirable that a network should use a single routing protocol. However, in some cases we may require the use of redistribution: two companies merged, different departments of a company managed by different teams, multi-vendor environments, migration, etc. When addressing a redistribution of routes scenario we should take into account particular aspects of routing: different metrics, administrative distance of each protocol, the capabilities of classful and classless routing, and network topology.</p>
<p><span style="text-decoration: underline;">Metrics<br />
</span></p>
<p>Each routing protocol uses a different metric. This causes the routes redistributed to lose the original metric of the protocol and the metric is redefined in terms of the new protocol. For example, if an OSPF route is redistributed with a metric of 1642 in RIP, RIP metric uses number of hops (between 1 and 15). So you must change the metric before redistributing to RIP.</p>
<p>The metric with which a protocol receives the routes learned by another metric is called seed metric.<br />
Each protocol uses a default seed metric:</p>
<p>RIP &#8211; default seed metric: infinity.<br />
EIGRP &#8211; default seed metric: infinity.<br />
OSPF &#8211; default seed metric: 20.<br />
The default seed metric can also be modified using the “default metric” command.</p>
<p><span style="text-decoration: underline;">The basic commands</span><br />
When you configure redistribution of protocols, you should indicate how to redistribute routing information, and how we want to measure these routes (metric) when they are redistributed. If we do not indicate anything, the routes are redistributed with the default metric.</p>
<p>Router (config) # router rip<br />
Router (config-router) # network 129.100.0.0<br />
Router (config-router) # redistribute ospf 1 metric 2</p>
<p>In this example we tell the router to redistribute routing information into RIP when learned through the OSPF process 1 which is in the routing table, with a metric of 2 hops.</p>
<p><span style="text-decoration: underline;">Redistribution in EIGRP</span><br />
To redistribute routing information into EIGRP, it should be noted that the default metric is infinite. Therefore, if you do not specify metric for redistributed routes, they will not appear in the routing table of the neighbouring device.</p>
<p lang="en-GB">Furthermore, by defining the metric it should be noted: bandwidth, delay, reliability, load and MTU.</p>
<p lang="en-GB">An example:</p>
<p>Router (config) # router eigrp 100<br />
Router (config-router) # redistribute static<br />
Router (config-router) # redistribute rip<br />
Router (config-router) # default-metric 10000 100 255 1 1500</p>
<p><span style="text-decoration: underline;">Redistribution in OSPF</span></p>
<p>The default metric used by OSPF is 20, so it does not require us to specify a metric for the route learned by the adjacent devices. However, when there are multiple subnets on the same network and you want to publish routes for each subnet, you must configure a metric otherwise OSPF will summarize all subnets in the class boundary and publish a single route.</p>
<p lang="en-GB">An example:</p>
<p>Router (config) # router ospf 1<br />
Router (config-router) # redistribute static metric 200 subnets<br />
Router (config-router) # redistribute eigrp 100 metric 500 subnets</p>
<p><span style="text-decoration: underline;">RIP redistribution</span></p>
<p>Like EIGRP, RIP redistributes the protocols using a default metric of infinity, so it is necessary to specify a different metric in order for the neighbour router to incorporate the routing information in its table.</p>
<p lang="en-GB">An example:</p>
<p>Router (config) # router rip<br />
Router (config-router) # redistribute static metric 1<br />
Router (config-router) # redistribute ospf 1 metric 2</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkstraining.com/routing-redistribution-on-cisco-routers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DoS Protection on Cisco 7600 Routers</title>
		<link>http://www.networkstraining.com/dos-protection-on-cisco-7600-routers/</link>
		<comments>http://www.networkstraining.com/dos-protection-on-cisco-7600-routers/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 19:58:13 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[cisco 7600 router dos]]></category>

		<guid isPermaLink="false">http://www.networkstraining.com/?p=709</guid>
		<description><![CDATA[The Cisco 7600 router is in my opinion one of the most versatile High End routing machines on the planet!! It is one of my favorite networking devices. If you take a look at Cisco website under the Routers Product Category, you will notice that the 7600 can be used in Data Centers, in Service [...]]]></description>
			<content:encoded><![CDATA[<p>The Cisco 7600 router is in my opinion one of the most versatile High End routing machines on the planet!! It is one of my favorite networking devices. If you take a look at Cisco website under the Routers Product Category, you will notice that the 7600 can be used in Data Centers, in Service Provider networks, in WAN aggregation or as Internet Edge router. In Service Providers can be used as Provider Edge (PE) in IP MPLS networks aggregating many Customer Edge (CE) router devices. Its modularity and high port capacity allows the 7600 to work as both Layer2 aggregation and as Layer3 high performance router.</p>
<p>In Service Provider networks one of the main concerns of network administrators is to protect the networking infrastructure from Denial of Service attacks. These DoS attacks are actually the most serious and popular security threat against Service Providers. Botnets are frequently the main source of such attacks. ICMP flooding, UDP flooding, spoofed addresses DoS, SYN attacks etc are a few examples of DoS or DDos (Distributed Denial of Service) attacks. Fortunately the Cisco 7600 router has many robust features and mechanisms to protect itself from such attacks.</p>
<p>In the company that I work (Service Provider) we have already implemented several security protection features on 7600 which are really effective against DoS attacks. A summary of the DoS protection mechanisms on 7600 follows below:</p>
<ul>
<li> <strong>Security Access Control Lists (ACL)</strong>: Applied on interfaces to block traffic at Layer3/4 layers.</li>
<li><strong>QoS Rate Limiting</strong>: Using class-maps and policy-maps you can apply rate limiting to specific type of traffic (e.g ICMP)</li>
<li><strong>uRPF (unicast Reverse Path Forwarding)</strong>: protects against spoofing attacks.</li>
<li><strong>Traffic Storm Control</strong>: Protects against broadcast storm attacks.</li>
<li><strong>TCP Intercept</strong>: Protects against SYN attacks.</li>
<li><strong>Hardware-Based Rate Limiters</strong>: Work on PFC3 engines. These rate limiters protect the MSFC routing engine from various packets that can overload its CPU (configured with the mls rate-limit command)</li>
<li><strong>Control Plane Policing (CoPP):</strong>:Again used for protection of the MSFC routing engine by applying rate limiting to packets that flow from the data plane to the control plane.</li>
</ul>
<p>Of course in addition to the above you must not forget other important security mechanisms such as strong password policy, proper Authentication and Accounting, logging, SNMP security, Routing Protocols security (MD5 authentication in OSPF, BGP etc) etc. All of these technical issues must be based on a thorough and carefully written security policy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkstraining.com/dos-protection-on-cisco-7600-routers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Router HSRP Configuration</title>
		<link>http://www.networkstraining.com/cisco-router-hsrp-configuration/</link>
		<comments>http://www.networkstraining.com/cisco-router-hsrp-configuration/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 10:52:15 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[hot standby router protocol]]></category>

		<guid isPermaLink="false">http://www.networkstraining.com/?p=608</guid>
		<description><![CDATA[HSRP (Hot Standby Router Protocol) is the Cisco proprietary protocol for providing redundancy in router networks. The standard router redundancy protocol which is used by other vendors is VRRP (Virtual Router Redundancy Protocol), however Cisco has created its own proprietary protocol (HSRP) which works very well on Cisco routers. In a Local Area Network (LAN), [...]]]></description>
			<content:encoded><![CDATA[<p>HSRP (Hot Standby Router Protocol) is the Cisco proprietary protocol for providing redundancy in router networks. The standard router redundancy protocol which is used by other vendors is VRRP (Virtual Router Redundancy Protocol), however Cisco has created its own proprietary protocol (HSRP) which works very well on Cisco routers.</p>
<p>In a Local Area Network (LAN), all hosts (PC, Servers etc) have a <span style="text-decoration: underline;">single</span> default gateway address configured which is used to route packets outside the LAN. If that single default gateway fails, then communication outside the LAN is not possible. With HSRP we can have two gateway routers, one active and one standby, which will provide resiliency regarding the default gateway address. Using HSRP, the two routers will have a physical IP address configured on their LAN-facing interface, but they will have also a Virtual (HSRP address) which will be used as the default gateway address for hosts on the LAN. No matter which router gateway is up and running (either the primary or the secondary), the virtual HSRP address will stay the same.</p>
<p>Let’s see a diagram below to explain this functionality.</p>
<p style="text-align: center;"><img class="alignnone" title="how to configure cisco hsrp" src="http://www.networkstraining.com/images/cisco-hsrp-configuration.jpg" alt="" width="404" height="655" /></p>
<p>First of all, HSRP must be configured between interfaces that have Layer2 connectivity between them. From the diagram above, HSRP will be running between interfaces FE0/1 on the two LAN routers. Interface FE0/1 on RTR-A will have a physical IP address 10.10.10.1 and interface FE0/1 on RTR-B will have a physical IP address 10.10.10.2. An HSRP address 10.10.10.3 will be also configured on both routers. This address will serve as the default gateway address for all hosts on the LAN. RTR-A will be configured as the Active HSRP router by setting a higher hsrp priority.</p>
<p>With HSRP, we can also track a specific interface. This means that if the tracked interface of the active router fails, then HSRP will trigger a failover to the standby router.</p>
<p>Let’s see an actual configuration below:</p>
<p><span style="text-decoration: underline;">Configuration</span></p>
<p><strong><span style="text-decoration: underline;">Router RTR-A</span></strong><br />
RTR-A(config)# int fa0/1<br />
RTR-A(config-if)# ip address 10.10.10.1 255.255.255.0</p>
<p><em>! enable HSRP group 1 and set the virtual address to 10.10.10.3</em><br />
RTR-A(config-if)# standby 1 ip 10.10.10.3</p>
<p><em>! preempt </em><em>allows the router to become the active router when its priority is higher</em><br />
RTR-A(config-if)# standby 1 preempt</p>
<p><em>! increase its priority to 110 to make it active (default priority  is 100)</em><br />
RTR-A(config-if)# standby 1 priority 110</p>
<p><em>! track the WAN interface FE0/0</em><br />
RTR-A(config-if)# standby 1 track fa0/0</p>
<p><strong><span style="text-decoration: underline;">Router RTR-B</span></strong><br />
RTR-B(config)# int fa0/1<br />
RTR-B(config-if)# ip address 10.10.10.2 255.255.255.0</p>
<p><em>! enable HSRP group 1 and set the virtual address to 10.10.10.3</em><br />
RTR-B(config-if)# standby 1 ip 10.10.10.3</p>
<p><em>! preempt </em><em>allows the router to become the active router when its priority is higher</em><br />
RTR-B(config-if)# standby 1 preempt</p>
<p><em>! set priority to 100 to make it the standby router (this is the default value)</em><br />
RTR-B(config-if)# standby 1 priority 100</p>
<p><em>! track the WAN interface FE0/0</em><br />
RTR-B(config-if)# standby 1 track fa0/0</p>
<p>That’s it. Now configure a default gateway address of 10.10.10.3 for your LAN hosts.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkstraining.com/cisco-router-hsrp-configuration/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Cisco Router Password Recovery-How to recover cisco router lost password</title>
		<link>http://www.networkstraining.com/cisco-router-password-recovery-how-to-recover-cisco-router-lost-password/</link>
		<comments>http://www.networkstraining.com/cisco-router-password-recovery-how-to-recover-cisco-router-lost-password/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 09:19:34 +0000</pubDate>
		<dc:creator>Blog Admin</dc:creator>
				<category><![CDATA[Cisco Routers]]></category>
		<category><![CDATA[cisco password recovery]]></category>

		<guid isPermaLink="false">http://www.networkstraining.com/?p=592</guid>
		<description><![CDATA[One of the most frustrating moments as a network administrator is when you desperately want to log on to a Cisco router and you try all possible passwords you have with no success. Fortunately there is a Cisco password recovery procedure for IOS routers which you can follow and bypass password control in order to [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most frustrating moments as a network administrator is when you desperately want to log on to a Cisco router and you try all possible passwords you have with no success. Fortunately there is a <strong>Cisco password recovery</strong> procedure for IOS routers which you can follow and bypass password control in order to get access to the device. The bad thing is that this procedure will cause network downtime since you have to reboot the router a couple of times. Follow the steps below to recover (or change) the forgotten router password:</p>
<p>The following procedure is applicable for virtually any Cisco router, such as 800, 2600, 3600, 1800,2800,3800 etc.</p>
<p><span style="text-decoration: underline;">Step1:  </span><br />
Connect to the router with a serial console cable and open your terminal emulation software (I personally use secureCRT). Use the normal terminal settings (9600 baud, no parity, 8 data bits, 1 stop bit, no flow control). After that, you should get the command prompt.</p>
<p><span style="text-decoration: underline;">Step2:</span><br />
Now you have to power OFF the router from the power switch. Get ready on your keyboard and turn the power switch to ON. Immediately press the <strong>CTRL+BREAK</strong> keys on your keyboard several times until the router goes into ROMMON mode. You will see the <strong><em>rommon 1&gt;</em></strong> prompt on your terminal window.</p>
<p><span style="text-decoration: underline;">Step3:</span><br />
Now you need to change the configuration register of your router. This register is responsible to control several boot-up and hardware parameters on the device. The normal value of this register is 0&#215;2102. We will need to change it to <strong>0&#215;2142</strong>. This new value tells the router to bypass the startup-configuration (where the password is stored) and boot with the factory default configuration (i.e no password request).</p>
<p>At the rommon prompt type the following:</p>
<p><strong><em>rommon 1</em></strong><strong>&gt; confreg 0&#215;2142</strong><strong></strong><br />
<strong><em>rommon 2</em></strong><strong>&gt; reset</strong></p>
<p>The “reset” command will reboot the device.</p>
<p><span style="text-decoration: underline;">Step4:</span><br />
After the router reboots, it will ignore the startup configuration and will behave like the very first time that you switched on the device. It will therefore run the initial setup script. Type “<strong>no</strong>” at the setup request or press “Ctrl-C” to terminate the initial setup procedure.</p>
<p><span style="text-decoration: underline;">Step5:</span><br />
Now you will get the <strong>Router&gt;</strong> prompt. Type “<strong>enable</strong>” to get into privilege mode.</p>
<p><strong>Router&gt; enable</strong><br />
<strong>Router# </strong> </p>
<p><span style="text-decoration: underline;">Step6:</span><br />
Now we need to load the “Startup-Config” into the “Running-Config”.</p>
<p><strong>Router# copy</strong> <strong>startup-config running-config</strong></p>
<p>IMPORTANT: DO NOT copy the running config into the startup config because now the running config is basically empty (factory default) so it will erase all of your startup config.</p>
<p><span style="text-decoration: underline;">Step7:</span><br />
Now we are ready to change our passwords. Change the enable password as below.</p>
<p><strong>Router#config t</strong><br />
<strong>Router(config)# enable secret <em>newpassword</em></strong></p>
<p><span style="text-decoration: underline;">Step8:</span><br />
Another important step now is to change the configuration register back to its normal value which is 0&#215;2102</p>
<p><strong>Router(config)#</strong><strong>config-register </strong><strong><em>0&#215;2102</em></strong></p>
<p><span style="text-decoration: underline;">Step9:</span><br />
Now save the configuration and reboot.</p>
<p><strong>Router(config)#exit</strong><br />
<strong>Router# write</strong><br />
<strong>Router# reload</strong></p>
<p><span style="text-decoration: underline;">Step10:</span><br />
After the router boots up, log on with your new password and enable all interfaces (using “<strong>no shutdown</strong>”) because during the recovery procedure the interfaces get shut down.<br />
 <br />
What we have done in the above 10 steps is that we bypassed the original configuration that has the forgotten password, and then we got to the privileged mode without the need to know the password. Then we loaded the original configuration into RAM (so we don’t loose it) and imposed a new password and saved things back to the NVRAM. And then we got back to the original boot sequence.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networkstraining.com/cisco-router-password-recovery-how-to-recover-cisco-router-lost-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.networkstraining.com @ 2012-02-04 12:45:13 -->
