<?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>www.networking-forum.com/blog</title>
	<atom:link href="http://www.networking-forum.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.networking-forum.com/blog</link>
	<description>Think you know Cisco? Think again.</description>
	<lastBuildDate>Thu, 23 May 2013 22:09:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>testes</title>
		<link>http://www.networking-forum.com/blog/?p=2611</link>
		<comments>http://www.networking-forum.com/blog/?p=2611#comments</comments>
		<pubDate>Thu, 23 May 2013 22:09:32 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.networking-forum.com/blog/?p=2611</guid>
		<description><![CDATA[321]]></description>
				<content:encoded><![CDATA[<p>321</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networking-forum.com/blog/?feed=rss2&#038;p=2611</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>testing</title>
		<link>http://www.networking-forum.com/blog/?p=2608</link>
		<comments>http://www.networking-forum.com/blog/?p=2608#comments</comments>
		<pubDate>Thu, 23 May 2013 21:41:16 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.networking-forum.com/blog/?p=2608</guid>
		<description><![CDATA[123]]></description>
				<content:encoded><![CDATA[<p>123</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networking-forum.com/blog/?feed=rss2&#038;p=2608</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading IOS on a Cisco 6500 with a single SUP720</title>
		<link>http://www.networking-forum.com/blog/?p=2505</link>
		<comments>http://www.networking-forum.com/blog/?p=2505#comments</comments>
		<pubDate>Mon, 07 Jan 2013 15:05:19 +0000</pubDate>
		<dc:creator>ristau5741</dc:creator>
				<category><![CDATA[Cisco Networking]]></category>
		<category><![CDATA[6500]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.networking-forum.com/blog/?p=2505</guid>
		<description><![CDATA[Upgrading IOS on a Cisco 6500 isn&#8217;t necessarily as simple as loading an IOS image and rebooting the switch.  There are several other items that should also be considered such as modules, firmware, and field programmable devices.  The firmware is the low level operating system beneath IOS that controls how the various components work and [...]]]></description>
				<content:encoded><![CDATA[<p>Upgrading IOS on a Cisco 6500 isn&#8217;t necessarily as simple as loading an IOS image and rebooting the switch.  There are several other items that should also be considered such as modules, firmware, and field programmable devices.  The firmware is the low level operating system beneath IOS that controls how the various components work and interact.</p>
<p>These are some items that might need to be upgraded in addition to the IOS:</p>
<ul>
<li>CEF720 line card firmware</li>
<li>SUP720 switch processor firmware</li>
<li>MSFC3 route processor firmware</li>
<li>Field Programmable Device firmware</li>
</ul>
<p></p>
<p>Each of the above have their own firmware naming conventions and it can be difficult to find these files.  Try to Google partial file names to locate the correct images on the Cisco site.  Here are some tips for finding firmware:</p>
<ol>
<li>The CEF720 line card firmware starts with c2lc-rm2.  As of this writing, 12.2(18r)S1 is the current version and the current file name is c2lc-rm2.srec.122-18r-S1</li>
<li>The SUP720 firmware starts with c6ksup720.  As of this writing, 8.5(4) is the current version and the current file name is c6ksup720-rm2-srec.8-5-4.srec.</li>
<li>The MSFC3 firmware starts with c6msfc, as of this writing 12.2(17r)SX7 is the current version and the current file name is c6msfc3-rm2-srec.122-17r.SX7.</li>
<li>The field programmable device firmware starts with c6500-fpd-pkg.  As of this writing, 12.2(33)SXJ3 is the current version and the current file name is c6500-fpd-pkg.122-33.SXJ3.pkg</li>
<li>The IOS images for the 6500 series SUP720 firmware starts with s72033.  As of this writing, 12.2(33)SXJ3 is the current version and the current file name is s72033-ipbase-mz.122-33.SXJ3, depending on your IOS license version</li>
</ol>
<p></p>
<p>Field programmable devices start with SIP or SPA as part of the module name.  You can verify if your chassis has a field programmable device by issuing the following command in the CLI:</p>
<pre>show hw-module all fpd</pre>
<p><span id="more-2505"></span></p>
<h2>The Line Card Upgrade</h2>
<p><em>Always review the release notes, open caveats, and perform a bug scrape on the Cisco web site to determine if any of these upgrades will affect your production network, also verify that your line cards are supported with the new IOS and firmware versions.</em></p>
<p>First, copy all the necessary files to the flash on the switch, either to the disk0: or sup-bootflash: or bootflash: depending on what space is available in flash: and verify the md5 checksum of the IOS .bin images. (For purposes here, I copied the files to bootlfash:)</p>
<p>Second, backup of the config (<em>use your current backup methodology</em>).</p>
<p>Third, enter the “show module” look for CEF720 modules. As shown in the card type column, each of these CEF720 line cards will need to have their firmware upgraded. (If there are none listed, the line card firmware upgrade step can be skipped).</p>
<p>For each of these modules:</p>
<p><strong>show rom-monitor slot x</strong> (where x is the module number from the show module output)</p>
<pre>Router# <strong>show rom-monitor slot 4</strong>
   Region F1:APPROVED, preferred
   Region F2:INVALID Currently running ROMMON from F1 region
Router#</pre>
<p>The output will display where the active ROMMON is running</p>
<p>For each of the CEF720 line cards we are going to enter the following command (where # is the slot number of the CEF720 Line Card, (4 is used in this example)</p>
<p>To upgrade the line card firmware, use the command <strong>upgrade rom-monitor slot # file bootflash:</strong><strong>c2lc-rm2.srec.122-18r.S1</strong></p>
<pre>Router# <strong>upgrade rom-monitor slot 4 file bootflash:</strong><strong>c2lc-rm2.srec.122-18r.S1</strong>
Copying bootflash:c2lc-rm2.srec.122-18r.S1 onto bootflash of dfc#4 CCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Router#
19:40:08: DFC4: ROMMON image upgrade in progress
19:40:08: DFC4: Erasing flash
19:40:11: DFC4: Programming flash
19:40:13: DFC4: Verifying new image
19:40:13: DFC4: ROMMON image upgrade complete
 The card must be reset for this to take effect</pre>
<p>If you are not seeing similar output, check your log .i.e. show logging, it should be there.</p>
<p>Next, verify the firmware is ready to run.</p>
<p>Use the <strong>show rom-monitor slot 4</strong> command to verify</p>
<pre>Router# <strong>show rom-monitor slot 4</strong>
Region F1:APPROVED
Region F2:FIRST_RUN, preferred
Currently running ROMMON from F1 region
Router#</pre>
<p>Reset the line card to have the new line card firmware take effect.</p>
<p>Use the following command to reset the line card<br />
<strong>hw-module module 4 reset</strong></p>
<pre><strong>Router# hw-module module 4 reset</strong></pre>
<p>Verify the new firmware is running with the command <strong>show rom-monitor slot 4</strong><br />
&nbsp;</p>
<pre>Router# <strong>show rom-monitor slot 4</strong>
   Region F1:APPROVED
   Region F2:APPROVED, preferred
   Currently running ROMMON from F2 region
Router#</pre>
<p>Verify the line card is running the new firmware with the <strong>show module</strong> command</p>
<pre> show module</pre>
<p>Perform this action for each of your CEF720 line cards.</p>
<h2>The SUP720 Switch Processor Firmware</h2>
<p>Once confirmed we can move on to the SUP720 firmware, which is a similar process (where X is the slot your SUP720 is in, (for this example Slot 5)</p>
<p>We use a slightly modified version on the same command <strong>show rom-monitor slot X sp</strong></p>
<pre>Router# <strong>show rom-monitor slot 5 sp</strong>
   Region F1:APPROVED, preferred
   Region F2:INVALID
   Currently running ROMMON from F1 region
Router#</pre>
<p>The output will display where the active switch processor ROMMON is running</p>
<p>To upgrade the switch processor firmware we will use the command <strong>upgrade rom-monitor slot 5 sp file bootflash:c6ksup720-rm2-srec.8-5-4.srec</strong></p>
<pre><strong>upgrade rom-monitor slot 5 sp file bootflash:c6ksup720-rm2-srec.8-5-4.srec</strong>
   ROMMON image upgrade in progress

   Erasing flash
   Programming flash
   Verifying new image
   ROMMON image upgrade complete
   The card must be reset for this to take effect</pre>
<p>Again, if you are not seeing similar output, check your log .i.e. show logging</p>
<p>Verify the firmware is ready to run with the command <strong>show rom-monitor slot 5 sp</strong></p>
<pre>Router# <strong>show rom-monitor slot 5 sp</strong>
   Region F1:APPROVED
   Region F2:FIRST_RUN, preferred
   Currently running ROMMON from F1 region
Router#</pre>
<p>Reload the switch</p>
<pre><strong>reload</strong></pre>
<p>When the system comes back up, verify the new firmware is running with the command <strong>show rom-monitor slot 5 sp</strong></p>
<pre>Router# <strong>show rom-monitor slot 5 sp</strong>
   Region F1:APPROVED
   Region F2:APPROVED, preferred
   Currently running ROMMON from F2 region 
Router#</pre>
<pre><strong>show version</strong></pre>
<h2>The SUP720 MSFC Firmware</h2>
<p>Once confirmed we can move on to the SUP720 MSFC Firmware, again a similar process (where X is the slot your SUP720 is in (for this example Slot 5).</p>
<p>We use a slightly modified version on the same command <strong>show rom-monitor slot X rp</strong></p>
<pre>Router# <strong>show rom-monitor slot 5 rp</strong>
   Region F1:APPROVED, preferred
   Region F2:INVALID
   Currently running ROMMON from F1 region
Router#</pre>
<p>The output will display where the active switch processor ROMMON is running</p>
<p>We use the following command to upgrade the Route Processor firmeware<br />
<strong>upgrade rom-monitor slot 5 rp file bootflash:c6msfc3-rm2-srec.122-17r.SX7</strong></p>
<pre>Router# <strong>upgrade rom-monitor slot 5 rp file bootflash:c6msfc3-rm2-srec.122-17r.SX7</strong>
   ROMMON image upgrade in progress
   Erasing flash
   Programming flash
   Verifying new image
   ROMMON image upgrade complete
   The card must be reset for this to take effect</pre>
<p>Verify the firmware is ready to run with the command <strong>show rom-monitor slot 5 rp</strong></p>
<pre>Router# show rom-monitor slot 5 rp
   Region F1:APPROVED
   Region F2:FIRST_RUN, preferred
   Currently running ROMMON from F1 region 
Router#</pre>
<p>reload the switch</p>
<pre><strong>reload</strong></pre>
<p>When the system comes back up, verify the new ROMMON is running with the command <strong>show rom-monitor slot 5 rp</strong></p>
<pre>Router# <strong>show rom-monitor slot 5 rp</strong>
   Region F1:APPROVED
   Region F2:APPROVED, preferred
   Currently running ROMMON from F2 region 
Router#</pre>
<pre><strong> show version</strong></pre>
<p>The field programmable devices are probably the easiest, if your hardware requires it, copy the file to the same location as the IOS image, the IOS image is smart enough to look for the firmware upgrade and will load it if it finds it, via the location specified in the boot statement. <strong>(If the 6500 does not find this file, your modules may not power up)</strong>. For this example I uploaded the file to Disk0: and copy the file to bootflash:.</p>
<pre>Router# <strong>copy disk0:c6500-fpd-pkg.122-33.SXJ3.pkg bootflash: c6500-fpd-pkg.122-33.SXJ3.pkg</strong></pre>
<p>Before we reload the switch, we need to make sure the new IOS image is in the same location as stated above.</p>
<pre>Router# <strong>copy disk0: s72033-ipbase-mz.122-33.SXJ3 bootflash:s72033-ipbase-mz.122-33.SXJ3</strong></pre>
<p>Remove the old boot statements (Your images and location may vary, depending on your configuration).</p>
<pre>Router# <strong>Config term</strong>
Router# <strong>no boot system bootflash:s72033-ipbase-mz.122-33.SXJ1</strong>
Router# <strong>no boot system bootflash:s72033-ipbase-mz.122-33.SXH8</strong></pre>
<p>Add the new boot statements, preserving the previous known good IOS version,  in case fallback is needed</p>
<pre>Router# <strong>boot system bootflash:s72033-ipbase-mz.122-33.SXJ3</strong>
Router# <strong>boot system bootflash:s72033-ipbase-mz.122-33.SXJ1</strong></pre>
<p>Reload the switch</p>
<pre>Router# <strong>reload</strong></pre>
<p>When the system comes back up, verify the new IOS is running with the command <strong>show ver</strong></p>
<pre>Router# <strong>show ver</strong></pre>
<p><strong><em>Run your post upgrade test to verify that all production is functioning as expected. </em></strong></p>
<p>Note: If firmware has never been upgraded on the device, you may see different output when you perform the command <strong>show rom-monitor slot 4</strong></p>
<pre>
router#show rom-monitor slot 4
Region F1: INVALID
Region F2: INVALID
Currently running ROMMON from S (Gold) region
</pre>
<p>Also, your initial upgrade may go into Region F1, rather than Region F2 as is described in this document</p>
<p>Running from the S (Gold region) simply means that the firmware is running from the embedded EEPROM chip in the CEF720 Card/SUP720/MSFC. This is normal.</p>
<h2>Comments</h2>
<p><a href="http://www.networking-forum.com/viewtopic.php?f=62&amp;t=35191">A thread</a>  has been created on the site forum specifically for commenting on this blog post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networking-forum.com/blog/?feed=rss2&#038;p=2505</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Automated Config Backup</title>
		<link>http://www.networking-forum.com/blog/?p=2497</link>
		<comments>http://www.networking-forum.com/blog/?p=2497#comments</comments>
		<pubDate>Wed, 10 Oct 2012 15:26:40 +0000</pubDate>
		<dc:creator>Perlhack</dc:creator>
				<category><![CDATA[Cisco Networking]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.networking-forum.com/blog/?p=2497</guid>
		<description><![CDATA[SNMP provides a common management interface across platforms that support the MIB OIDs. The ability to automate a process once and not having to worry about CLI syntax nuances across different platforms makes SNMP an ideal choice for network management. The CISCO-CONFIG-COPY-MIB can be used to backup configurations on devices that support this MIB. There [...]]]></description>
				<content:encoded><![CDATA[<p>SNMP provides a common management interface across platforms that support the MIB OIDs.   The ability to automate a process once and not having to worry about CLI syntax nuances across different platforms makes SNMP an ideal choice for network management.  The CISCO-CONFIG-COPY-MIB can be used to backup configurations on devices that support this MIB.  </p>
<p>There are many products on the market that can backup Cisco device configurations and typically require the user to make a config file that defines each IP address of the device to backup.   I manage a lab infrastructure that consists of an aggregate /17 network (consists of ~700 live hosts at any one time) and devices in the lab are constantly being removed/added.  Trying to track individual IP addresses in this environment is difficult. The ability to execute automatic host discovery, and once a host is discovered backup the configuration.  The aforementioned challenge has to be solved post-haste and I have a budget of $0 for new products.   Here is my solution for automated host discovery and config backup.</p>
<p>Configurations are backed up by FTP after writing to the appropriate MIB objects. Networks are scanned by NMAP using ICMP (automatic host discovery).  Hosts that reply to the ICMP request are a candidate for backup.  Configuration backup will succeed provided that device is using SNMPv2c write access communities or SNMPv3 write access users.   Script below uses SNMPv3 as an example.   Script will create a directory (named by date) under the users home directory and the backup files will appear as the IP addresses of the device.</p>
<p><span id="more-2497"></span></p>
<h3>Platform Dependencies</h3>
<ol>
<li>NMAP</li>
<li>Perl</li>
<li>NET-SNMP</li>
<li>FTP Server</li>
<li>Crontab (optional)</li>
</ol>
<p></p>
<h3>Automated Flow Process</h3>
<ol>
<li>Populate the @NET array with networks to scan</li>
<li>Populate these 6 variables with your network credentials</li>
<pre>$snmpuser="tmev3user";
$user = "ftpuser";
$pass = "ftppassword";
$auth = "tmev3user";
$priv = "tmev3user";
$FTPSERVER="192.168.0.125";</pre>
<li>Launch the script manually or add to crontab for automated backup</li>
</ol>
<pre>
#!/usr/bin/perl

system(clear);
$date = `date +%b_%d_%Y`;
$date =~ s/\n//g;
$home = $ENV{HOME};
$dirname = "$home/$date";
$dir = `mkdir $dirname`;
print "\n nmap scanning networks ....\n";
@NET = qw(192.168.0.0/24);
  foreach $NET (@NET) {
  @IPP = `nmap -sP $NET`;

    foreach $IP (@IPP) {
      if ($IP =~ /Host (\d+\.\d+\.\d+\.\d+) is up .*/){
      push(@IP , "$1\n");
      } elsif ($IP =~ /^Nmap scan report for (\d+\.\d+\.\d+\.\d+)/) {
      $address = $1;
      push(@IP , "$address\n");
      }
    }
}
print "Host Candidates for backup:
@IP";
open(STDERR , "&gt;&gt; /dev/null");
print "\n\n
----------------------------------------------------------------
Backup on $date
----------------------------------------------------------------\n\n";
foreach $IP (@IP) {
$IP =~ s/\n//;
print "\nSNMP info for $IP\n";
$snmpuser="tmev3user";
$user = "ftpuser";
$pass = "ftppassword";
$auth = "tmev3user";
$priv = "tmev3user";
$FTPSERVER="192.168.0.125";
$FILENAME="$date/$IP";
$RND="10";

system("snmpset -M /dev/null -v3 -u $snmpuser -l authPriv -a md5 -A $auth -x AES -X $priv $IP 1.3.6.1.4.1.9.9.96.1.1.1.1.2.$RND i 2 1.3.6.1.4.1.9.9.96.1.1.1.1.3.$RND i 4 1.3.6.1.4.1.9.9.96.1.1.1.1.7.$RND s $user 1.3.6.1.4.1.9.9.96.1.1.1.1.8.$RND s $pass 1.3.6.1.4.1.9.9.96.1.1.1.1.4.$RND i 1 1.3.6.1.4.1.9.9.96.1.1.1.1.5.$RND a $FTPSERVER 1.3.6.1.4.1.9.9.96.1.1.1.1.6.$RND s $FILENAME 1.3.6.1.4.1.9.9.96.1.1.1.1.14.$RND i 4");
sleep 5;
system("snmpget -M /dev/null -On -v3 -u $snmpuser -l authPriv -a md5 -A $auth -x AES -X $priv $IP 1.3.6.1.4.1.9.9.96.1.1.1.1.10.$RND");
sleep 5;
system("snmpset -M /dev/null -On -v3 -u $snmpuser -l authPriv -a md5 -A $auth -x AES -X $priv $IP 1.3.6.1.4.1.9.9.96.1.1.1.1.14.$RND i 6");
}
</pre>
<h3>SNMPv3 Example for Cisco IOS Devices</h3>
<pre>
snmp-server user tmev3user WriteTest v3 auth md5 tmev3user priv aes 128 tmev3user
snmp-server group WriteTest v3 auth read ViewTest write WriteTest
snmp-server view ViewTest iso included
snmp-server view WriteTest iso included
</pre>
<p><b>Example</b></p>
<ol>
<li>Populate @NET array and 6 variables for your network</li>
<li>Launch script</li>
<pre>$ ./backupv3.pl 
 nmap scanning networks ....
Host Candidates for backup:
192.168.0.1
 192.168.0.250
 192.168.0.251

----------------------------------------------------------------
Backup on Sep_10_2012
----------------------------------------------------------------


SNMP info for 192.168.0.1
iso.3.6.1.4.1.9.9.96.1.1.1.1.2.10 = INTEGER: 2
iso.3.6.1.4.1.9.9.96.1.1.1.1.3.10 = INTEGER: 4
iso.3.6.1.4.1.9.9.96.1.1.1.1.7.10 = STRING: "ftpuser"
iso.3.6.1.4.1.9.9.96.1.1.1.1.8.10 = STRING: "ftppassword"
iso.3.6.1.4.1.9.9.96.1.1.1.1.4.10 = INTEGER: 1
iso.3.6.1.4.1.9.9.96.1.1.1.1.5.10 = IpAddress: 192.168.0.125
iso.3.6.1.4.1.9.9.96.1.1.1.1.6.10 = STRING: "Sep_10_2012/192.168.0.1"
iso.3.6.1.4.1.9.9.96.1.1.1.1.14.10 = INTEGER: 4
.1.3.6.1.4.1.9.9.96.1.1.1.1.10.10 = INTEGER: 3
.1.3.6.1.4.1.9.9.96.1.1.1.1.14.10 = INTEGER: 6

SNMP info for 192.168.0.250
iso.3.6.1.4.1.9.9.96.1.1.1.1.2.10 = INTEGER: 2
iso.3.6.1.4.1.9.9.96.1.1.1.1.3.10 = INTEGER: 4
iso.3.6.1.4.1.9.9.96.1.1.1.1.7.10 = STRING: "ftpuser"
iso.3.6.1.4.1.9.9.96.1.1.1.1.8.10 = STRING: "ftppassword"
iso.3.6.1.4.1.9.9.96.1.1.1.1.4.10 = INTEGER: 1
iso.3.6.1.4.1.9.9.96.1.1.1.1.5.10 = IpAddress: 192.168.0.125
iso.3.6.1.4.1.9.9.96.1.1.1.1.6.10 = STRING: "Sep_10_2012/192.168.0.250"
iso.3.6.1.4.1.9.9.96.1.1.1.1.14.10 = INTEGER: 4
.1.3.6.1.4.1.9.9.96.1.1.1.1.10.10 = INTEGER: 3
.1.3.6.1.4.1.9.9.96.1.1.1.1.14.10 = INTEGER: 6

SNMP info for 192.168.0.251
iso.3.6.1.4.1.9.9.96.1.1.1.1.2.10 = INTEGER: 2
iso.3.6.1.4.1.9.9.96.1.1.1.1.3.10 = INTEGER: 4
iso.3.6.1.4.1.9.9.96.1.1.1.1.7.10 = STRING: "ftpuser"
iso.3.6.1.4.1.9.9.96.1.1.1.1.8.10 = STRING: "ftppassword"
iso.3.6.1.4.1.9.9.96.1.1.1.1.4.10 = INTEGER: 1
iso.3.6.1.4.1.9.9.96.1.1.1.1.5.10 = IpAddress: 192.168.0.125
iso.3.6.1.4.1.9.9.96.1.1.1.1.6.10 = STRING: "Sep_10_2012/192.168.0.251"
iso.3.6.1.4.1.9.9.96.1.1.1.1.14.10 = INTEGER: 4
.1.3.6.1.4.1.9.9.96.1.1.1.1.10.10 = INTEGER: 3
.1.3.6.1.4.1.9.9.96.1.1.1.1.14.10 = INTEGER: 6</pre>
<li>Verify configuration files are present</li>
<pre>$ cd Sep_10_2012/
Sep_10_2012]$ ls -1
192.168.0.1
192.168.0.250
192.168.0.251</pre>
</ol>
<h2>Comments</h2>
<p><a href="http://www.networking-forum.com/viewtopic.php?f=62&#038;t=33648">A thread</a>  has been created on the site forum specifically for commenting on this blog post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networking-forum.com/blog/?feed=rss2&#038;p=2497</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decreasing BGP Failover Time Using IP SLA</title>
		<link>http://www.networking-forum.com/blog/?p=2401</link>
		<comments>http://www.networking-forum.com/blog/?p=2401#comments</comments>
		<pubDate>Wed, 13 Jun 2012 23:37:55 +0000</pubDate>
		<dc:creator>kannies</dc:creator>
				<category><![CDATA[Cisco Networking]]></category>
		<category><![CDATA[BGP]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[failover]]></category>
		<category><![CDATA[HSRP]]></category>
		<category><![CDATA[IP SLA]]></category>

		<guid isPermaLink="false">http://www.networking-forum.com/blog/?p=2401</guid>
		<description><![CDATA[Service providers are moving away from from providing TDM point-to-point based circuits and we are now seeing more provisioning of Metro Ethernet to the customer site. This leaves us with an issue in that when your BGP peer becomes unreachable, because your local FastEthernet interface on the CE will still be up/up as it will [...]]]></description>
				<content:encoded><![CDATA[<p>Service providers are moving away from from providing TDM point-to-point based circuits and we are now seeing more provisioning of Metro Ethernet to the customer site.</p>
<p>This leaves us with an issue in that when your BGP peer becomes unreachable, because your local FastEthernet interface on the CE will still be up/up as it will probably be connected to some Layer 2 device, the customer network could suffer a complete outage for up to 3 minutes. The BGP default hold time is 180 seconds. For a customer that has been sold a 100M pipe with resilience this is not going to make them happy.</p>
<p><span id="more-2401"></span></p>
<p>Here is the topology I am using for this example:</p>
<p><img class="alignnone size-full wp-image-2411" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/Topology1.png" alt="" width="656" height="652" /></p>
<p>Gateways 1 &amp; 2 have an iBGP neighborship over the f0/0 cross-link and provide a virtual default gateway using HSRP on the f0/1 LAN.</p>
<p>The LAN_HOST is not aware of routing and simply has a default route pointed to the HSRP address 192.168.1.1.</p>
<p>Gateway 1 is the primary router for inbound and outbound traffic. This is enforced using the following policies:</p>
<ul>
<li>Gateway 1 is the HSRP primary</li>
<li>Gateway 1 has an inbound route map which sets the local preference to 150 for the prefix 198.77.64.40 witch is also the gateway of last resort as defined by a static route. This manipulates outbound traffic.</li>
<li>Gateway 1 and Gateway 2 both have an outbound route map which sets the Med to 50 &amp; 200 respectively. This manipulates inbound traffic.</li>
</ul>
<p></p>
<p>Under normal conditions, the LAN can reach the Internet.</p>
<p><img class="alignnone size-full wp-image-2414" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/ping1.png" alt="" width="504" height="105" /></p>
<p>Here is an extended PING while PE1 experiences an outage.</p>
<p><img class="alignnone size-full wp-image-2415" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/ping2.png" alt="" width="521" height="247" /></p>
<p>That&#8217;s a long outage!</p>
<p>There are 2 problems:</p>
<ul>
<li>HSRP is monitoring the interface status and, even though PE1 went down, g1/0 on Gateway 1 didn&#8217;t.</li>
<li>Because g1/0 didn&#8217;t go down, BGP didn&#8217;t shut the peering to PE1 down, instead it waited until the hold time expired.  During this time, outbound/inbound traffic was being black holed.</li>
</ul>
<p></p>
<p>Now let&#8217;s speed things up.</p>
<h2>Using IP SLA &amp; BGP Failover</h2>
<p>On Gateway 1 create an IP SLA process which starts PINGing the eBGP peer 10.1.1.253 every 5 seconds.</p>
<p><img class="alignnone size-full wp-image-2418" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/ip-sla11.png" alt="" width="539" height="113" /></p>
<p>Next create an object which tracks this process. Use number 2 because Object 1 is used on the HSRP interface tracker.</p>
<p><img class="alignnone size-full wp-image-2419" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/track1.png" alt="" width="216" height="48" /></p>
<p>Next create a /32 static route to the peer using the peer itself as the next hop which uses the object status to validate itself. This will override the /30 connected route.</p>
<p><img class="alignnone size-full wp-image-2429" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/iprouteobj2.png" alt="" width="551" height="19" /></p>
<p>Next create a prefix list to match this route.</p>
<p><img class="alignnone size-full wp-image-2422" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/prefix_list.png" alt="" width="520" height="37" /></p>
<p>Then create a route-map which matches the prefix-list.</p>
<p><img class="alignnone size-full wp-image-2423" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/route-map.png" alt="" width="510" height="45" /></p>
<p>Finally add the following neighbor statement under the BGP process which uses the route-map and the BGP failover feature.</p>
<p><img class="alignnone size-full wp-image-2425" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/fallover.png" alt="" width="495" height="45" /></p>
<p>The output is truncated, the full command is:  &#8220;neighbor 10.1.1.253 fall-over route-map PEER_REACHABLE&#8221;</p>
<p>With this in effect, outage time is shorter because the eBGP peer on Gateway 1 is shut down immediately upon it being unreachable which will purge any stagnant routes in the routing table.</p>
<p><img class="alignnone size-full wp-image-2431" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/new_trace.png" alt="" width="526" height="583" /></p>
<p>Another final touch is to switch over the HSRP primary to avoid sub optimal routing by tracking the same object we created for BGP Failover.</p>
<p><img class="alignnone size-full wp-image-2432" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/standbytrack.png" alt="" width="263" height="47" /></p>
<p>This at least removes a hop from our trace.</p>
<p><img class="alignnone size-full wp-image-2433" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/final_trace.png" alt="" width="271" height="143" /></p>
<p>There is little more we can do on the customer&#8217;s network AS100 as the remaining failover delay exists on the service provider network AS200.</p>
<p>PE1 &amp; PE2 peer using loopbacks learned via OSPF with the Next-Hop-Self option set. The default OSPF hold-time is 40 seconds on the broadcast segment over the 172.16.0.0/30 network. When OSPF dies, the BGP Next-hop becomes unreachable and the associated routes are removed long before the BGP peering times out.</p>
<p>Just for giggles, changing the OSPF Hello &amp; dead intervals to 2 &amp; 6 respectively results in the following improved failover time.</p>
<p><img class="alignnone size-full wp-image-2435" src="http://www.networking-forum.com/blog/wp-content/uploads/2012/05/final_ping.png" alt="" width="517" height="154" /></p>
<p>We could just avoid all this headache and reduce the BGP hold timers in the first place, but that would be no fun <img src='http://www.networking-forum.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I am open for constructive criticism from the senior forum members as to what better designs could be deployed in this scenario.</p>
<p>I hope you enjoyed reading and it has been beneficial for you.</p>
<p>For completeness, please see below the configs for both Gateways and PEs.</p>
<h2>Gateway 1</h2>
<pre>
track 2 rtr 1
!
!
!
!
interface FastEthernet0/0
ip address 192.168.255.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.1.253 255.255.255.0
duplex full
speed 100
standby 1 ip 192.168.1.1
standby 1 priority 105
standby 1 preempt
standby 1 track GigabitEthernet1/0
standby 1 track 2 decrement 10
!
interface GigabitEthernet1/0
ip address 10.1.1.254 255.255.255.252
negotiation auto
!
router bgp 100
no synchronization
bgp log-neighbor-changes
network 192.168.1.0
neighbor 10.1.1.253 remote-as 200
neighbor 10.1.1.253 fall-over route-map PEER_REACHABLE
neighbor 10.1.1.253 route-map INTERNET in
neighbor 10.1.1.253 route-map PRIMARY out
neighbor 192.168.255.2 remote-as 100
neighbor 192.168.255.2 next-hop-self
no auto-summary
!
ip forward-protocol nd
ip route 10.1.1.253 255.255.255.255 GigabitEthernet1/0 10.1.1.253 track 2
ip route 0.0.0.0 0.0.0.0 198.77.64.40
no ip http server
no ip http secure-server
!
!
!
!
ip prefix-list INTERNET seq 5 permit 198.77.64.40/32
!
ip prefix-list PEER_REACHABLE seq 5 permit 10.1.1.253/32
!
ip prefix-list PRIMARY seq 5 permit 192.168.1.0/24
ip sla 1
icmp-echo 10.1.1.253
frequency 5
ip sla schedule 1 life forever start-time now
logging alarm informational
!
!
!
route-map PEER_REACHABLE permit 10
match ip address prefix-list PEER_REACHABLE
!
route-map INTERNET permit 10
match ip address prefix-list INTERNET
set local-preference 150
!
route-map INTERNET permit 20
!
route-map PRIMARY permit 10
match ip address prefix-list PRIMARY
set metric 50
!
route-map PRIMARY permit 20
</pre>
<h2>Gateway 2</h2>
<pre>
interface FastEthernet0/0
ip address 192.168.255.2 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.1.254 255.255.255.0
duplex auto
speed auto
standby 1 ip 192.168.1.1
standby 1 preempt
standby 1 track GigabitEthernet1/0
!
interface GigabitEthernet1/0
ip address 10.2.2.254 255.255.255.252
negotiation auto
!
router bgp 100
no synchronization
bgp log-neighbor-changes
network 192.168.1.0
neighbor 10.2.2.253 remote-as 200
neighbor 10.2.2.253 route-map BACKUP out
neighbor 192.168.255.1 remote-as 100
neighbor 192.168.255.1 next-hop-self
no auto-summary
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 198.77.64.40
no ip http server
no ip http secure-server
!
!
!
!
ip prefix-list BACKUP seq 5 permit 192.168.1.0/24
!
ip prefix-list INTERNET seq 5 permit 198.77.64.40/32
logging alarm informational
!
!
!
route-map BACKUP permit 10
match ip address prefix-list BACKUP
set metric 200
!
route-map BACKUP permit 20
</pre>
<h2>PE1</h2>
<pre>
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface GigabitEthernet1/0
ip address 10.1.1.253 255.255.255.252
negotiation auto
!
interface FastEthernet2/0
ip address 172.16.1.1 255.255.255.252
ip ospf hello-interval 2
ip ospf dead-interval 6
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet3/0
no ip address
shutdown
negotiation auto
!
router ospf 1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 0
network 172.16.0.0 0.0.255.255 area 0
!
router bgp 200
no synchronization
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 200
neighbor 2.2.2.2 update-source Loopback0
neighbor 2.2.2.2 next-hop-self
neighbor 10.1.1.254 remote-as 100
no auto-summary
</pre>
<h2>PE2</h2>
<pre>
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface GigabitEthernet1/0
ip address 10.2.2.253 255.255.255.252
negotiation auto
!
interface FastEthernet2/0
ip address 172.16.1.2 255.255.255.252
ip ospf hello-interval 2
ip ospf dead-interval 6
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
interface GigabitEthernet3/0
ip address 10.3.3.253 255.255.255.252
negotiation auto
!
router ospf 1
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 172.16.0.0 0.0.255.255 area 0
!
router bgp 200
no synchronization
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 200
neighbor 1.1.1.1 update-source Loopback0
neighbor 1.1.1.1 next-hop-self
neighbor 10.2.2.254 remote-as 100
neighbor 10.3.3.254 remote-as 40
no auto-summary
</pre>
<p>Finally here are the IP Routing and BGP table on Gateway 1 before and after a failover.</p>
<pre>
Gateway1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 198.77.64.40 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C       10.1.1.252/30 is directly connected, GigabitEthernet1/0
S       10.1.1.253/32 [1/0] via 10.1.1.253, GigabitEthernet1/0
192.168.255.0/30 is subnetted, 1 subnets
C       192.168.255.0 is directly connected, FastEthernet0/0
C    192.168.1.0/24 is directly connected, FastEthernet0/1
198.77.64.0/32 is subnetted, 1 subnets
B       198.77.64.40 [20/0] via 10.1.1.253, 00:01:04
S*   0.0.0.0/0 [1/0] via 198.77.64.40
Gateway1#show ip bgp sum
Gateway1#show ip bgp
BGP table version is 30, local router ID is 192.168.255.1
Status codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

Network          Next Hop            Metric LocPrf Weight Path
* i192.168.1.0      192.168.255.2            0    100      0 i
*&gt;                  0.0.0.0                  0         32768 i
*&gt; 198.77.64.40/32  10.1.1.253                    150      0 200 40 i
Gateway1#
*May 28 23:41:08.563: %TRACKING-5-STATE: 2 rtr 1 state Up-&gt;Down
*May 28 23:41:08.563: %BGP-5-ADJCHANGE: neighbor 10.1.1.253 Down Route to peer lost
Gateway1#
*May 28 23:41:09.631: %HSRP-5-STATECHANGE: FastEthernet0/1 Grp 1 state Active -&gt; Speak
Gateway1#
Gateway1#
Gateway1#
Gateway1#
Gateway1#
*May 28 23:41:19.631: %HSRP-5-STATECHANGE: FastEthernet0/1 Grp 1 state Speak -&gt; Standby
</pre>
<pre>
Gateway1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route

Gateway of last resort is 198.77.64.40 to network 0.0.0.0

10.0.0.0/30 is subnetted, 1 subnets
C       10.1.1.252 is directly connected, GigabitEthernet1/0
192.168.255.0/30 is subnetted, 1 subnets
C       192.168.255.0 is directly connected, FastEthernet0/0
C    192.168.1.0/24 is directly connected, FastEthernet0/1
198.77.64.0/32 is subnetted, 1 subnets
B       198.77.64.40 [200/0] via 192.168.255.2, 00:00:16
S*   0.0.0.0/0 [1/0] via 198.77.64.40
Gateway1#show ip bgp
BGP table version is 32, local router ID is 192.168.255.1
Status codes: s suppressed, d damped, h history, * valid, &gt; best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

Network          Next Hop            Metric LocPrf Weight Path
* i192.168.1.0      192.168.255.2            0    100      0 i
*&gt;                  0.0.0.0                  0         32768 i
*&gt;i198.77.64.40/32  192.168.255.2            0    100      0 200 40 i
</pre>
<h2>Comments</h2>
<p><a href="http://www.networking-forum.com/viewtopic.php?f=62&#038;t=31556">A thread</a>  has been created on the site forum specifically for commenting on this blog post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networking-forum.com/blog/?feed=rss2&#038;p=2401</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading with ISSU</title>
		<link>http://www.networking-forum.com/blog/?p=2365</link>
		<comments>http://www.networking-forum.com/blog/?p=2365#comments</comments>
		<pubDate>Mon, 14 May 2012 16:22:16 +0000</pubDate>
		<dc:creator>killabee</dc:creator>
				<category><![CDATA[Cisco Networking]]></category>
		<category><![CDATA[cisco 4500]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[issu]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.networking-forum.com/blog/?p=2365</guid>
		<description><![CDATA[I recently had to upgrade the IOS on a Cisco 4500.  I figured it was the perfect opportunity to try out ISSU and to blog about it. ISSU (In-Service Software Upgrade) is a feature that allows the operator to upgrade (or downgrade) the IOS on device without having to take the entire device down and [...]]]></description>
				<content:encoded><![CDATA[<p>I recently had to upgrade the IOS on a Cisco 4500.  I figured it was the perfect opportunity to try out ISSU and to blog about it.</p>
<p>ISSU (In-Service Software Upgrade) is a feature that allows the operator to upgrade (or downgrade) the IOS on device without having to take the entire device down and potentially impact service. This is partly accomplished with the SSO supervisor redundancy mode that performs the subsecond supervisor switchovers while each supervisor is restarted and loaded with the new (or old) IOS.</p>
<p>In brief, the process works as follows: Both supervisors are running the old image. The standby supervisor is restarted and loaded with the new image. The operator switches over to the standby supervisor to &#8216;test drive&#8217; the new image. The switchover automatically restarts the active supervisor, bringing it up as the standby and making the current standby supervisor the active.  Finally, the standby supervisor, which started as the active, is restarted and loaded with the new image. In the end, both supervisors have the new image.</p>
<p><span id="more-2365"></span></p>
<p>This is all done with four commands, 1) <code>issu loadversion</code>, 2) <code>issu runversion</code>, 3) <code>issu acceptversion</code>, and 4) <code>issu commitversion</code>. A fifth command, <code>issu abortversion</code>, allows the operator to abort the process up to the third step and undo the changes automatically.</p>
<p>In my particular case, I was upgrading from IOS XE 3.1.1 to IOS XE 3.2.4. First, I started off by verifying some prerequisites &#8212; that the old and new IOS images were on the flash memory of both supervisors, that both supervisors were running the same old image, that the config register was set to 0&#215;2102, and that the supervisors were running in SSO redundancy mode:</p>
<pre>Switch#show bootflash:
-#- --length-- ---------date/time--------- path
  1   88204596 Jul 22 2011 23:45:07 +00:00 cat4500e-universalk9.SPA.03.01.01.SG.150-1.XO1.bin
  2   90677420 Apr 15 2012 02:45:47 +00:00 cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin</pre>
<pre>Switch#show slavebootflash:
-#- --length-- ---------date/time--------- path
  1   88204596 Jul 22 2011 23:57:21 +00:00 cat4500e-universalk9.SPA.03.01.01.SG.150-1.XO1.bin
  2   90677420 Apr 15 2012 02:50:01 +00:00 cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin</pre>
<pre>Switch#show redundancy

[text omitted]

Current Processor Information :
------------------------------
               Active Location = <span style="color: #ff0000">slot 3</span>
        Current Software state = <span style="color: #ff0000">ACTIVE</span>
       Uptime in current state = 9 minutes
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), <span style="color: #ff0000">Version 03.01.01.SG</span> RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 14-Dec-10 22:12 by prod
               BOOT = bootflash:cat4500e-universalk9.SPA.03.01.01.SG.150-1.XO1.bin,1;
        <span style="color: #ff0000">Configuration register = 0x2102</span>

Peer Processor Information :
------------------------------
              Standby Location = <span style="color: #ff0000">slot 4</span>
        Current Software state = <span style="color: #ff0000">STANDBY HOT</span>
       Uptime in current state = 0 minute
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), <span style="color: #ff0000">Version 03.01.01.SG</span> RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 14-Dec-10 22:12 by prod
               BOOT = bootflash:cat4500e-universalk9.SPA.03.01.01.SG.150-1.XO1.bin,1;
        <span style="color: #ff0000">Configuration register = 0x2102</span></pre>
<h2>1) Loadversion</h2>
<p>I was ready to begin. I started off by issuing the <code>issu loadversion</code> command. This command restarts the standby supervisor and loads it with the new image:</p>
<pre>Switch#issu loadversion 3 bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin 4 flash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin
% issu loadversion executed successfully, Standby is being reloaded</pre>
<p>The standby supervisor is restarted, and after several minutes it comes up with the new IOS. ISSU also detected the standby supervisor and told me the next step:</p>
<pre>Apr 15 12:28:54.845 UTC: %INSTALLER-7-ISSU_OP_SUCC: Peer state is [STANDBY SSO]; Please issue the runversion command</pre>
<pre>Switch#show redundancy

[text omitted]

Current Processor Information :
------------------------------
               Active Location = <span style="color: #ff0000">slot 3</span>
        Current Software state = <span style="color: #ff0000">ACTIVE</span>
       Uptime in current state = 16 minutes
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), <span style="color: #ff0000">Version 03.01.01.SG</span> RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 14-Dec-10 22:12 by prod
               BOOT = bootflash:cat4500e-universalk9.SPA.03.01.01.SG.150-1.XO1.bin,1;
        Configuration register = 0x2102

Peer Processor Information :
------------------------------
              Standby Location = <span style="color: #ff0000">slot 4</span>
        Current Software state = <span style="color: #ff0000">STANDBY HOT</span>
       Uptime in current state = 0 minute
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), <span style="color: #ff0000">Version 03.02.04.SG</span> RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Mon 19-Mar-12 16:17 by prod
               BOOT = bootflash:cat4500e-universalk9.SPA.03.01.01.SG.150-1.XO1.bin,1;
        Configuration register = 0x2102</pre>
<h2>2) Runversion</h2>
<p>At this point, the standby supervisor has the new image, but we&#8217;re still operating on the active supervisor. The next step is to execute the <code>issu runversion</code> command, which will switch us over to the standby supervisor, automatically restart the active supervisor and bring it back up as the standby.  This also forces the current standby to become the active:</p>
<pre>Switch#issu runversion 4 slavebootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin
This command will reload the Active unit.  Proceed ? [confirm]

Switch#
Please stand by while rebooting the system...
                                                               Restarting system.</pre>
<p>The active supervisor is restarted and functionality failsover to the standby. I consoled into the new active supervisor (slot 4) and waited for the new standby supervisor (slot 3) to load back up. After a few minutes, the standby supervisor came up and ISSU gave me further instructions:</p>
<pre>Apr 15 12:35:06.355 UTC: %INSTALLER-7-ISSU_OP_SUCC: Peer state is [STANDBY SSO]; Please issue the acceptversion command</pre>
<p>But before continuing, I verified the redundancy status and running IOSs:</p>
<pre>Switch#show redundancy

[text omitted]

Current Processor Information :
------------------------------
               Active Location = <span style="color: #ff0000">slot 4</span>
        Current Software state = <span style="color: #ff0000">ACTIVE</span>
       Uptime in current state = 9 minutes
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), <span style="color: #ff0000">Version 03.02.04.SG</span> RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Mon 19-Mar-12 16:17 by prod
               BOOT = bootflash:cat4500e-universalk9.SPA.03.01.01.SG.150-1.XO1.bin,1;
        Configuration register = 0x2102

Peer Processor Information :
------------------------------
              Standby Location = <span style="color: #ff0000">slot 3</span>
        Current Software state = <span style="color: #ff0000">STANDBY HOT</span>
       Uptime in current state = 0 minute
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), <span style="color: #ff0000">Version 03.01.01.SG</span> RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Mon 19-Mar-12 16:17 by prod
               BOOT = bootflash:cat4500e-universalk9.SPA.03.01.01.SG.150-1.XO1.bin,1;
        Configuration register = 0x2102</pre>
<h2>3) Acceptversion</h2>
<p>After the <code>issu runversion</code> command, a rollback timer is started. The timer acts as a safety mechanism for automatic image rollback. If you fail to stop the timer within 45 minutes, ISSU will assume that the upgrade (or downgrade) either failed or that you lost access to manually abort or continue the process, at which point ISSU will automatically perform a rollback.</p>
<p>To stop the timer, issue the third command, <code>issu acceptversion</code>:</p>
<pre>Switch#issu acceptversion 4 bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin
% Rollback timer stopped. Please issue the commitversion command.</pre>
<h2>4) Commitversion</h2>
<p>The last step is the <code>issu commitversion</code> command, which finalizes the process. This reloads the standby supervisor (the one that started as the active) and loads it with the new IOS:</p>
<pre>Switch#issu commitversion 3 slavebootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin
Building configuration...
Compressed configuration from 47049 bytes to 9639 bytes
[OK]
% issu commitversion executed successfully</pre>
<p>The standby supervisor is restarted shortly after. After it came up, I verified that all supervisors had the new IOS:</p>
<pre>Switch#show redundancy

[text omitted]

Current Processor Information :
------------------------------
               Active Location = <span style="color: #ff0000">slot 4</span>
        Current Software state = <span style="color: #ff0000">ACTIVE</span>
       Uptime in current state = 16 minutes
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), <span style="color: #ff0000">Version 03.02.04.SG</span> RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Mon 19-Mar-12 16:17 by prod
               BOOT = bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin,12;bootflash:cat4500e-universalk9.SPA.03.01.01.SG.150-1.XO1.bin,1;
        Configuration register = 0x2102

Peer Processor Information :
------------------------------
              Standby Location = <span style="color: #ff0000">slot 3</span>
        Current Software state = <span style="color: #ff0000">STANDBY HOT</span>
       Uptime in current state = 0 minute
                 Image Version = Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), <span style="color: #ff0000">Version 03.02.04.SG</span> RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Mon 19-Mar-12 16:17 by prod
               BOOT = bootflash:cat4500e-universalk9.SPA.03.02.04.SG.150-2.SG4.bin,12;bootflash:cat4500e-universalk9.SPA.03.01.01.SG.150-1.XO1.bin,1;
        Configuration register = 0x2102</pre>
<pre>Switch#show version
Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), <span style="color: #ff0000">Version 03.02.04.SG</span> RELEASE SOFTWARE (fc1)

[text omitted]</pre>
<p>During the upgrade, I had several continuous pings running across the switch and I never took a hit on any of them.  The procedure delivered as promised.</p>
<h2>Comments</h2>
<p><a href="http://www.networking-forum.com/viewtopic.php?f=62&#038;t=31016">A thread</a>  has been created on the site forum specifically for commenting on this blog post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networking-forum.com/blog/?feed=rss2&#038;p=2365</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wendell Odom Q&amp;A</title>
		<link>http://www.networking-forum.com/blog/?p=2325</link>
		<comments>http://www.networking-forum.com/blog/?p=2325#comments</comments>
		<pubDate>Mon, 20 Feb 2012 21:40:52 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Interviews]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Cisco Press]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[Wendell Odom]]></category>

		<guid isPermaLink="false">http://www.networking-forum.com/blog/?p=2325</guid>
		<description><![CDATA[In December, I posted a thread in the Announcement forum asking for you guys to submit any questions you may have for distinguished author and CCIE #1624, Wendell Odom. I sent your questions to Wendell in January and got a quick response but have been a bit slow getting this blog post together. Well, here [...]]]></description>
				<content:encoded><![CDATA[<p>In December, I posted <a href="http://www.networking-forum.com/viewtopic.php?f=29&#038;t=28187">a thread</a> in the Announcement forum asking for you guys to submit any questions you may have for distinguished author and CCIE #1624, <a href="http://www.certskills.com/About/WendellOdom.aspx">Wendell Odom</a>.  I sent your questions to Wendell in January and got a quick response but have been a bit slow getting this blog post together.  Well, here it is.  Enjoy!</p>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffff;">
<strong>Digitowel</strong></p>
<p>Wendell, first off, thanks so very much for sitting down and taking time out of your busy schedule to answer our questions! </p>
<p>How do you feel about Cisco fragmenting their certification paths and seemingly making a certification discipline out of anything they can? Do you feel they&#8217;re playing a sort of &#8220;catch up&#8221; to quickly ratify the newest industry buzzwords in a certification? </p>
<p>Thank you!</p></div>
<p><span id="more-2325"></span></p>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffcc;">
<strong>Wendell Odom</strong></p>
<p>You’re very welcome.</p>
<p>I think there are probably two factors that have the biggest impact on my personal view of the whole Cisco cert space. First, you have to look at Cisco certs from a Cisco channel perspective. Cisco moves most of their sales through channel partners, and Cisco uses certs to vet those partners. Those certs include many certs created just for channel partners on a very wide set of newish technologies. </p>
<p>So when I see lots of certs on lots of technology areas and wonder if it all makes sense, if I think about it with a Cisco channels mentality, then it seems more reasonable. You can argue whether using certs to monitor/enforce skills requirements on the channel works or not, but if that’s how Cisco chooses to do it, it’s going to be wide and somewhat fragmented.</p>
<p>As to your specific question about whether Cisco uses certs to ratify a certain way of thinking, I don’t think that happens. I think for an emerging technology, the cert has very little effect on driving some “ratification effect”. I think the partners that sell/install the stuff have a much larger impact, because they often have a choice of vendor to push. So I see the new certs on emerging technologies as something that’s just pulled along by Cisco’s motivation to prep the sales channel.</p>
<p>The other idea that keeps me from getting too emotional or negative about the myriad of Cisco cert offerings is to think about the sheer size of Cisco. They just have so many competing forces. Take the Cisco Certified Technician, for instance. That cert program was driven by Cisco’s service folks (the TAC), which is somewhat unusual for Cisco in the last decade plus (I believe). </p>
<p>For example, one somewhat-pure motivation for Cisco is to create a meaningful cert path for people to prove skills as a networker with route/switch; another for voice; another for security; and so on. I think Cisco at least attempts that with CCNA/CCNP/CCIE. However, many parts of Cisco end up influencing what gets into those certs.  So in some ways, maybe I’m more amazed that Cisco’s cert space isn’t broader and more disjointed.
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffff;">
<strong>that1guy15</strong></p>
<p>Wendell, have you heard any new word on Cisco releasing a educational license of IOS for students/teachers?
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffcc;">
<strong>Wendell Odom</strong></p>
<p>I have not heard any new word, but I haven’t asked anyone seriously since last summer. However, I did learn that maybe… May 2011 or so that the new IOS licensing changed so that the “right to use” license – don’t quote that term, my memory is a little fuzzy – but that the license that you can use while testing went to an infinite time frame. That is, if you get your hands on it, then it would run forever on your hardware. Maybe that translates to a reasonable Dynamips solution one day. </p>
<p>Every time I ask, I get real responses that tell me that the idea is not dead, but I certainly would still put it squarely in the unlikely category.
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffff;">
<strong>that1guy15</strong></p>
<p>What technology are you currently researching/digging into at the moment. Also what is your favorate technology to write about/work with and why?
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffcc;">
<strong>Wendell Odom</strong></p>
<p>I’ve been focusing on learning, how people think, how people learn, and so on.  I live half my work life thinking about things I’ve known for 10-20 years, but then I have to ask how a complete newbie thinks about it, someone who grew up in a completely different generation. Figuring out tools like mind maps can be a lot of fun, and finding whether they help or not is interesting.</p>
<p>Favorite technology to write/work with? I think if I look backwards in time, that’s easy: QoS. I had the opportunity to work on a very interesting SNA QoS study back in the late 1980s – a buddy of mine led the study – and from there I was hooked. Writing the QoS Exam Cert Guide was a blast. If you like puzzles, and how things work, QoS can be fun. MPLS may be the most fun to write something new about now, because of how it makes you think about age-old concepts that get used in new ways.
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffff;">
<strong>killabee</strong></p>
<p>While writing a new book, do you copy and paste sections from your other books where the topic is the same?
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffcc;">
<strong>Wendell Odom</strong></p>
<p>It depends. Great answer, huh? If there’s a new book, and it has a similar audience as an existing book, then I might copy a section. More likely I would copy a table of reference info that would not change, or a figure, or photo, but write the text to match the style of the book. But every case is different, topic-by-topic, so it’s not a systematic choice one way or the other.
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffff;">
<strong>Ristau5741</strong></p>
<p>How much wood could a woodchuck chuck, if a woodchuck could chuck wood ?
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffcc;">
<strong>Wendell Odom</strong></p>
<p>2w – 2, but I can’t recall when to subtract 2. <img src='http://www.networking-forum.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />
</div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffff;">
<strong>Dinger</strong></p>
<p>How come &#8216;CCNP ROUTE 642-902 Official Certification Guide&#8217; has *eight pages* worth of errata?
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffcc;">
<strong>Wendell Odom</strong></p>
<p>If that’s simply a complaint, please accept my apologies for the number of errors. If it’s a sincere question, my apologies as well, and I’ll try and answer.  I didn’t do a good job with keeping errors out of the book, plain and simple. The blame lies with me. I still think it has good use, and has many redeeming qualities, but the number of errors certainly does distract.
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffff;">
<strong>dlots</strong></p>
<p>What do you think the next big change in routing/switching will be?
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffcc;">
<strong>Wendell Odom</strong></p>
<p>That’s a visionary question, and I’m more of an attentive observer than a visionary. But watching and waiting, I think the campus LAN will change dramatically, not in physical topology but in technology, performance, and convergence once one or a few technologies finally fully replace Spanning Tree. Something – a derivation on data center LANs (TRILL, FabricPath, etc), Open Flow, even layer 3 to the LAN edge – will kill Spanning Tree in the campus. We’ve been trying to design STP out of campus LAN designs for what – 15 years maybe? </p>
<p>And of course, for vision, I should just write the word cloud in here too, cause everyone else does. <img src='http://www.networking-forum.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />
</div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffff;">
<strong>dlots</strong></p>
<p>One of Cisco&#8217;s biggest strengths has always been that it&#8217;s very innovative. Is Cisco being short sited in their firing of a large portion of their staff so their books show up with a larger profit margin? Will that effect their innovativeness and what is the likely hood that it could hurt them in the up-coming years.
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffcc;">
<strong>Wendell Odom</strong></p>
<p>I have a good friend who’s an Ivy League MBA, but that’s definitely out of my league to answer. I can speak culturally, though, just on my own observations. Cisco does appear to be willing to act, quickly and decisively. So if they are starting towards some long-term demise, I don’t think it’ll happen fast – more like a 2-step backwards, 1-step forward path. (I’m not predicting that would happen, just saying I think it’s not going to be a 10-steps back then 10 more back path.)
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffff;">
<strong>dlots</strong></p>
<p>My understanding is that Juniper and other companies are starting to get some more of the market share, how is this going to effect us, and what are Cisco&#8217;s plans to smite them.</p>
<p>Networks are by most standards very difficult to configure and maintain, and very very in-tolerant of mistakes (1 mistake and your network and everything connected can die). Do you for-see this ever changing? for example typing &#8220;P2P vpn 2.2.2.5&#8243; and having that negotiate a P2P VPN with 2.2.2.5. Or name based ACLs that do the majority of the work in the back ground, for example permit COPS to CAMERAS.</p>
<p>How is &#8220;the cloud&#8221; going to effect IT staffing? For example thin-clients, you&#8217;ll need more high level people to manage the massive servers&#8230; but it will lower the number of entry level positions such as the computer tech who use to image/fix the PC will now just swap out the hardware, and what will be the long term effects of this?
</p></div>
<div style="margin: 25px 50px 25px 50px; padding: 10px; background-color: #ccffcc;">
<strong>Wendell Odom</strong></p>
<p>Every technology shift has the chance to change the mix of jobs, the number of jobs, and where the person has to live to do the job. I’ve never in my life taken any serious measurable macro look at the numbers of jobs created/lost by those changes. So this is just opinion.</p>
<p>Cloud’s a wash for jobs. It moves them.</p>
<p>The desktop revolution, which I’d call thin desktop plus a migration towards tablets, may reduce networking jobs, but probably not IT. I think the integration of tablets into business, data management with all those apps, can be a nightmare/opportunity depending on your view of it.</p>
<p>The US Bureau of Labor and Stats says networking is looking good. See  http://www.bls.gov/oco/ocos305.htm  </p>
<p>I’ve also seen recent articles at Network World that college CS degree enrollments are way up.</p>
<p>However, once you make the big choice of a career field, I’d suggest that there are a couple of important things that ought to be permanent in your own plans for development, so that no matter how much the job market size changes, you’ll be better prepared:</p>
<p>1 – Read/do to expand your skills outside your current job. EG, join a volunteer organization and be in charge of getting a group to do something to build people management skills, particularly in cases where you have no positional power, only influence. Just 1 example.</p>
<p>2 – Work at your skills for your current job so that you’re better than at least 50% of the people that do the same job. You may not have a large enough IT group to make direct comparisons, so literally comparing may be difficult, but always look for ways to learn at work.</p>
<p>Just my $.02.</p>
<p>Thanks to you all, and to Steve, for the invite!
</p></div>
<p>Thanks to all of the forum members who posted up great questions and a special thanks to Wendell Odom for taking time out of his busy schedule to reply!  Keep up with Wendel on his website, <a href="http://www.certskills.com">certskills.com</a>, and on his <a href="https://www.facebook.com/WendellOdom">Facebook page</a>.</p>
<h2>Comments</h2>
<p><a href="http://www.networking-forum.com/viewtopic.php?f=62&#038;p=200407">A thread</a>  has been created on the site forum specifically for commenting on this blog post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networking-forum.com/blog/?feed=rss2&#038;p=2325</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Networking Appliances Explained</title>
		<link>http://www.networking-forum.com/blog/?p=2271</link>
		<comments>http://www.networking-forum.com/blog/?p=2271#comments</comments>
		<pubDate>Thu, 05 Jan 2012 14:45:11 +0000</pubDate>
		<dc:creator>Reggle</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[beginner]]></category>
		<category><![CDATA[CCENT]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.networking-forum.com/blog/?p=2271</guid>
		<description><![CDATA[If you&#8217;re new in the networking field and are faced with a complex network design, or are asked to design one, it can be a difficult task understanding what everything does. The certifications don&#8217;t cover it all: there&#8217;s so much more to networking than just routers and switches. Therefor: an explanation about various appliances you&#8217;ll [...]]]></description>
				<content:encoded><![CDATA[<p>If you&#8217;re new in the networking field and are faced with a complex network design, or are asked to design one, it can be a difficult task understanding what everything does. The certifications don&#8217;t cover it all: there&#8217;s so much more to networking than just routers and switches.</p>
<p>Therefor: an explanation about various appliances you&#8217;ll likely meet or need in a company. An appliance is a device that performs a specific purpose. Most simple example is a router: it&#8217;s actually a computer, but it can only provide routing. Here&#8217;s a list of other common devices:</p>
<p><span id="more-2271"></span></p>
<h2>Appliances</h2>
<p>A (stateful)<strong> firewall</strong>: a device that protects your network. It&#8217;s main purpose is to keep track of conversations between devices (often based on layer 4 TCP and UDP ports) and to filter out unwanted packets. I mention stateful because it keeps track of all connection states to make decisions. A stateless firewall just uses access lists to filter traffic.</p>
<p>An<strong> IDS</strong> or Intrusion Detection System. Scans traffic for signatures that may indicate malicious behavior, and sends out alerts when these are detected.</p>
<p>An <strong>IPS</strong> or Intrusion Prevention System. Like an IDS, it scans traffic for signatures, but it drops any suspicious traffic instead. Note that this doesn&#8217;t render an IDS useless: an IDS may be used to gather evidence, alert an IPS, check if the IPS still works, or give orders to other devices to change behavior based on incoming signatures.</p>
<p>A <strong>load balancer</strong>: this device forwards requests to a pool of servers to balance the load, e.g. a website receives 60,000 page views an hour but a server can only handle up to 25,000. Using a load balancer to spread the requests over three servers will solve the problem. A modern load balancer can have different load-balancing methods, adapt in case one of the servers goes down, and filter out malformed requests.</p>
<p>A <strong>VPN endpoint</strong> is a device that terminates VPN tunnels. It can be used as a dedicated device to control all VPN sessions from teleworkers, or to control all site-to-site VPNs between the main office and branch offices. Sometimes contains specialized circuits to perform encryption, which would take a high CPU load otherwise.</p>
<p>A <strong>WLC</strong> or Wireless LAN Controller is a device that controls a group of LAPs, or Lightweight Access Points. It makes sure they are configured the right way, use the right channel and SSIDs, and allows roaming between them.</p>
<p>A <strong>SSL offloading device</strong> takes care of encrypting and decrypting SSL sessions, usually for https-websites. This way, the webserver(s) needs less CPU and can accept more requests, and the decrypted https session can also be checked with an IPS for malicious traffic inside the session, as encrypted traffic normally can&#8217;t be checked.</p>
<p>A <strong>RADIUS </strong>or Remote Authentication Dial In User Server is a server that checks if a user is permitted  to a certain resource. That resource can be anything: switches and access points can forward 802.1x authentication requests from computers that want to connect, various devices can forward Telnet or SSH logins to check if they&#8217;re allowed, and so on.</p>
<p>A <strong>proxy server</strong> is a server that caches (and often also firewalls) web content. It can speed up browsing through caching or increase security by filtering or hiding the client computers from the outside world.</p>
<p>A <strong>WAN</strong> <strong>accelerator</strong> is a device that translates data to signatures/hashes which are smaller, to send over a slow WAN link to another accelerator, which will translate the signature/hash back to the original data. Usually these devices have an internal hard drive to store data and signatures and adapt to traffic patterns. Basically they &#8216;zip data on the fly&#8217;.</p>
<h2>Comments</h2>
<p><a href="http://www.networking-forum.com/viewtopic.php?f=62&#038;t=28602">A thread</a>  has been created on the site forum specifically for commenting on this blog post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networking-forum.com/blog/?feed=rss2&#038;p=2271</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Improving the Routing Table in an OSPF Network</title>
		<link>http://www.networking-forum.com/blog/?p=2249</link>
		<comments>http://www.networking-forum.com/blog/?p=2249#comments</comments>
		<pubDate>Thu, 01 Dec 2011 15:51:07 +0000</pubDate>
		<dc:creator>Reggle</dc:creator>
				<category><![CDATA[Cisco Networking]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[GNS3]]></category>
		<category><![CDATA[OSPF]]></category>

		<guid isPermaLink="false">http://www.networking-forum.com/blog/?p=2249</guid>
		<description><![CDATA[The topology above is an example network, consisting of four OSPF areas (one backbone, area 0) and one external EIGRP area. I&#8217;ve set up an IP addressing scheme using 10.0.0.0/8 for OSPF and 172.16.0.0/12 for EIGRP. In case you didn&#8217;t notice, the second part of the IP address is the same as the area number [...]]]></description>
				<content:encoded><![CDATA[<p><img src="http://www.networking-forum.com/blog/wp-content/uploads/2011/11/OSPF-Network.png" alt="OSPF Network" width="610" height="412" /></p>
<p>The topology above is an example network, consisting of four OSPF areas (one backbone, area 0) and one external EIGRP area. I&#8217;ve set up an IP addressing scheme using 10.0.0.0/8 for OSPF and 172.16.0.0/12 for EIGRP. In case you didn&#8217;t notice, the second part of the IP address is the same as the area number (10.x.0.0 for area x).</p>
<p><span id="more-2249"></span></p>
<p>All interfaces are configured with the correct IP addresses, OSPF and EIGRP have been configured correctly and are running. Basic redistribution between the two routing protocols is done on router R5 and also works fine. Here&#8217;s the output of &#8216;show ip route&#8217; on router R0 in area 5:</p>
<pre>Gateway of last resort is not set

172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
O E2    172.16.0.0/24 [110/20] via 10.5.3.2, 00:18:54, FastEthernet0/1
O E2    172.16.1.0/30 [110/20] via 10.5.3.2, 00:19:39, FastEthernet0/1
10.0.0.0/8 is variably subnetted, 8 subnets, 4 masks
O IA    10.0.0.8/30 [110/20] via 10.5.3.2, 00:36:09, FastEthernet0/1
O IA    10.15.1.0/30 [110/40] via 10.5.3.2, 00:31:07, FastEthernet0/1
O IA    10.15.0.0/24 [110/50] via 10.5.3.2, 00:28:57, FastEthernet0/1
O IA    10.0.0.0/29 [110/30] via 10.5.3.2, 00:33:51, FastEthernet0/1
C       10.5.3.0/30 is directly connected, FastEthernet0/1
C       10.5.2.0/24 is directly connected, FastEthernet1/0
C       10.5.0.0/23 is directly connected, FastEthernet0/0
O IA    10.25.0.0/30 [110/40] via 10.5.3.2, 00:27:00, FastEthernet0/1
</pre>
<p>The other routers in the OSPF area show similar routing tables. While this configuration works, it&#8217;s not that efficient in larger networks in particular. The more routers that are added, the more routes are stored in the routing table using up memory. Dividing the network in areas works, but only if you <em>do something</em> with those areas.</p>
<p>So what can you do with those areas? There are several options: assign them a specific role, or filter the routing table. First something about area roles: these influences how Link-State Advertisements (LSA) are sent, which OSPF routers send to each other to inform about connected and learned routes. These LSAs are gathered in a database. Here&#8217;s the output of router R2&#8242;s database:</p>
<pre>R2#show ip ospf database

OSPF Router with ID (10.0.0.10) (Process ID 1)

Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
10.0.0.10       10.0.0.10       572         0x80000004 0x00E2C3 2
10.5.3.2        10.5.3.2        767         0x80000003 0x008355 1
10.15.1.1       10.15.1.1       469         0x80000004 0x005284 1
10.25.0.1       10.25.0.1       191         0x80000004 0x00A91A 1

Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
10.0.0.2        10.0.0.10       319         0x80000003 0x006F58
10.0.0.9        10.5.3.2        767         0x80000002 0x00A349

Summary Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
10.5.0.0        10.5.3.2        767         0x80000002 0x00E81D
10.5.2.0        10.5.3.2        767         0x80000002 0x007D8E
10.5.3.0        10.5.3.2        767         0x80000002 0x0056B8
10.15.0.0       10.15.1.1       469         0x80000002 0x0039BA
10.15.1.0       10.15.1.1       473         0x80000002 0x00B748
10.25.0.0       10.25.0.1       194         0x80000002 0x0001EC

Summary ASB Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
172.16.1.1      10.25.0.1       1748        0x80000001 0x001C33

Type-5 AS External Link States

Link ID         ADV Router      Age         Seq#       Checksum Tag
172.16.0.0      172.16.1.1      1699        0x80000003 0x00BE64 0
172.16.1.0      172.16.1.1      1754        0x80000001 0x00A581 0
</pre>
<p>The router link states (type 1 LSAs) are advertisements from the routers in the area and can&#8217;t be influenced. They&#8217;re the same for every router in an area. Four routers, four LSAs. The net link states (type 2 LSAs) are advertisements coming from a Designated Router (DR) announcing a subnet. There are two subnets in area 0, so two LSAs. These can be influenced. The third type are LSAs from an Area Border Router, announcing inter-area routes. Six subnets outside area 0, six type 3 LSAs. These can be influenced, but not in the backbone area (area 0). The fourth and fifth types of LSA are to announce an Autonomous System Border Router (ASBR) and routes external to the OSPF network, respectively. They can be influenced everywhere except in the backbone area too.</p>
<p>First, type 2 LSA advertisements. They provide additional information in case of a broadcast subnet, like Ethernet. But when there are only two routers on a subnet, it&#8217;s better to make it a point-to-point link. This way, no type 2 LSA is generated, though the type 1 LSA for that link still is, and the routers communicate directly instead of selecting a DR. You can change the interface type with the &#8216;ip ospf network&#8217; command on the interfaces at both sides of the link:</p>
<pre>R2(config)#int f0/0
R2(config-if)#ip ospf network point-to-point
</pre>
<p>The same is done on f0/0 of router R31. Here&#8217;s part of the new database output, with just one link-state now:</p>
<pre>                Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
10.0.0.2        10.0.0.10       1218        0x80000003 0x006F58</blockquote>
Next LSA type 5, external routes. By making an area a stub area, you prevent the ABR from flooding type 5 LSA in the area, instead announcing a default route. The command has to be applied to every router in that area. For example, I make area 5 a stub area using the command 'area 5 stub' on routers R0 and R1. After this, the link-state database of R0 doesn't have any type 5 LSA anymore. The routing table has changed too:
<blockquote>Gateway of last resort is 10.5.3.2 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 8 subnets, 4 masks
O IA    10.0.0.8/30 [110/20] via 10.5.3.2, 00:08:42, FastEthernet0/1
O IA    10.15.1.0/30 [110/40] via 10.5.3.2, 00:08:42, FastEthernet0/1
O IA    10.15.0.0/24 [110/50] via 10.5.3.2, 00:08:42, FastEthernet0/1
O IA    10.0.0.0/29 [110/30] via 10.5.3.2, 00:08:42, FastEthernet0/1
C       10.5.3.0/30 is directly connected, FastEthernet0/1
C       10.5.2.0/24 is directly connected, FastEthernet1/0
C       10.5.0.0/23 is directly connected, FastEthernet0/0
O IA    10.25.0.0/30 [110/40] via 10.5.3.2, 00:08:43, FastEthernet0/1
O*IA 0.0.0.0/0 [110/11] via 10.5.3.2, 00:08:43, FastEthernet0/1
</pre>
<p>That&#8217;s two routes less than before. But if you make it a totally stubby area, you can filter out the inter-area routes too. The command is &#8216;area 5 stub no-summary&#8217; on the ABR, R1. It&#8217;s not needed on the internal routers (they still need to be stub, though). After this command is done, all type 3 LSA are gone from the link-state database of R1, and the routing table is small and efficient:</p>
<pre>Gateway of last resort is 10.5.3.2 to network 0.0.0.0

10.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
C       10.5.3.0/30 is directly connected, FastEthernet0/1
C       10.5.2.0/24 is directly connected, FastEthernet1/0
C       10.5.0.0/23 is directly connected, FastEthernet0/0
O*IA 0.0.0.0/0 [110/11] via 10.5.3.2, 00:01:11, FastEthernet0/1
</pre>
<p>Note that you have to consider if it&#8217;s really an advantage to use these commands if there are multiple ABRs because some inter-area routes may take more hops or a slower route using the default route.</p>
<p>The other method, filtering the routing table, requires more thought, but is easier if there are multiple ABRs. This doesn&#8217;t influence any sent or received LSAs, but can make the routing table shorter and more efficient. I&#8217;m using the following prefix-list:</p>
<pre>R8(config)#ip prefix-list PFX-NoLinks permit 0.0.0.0/0 le 26
</pre>
<p>This defines a prefix-list, name PFX-NoLinks, which will permit any route (0.0.0.0/0) which has 26 or less network-bits. So anything smaller than a /26 (62 hosts) is filtered because of the implicit deny. This can be used on a router towards end users, like R8, who don&#8217;t need to reach any of the internal links in the backbone area, just other host subnets. To apply it between the OSPF process and the routing table:</p>
<pre>R8(config)#router ospf 1
R8(config-router)#distribute prefix PFX-NoLinks in
</pre>
<p>The result is clear in the routing table:</p>
<pre>Gateway of last resort is not set

172.16.0.0/24 is subnetted, 1 subnets
O E2    172.16.0.0 [110/20] via 10.15.1.1, 00:00:41, FastEthernet0/0
10.0.0.0/8 is variably subnetted, 4 subnets, 3 masks
C       10.15.1.0/30 is directly connected, FastEthernet0/0
C       10.15.0.0/24 is directly connected, FastEthernet0/1
O IA    10.5.2.0/24 [110/41] via 10.15.1.1, 00:00:41, FastEthernet0/0
O IA    10.5.0.0/23 [110/50] via 10.15.1.1, 00:00:41, FastEthernet0/0
</pre>
<p>Except for a connected route (not handled by OSPF), nothing smaller than a /24 can be seen. Pinging between the host subnets still works.</p>
<p>These are a few methods to improve performance in larger OSPF networks, but certainly not the only ones. Thanks for reading!</p>
<h2>About the Author</h2>
<p><a href="http://www.networking-forum.com/memberlist.php?mode=viewprofile&#038;u=18004" target="_blank">Reggle</a> is a forum regular and community blog contributor.  Visit and bookmark his <a href="http://reggle.wordpress.com" target="_blank">blog</a> which is updated with new material regularly.</p>
<h2>Comments</h2>
<p><a href="http://www.networking-forum.com/viewtopic.php?f=62&#038;t=28091">A thread</a>  has been created on the site forum specifically for commenting on this blog post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networking-forum.com/blog/?feed=rss2&#038;p=2249</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rsync On CentOS 5.6</title>
		<link>http://www.networking-forum.com/blog/?p=2219</link>
		<comments>http://www.networking-forum.com/blog/?p=2219#comments</comments>
		<pubDate>Fri, 09 Sep 2011 20:41:49 +0000</pubDate>
		<dc:creator>ittech2010</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Rsync]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.networking-forum.com/blog/?p=2219</guid>
		<description><![CDATA[Just a quick blog about Rsync on A CentOS 5.6 box. I&#8217;m currently using Rsync to backup our Samba Server &#8211; all 500 Gigs of it!! It&#8217;s going to take a few days but it will have an exact replica of the Samba server on the Rsync server and you don&#8217;t have to have any [...]]]></description>
				<content:encoded><![CDATA[<p>Just a quick blog about Rsync on A CentOS 5.6 box.  I&#8217;m currently using Rsync to backup our Samba Server &#8211; all 500 Gigs of it!!</p>
<p>It&#8217;s going to take a few days but it will have an exact replica of the Samba server on the Rsync server and you don&#8217;t have to have any clients installed on other machines for Rsync to work.  All you need is administrative credentials on the machine you are going to Rsync with.</p>
<p>Once I&#8217;ve figured all of this out, I will be setting my Rsync box to start backing up automatically every night (full backup)  and also, when a file is changed on the Samba Server.  I&#8217;m going to try and figure out the latter as I haven&#8217;t figured out how Rsync will be able to detect that a file has changed or been removed, etc.  Once I have done so though I&#8217;m sure it&#8217;s going to be very handy, also I&#8217;ll be setting the Rsync box to backup all of the the user areas and profiles held on the DCs and also the users folder on the PCs.</p>
<p><span id="more-2219"></span></p>
<p>First create a folder on your CentOS box in which you can mount the drive you want to backup, for example I created the folder mount_tmp and mounted our Samba share onto this folder.</p>
<p>The commands I have been using so far are:</p>
<pre>mount -t cifs \\\\&lt;ip address&gt;\\sharename /mount_tmp -o user=&lt;username on remote machine&gt;%&lt;password&gt;</pre>
<p>This mounts the remote drive onto the backup folder, make sure you have administrative rights on the remote machine and use the correct username and password. To start to Rsync you&#8217;ll want to create another folder on your CentOS box to actually back up to so I created a folder called Backup. To Rsync I issue the following command:</p>
<pre>rsync --progress --stats -v -r /mount_tmp/* /backup</pre>
<p>This starts backing up the mount on the mount_tmp folder.  You can read the Rsync man pages to find out what the switches are but from memory -v enables verbosity and -r means recursive directories.  You must use -r to backup folders and directories and don&#8217;t forget to use &#8211;progress and &#8211;stats as this will show you the percentage of files copied to the backup folder.</p>
<p>After all that is done I use the following command to check drive space:</p>
<pre>df -h</pre>
<p>You can set this up using the &#8220;mail&#8221; command so that you get an email of the log.</p>
<p>I hope this blog helps you, it has been an interesting journey with Rsync this is the first time I&#8217;ve used it.</p>
<h2>Comments</h2>
<p><a href="http://www.networking-forum.com/viewtopic.php?f=62&#038;t=26563">A thread</a>  has been created on the site forum specifically for commenting on this blog post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.networking-forum.com/blog/?feed=rss2&#038;p=2219</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
