<?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>xpresslearn.com &#187; General</title>
	<atom:link href="http://www.xpresslearn.com/category/cisco/general/feed" rel="self" type="application/rss+xml" />
	<link>http://www.xpresslearn.com</link>
	<description>Solutions to your Networking and Security questions</description>
	<lastBuildDate>Wed, 30 Jun 2010 18:20:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>General Cisco Security Best Practices</title>
		<link>http://www.xpresslearn.com/cisco/general/general-cisco-security-best-practices</link>
		<comments>http://www.xpresslearn.com/cisco/general/general-cisco-security-best-practices#comments</comments>
		<pubDate>Mon, 25 Jan 2010 00:57:18 +0000</pubDate>
		<dc:creator>Scott Pilkinton</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.xpresslearn.com/?p=271</guid>
		<description><![CDATA[A list of commands for adding to your configuration template the next time you configure a Cisco device.]]></description>
			<content:encoded><![CDATA[<p>There are several general configuration items that should be configured on all Cisco devices running standard IOS.  Some layer2 only switches will ignore a few of the commands in this article that are layer3 specific.</p>
<p>The first place to start is with the service commands</p>
<pre>service password-encryption</pre>
<h3>Explanation:</h3>
<p>The router administrator will ensure passwords are not viewable when displaying the router configuration. Type 5 encryption must be used for the enable mode password.</p>
<pre>no service udp-small-servers
no service tcp-small-servers</pre>
<h3>Explanation:</h3>
<p>All IOS versions above 12.0 has small-servers disabled by default.  However, it is good to make sure these services didn&#8217;t get enabled somewhere along the way.  The commands above won&#8217;t show up in the configuration, since they are off by default.  Cisco IOS provides these &#8220;small services&#8221; which include echo, chargen, and discard.  These services are completely unnecessary to run on Cisco devices.</p>
<p><span id="more-271"></span></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<pre>no service pad</pre>
<h3>Explanation:</h3>
<p>Packet Assembler Disassembler (PAD) is an X.25 component that is seldom used.  PAD acts like a multiplexer for the terminals. If enabled, it can render the device open to attacks.</p>
<pre>service tcp-keepalives-in</pre>
<h3>Explanation:</h3>
<p>Idle logged-in telnet sessions can be susceptible to unauthorized access and hijacking attacks. By default, routers do not continually test whether a previously connected TCP endpoint is still reachable. If one end of a TCP connection idles out or terminates abnormally, the opposite end of the connection may still believe the session is available. These “orphaned” sessions use up valuable router resources and can also be hijacked by an attacker. To mitigate this risk, routers must be configured to send periodic keep-alive messages to check that the remote end of a session is still connected. If the remote device fails to respond to the keep-alive message, the sending router will clear the connection and free resources allocated to the session.</p>
<pre>no service finger</pre>
<h3>Explanation:</h3>
<p>The IOS finger service supports the UNIX finger protocol, which is used for querying a host about the users that are logged on.  This would give potential attackers a head start by providing valid usernames for the device.</p>
<pre>no boot network
no service config</pre>
<h3>Explanation:</h3>
<p>The routers can find their startup configuration either in their own NVRAM or load it over the network via TFTP or Remote Copy (rcp).  Obviously, loading in from the network is taking a security risk. If the startup configuration was intercepted by an attacker, it could be used to either gain access to the router.</p>
<p>Next, let&#8217;s take a look at the various server services available in IOS.</p>
<pre>no ip http-server
no ip ftp-server
no ip tftp-server</pre>
<h3>Explanation:</h3>
<p>The services listed above are extremely insecure and serve very little useful purpose.  An ftp-server or tftp-server might be used in environments where you have one device that has a software image on it that you want to distribute to other reachable devices.  These other devices might not have connectivity to a centralized distribution server that would host images for software upgrades, therefore making it convenient to use a router in order to get the job done.  If these services are used, it should only be in a temporary capacity and need to be disabled before logging out of the device.</p>
<pre>no ip bootp server</pre>
<h3>Explanation:</h3>
<p>Bootp is a user datagram protocol (UDP) that can be used by Cisco routers to access copies of Cisco IOS Software on another Cisco router running the Bootp service. In this scenario, one Cisco router acts as a Cisco IOS Software server that can download the software to other Cisco routers acting as Bootp clients. In reality, this service is rarely used and can allow an attacker to download a copy of a routers Cisco IOS Software.</p>
<pre>no ip source-route</pre>
<h3>Explanation:</h3>
<p>Source routing is a feature of IP, whereby, individual packets can specify routes. This feature is used in several different network attacks.  The router should always control how traffic is routed as apposed to be told to trust a path that is provided from another source.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xpresslearn.com/cisco/general/general-cisco-security-best-practices/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network link redundancy using BVI</title>
		<link>http://www.xpresslearn.com/cisco/general/network-link-redundancy-using-bvi</link>
		<comments>http://www.xpresslearn.com/cisco/general/network-link-redundancy-using-bvi#comments</comments>
		<pubDate>Mon, 10 Nov 2008 03:53:01 +0000</pubDate>
		<dc:creator>Scott Pilkinton</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[bvi]]></category>
		<category><![CDATA[redundant link]]></category>

		<guid isPermaLink="false">http://www.xpresslearn.com/?p=222</guid>
		<description><![CDATA[Cisco devices functioning as a gateway can have link redundancy without running routing protocols.  Configuring Integrated Routing and Bridging allows two interfaces to be bridged together along with an associated virtual interface that serves as the routed interface.]]></description>
			<content:encoded><![CDATA[<p>When designing a robust network, the requirement that should make the top of the list is redundancy.  Most of the time, this is pretty easy.  When linking switches together, connect multiple links.  When connecting servers to the network, using multiple network adapters with teaming is the norm.  Connecting more than one interface on a router for redundancy is usually a little different.  Most of the time, you would take two interfaces on a router and assign an IP network to each and use a routing protocol for interacting with other connected routers for link selection.  However, there are some devices that are router types that don&#8217;t perform routing functions. </p>
<p>IOS devices functioning as some type of gateway comes to mind as a type of device that won&#8217;t route traffic &#8211; however network redundancy to the device is still desired.  In this example, a Cisco VG224 is used in a network to provide dial tone to analog devices over an IP network.  The VG224 gateway has multiple interfaces and does have the ability to run a routing protocol for reachability, but would be considered a bloated solution just to provide redundant network connections to the device.</p>
<p>In this example, we will accomplish network link redundancy by using a feature called Integrated routing and bridging or IRB for short.  In an IRB configuration, multiple physical interfaces are assigned to a common bridge group.  The two interfaces then form a bridge what communicates with a bridge virtual interface.  The device IP address then gets assigned to the virtual interface.</p>
<p><span id="more-222"></span></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>As with any bridge, loop detection is necessary to prevent problems in the network.  Spanning tree is configured on the specific bridge which will communicate with the connected access switches.  In this particular scenario, we would never want this bridge to become the root for the connected network.  Therefore it is important to specify a priority, even though it is optional, to influence the root bridge selection process.</p>
<p>To get started, specify a bridge number and spanning tree protocol used. The ieee option is the only real valid choice here, which is the 802.1D standard spanning tree.</p>
<pre>GW-VG224-01(config)#bridge 1 protocol ?
  dec          DEC protocol
  ibm          IBM protocol
  ieee         IEEE 802.1 protocol
  vlan-bridge  vlan-bridge protocol

GW-VG224-01(config)#bridge 1 protocol ieee</pre>
<p>Every bridge that participates in a spanning-tree domain goes through the root bridge election process. Specify the highest bridge priority for influencing the election process to not select this device as a root bridge:</p>
<pre>GW-VG224-01(config)#bridge 1 priority ?
  &lt;0-65535&gt;  Priority (low priority more likely to be root)

GW-VG224-01(config)#bridge 1 priority 65535</pre>
<p>This device in this example has two Fast Ethernet interfaces. Assign both of these physical interfaces to the bridge group number previously assigned:</p>
<pre>GW-VG224-01(config)#int fa0/0
GW-VG224-01(config-if)#bridge-group 1
GW-VG224-01(config-if)#int fa0/1
GW-VG224-01(config-if)#bridge-group 1</pre>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>Specify the use of irb:</p>
<pre>GW-VG224-01(config)#bridge ?
  &lt;1-255&gt;            Bridge Group number for Bridging.
  crb                Concurrent routing and bridging
  irb                Integrated routing and bridging
  mac-address-table  MAC-address table configuration commands

GW-VG224-01(config)#bridge irb</pre>
<p>Enter interface configuration mode for the virtual interface that is created. This interface is where the layer3 configuration goes:</p>
<pre>GW-VG224-01(config)#int bvI ?
  &lt;1-255&gt;  BVI interface number

GW-VG224-01(config)#int bvI 1
GW-VG224-01(config-if)#ip address 10.32.16.20 255.255.255.0</pre>
<p>Traffic will not be forwarded until the bridge is configured to route the IP traffic through this virtual bridge.</p>
<pre>GW-VG224-01(config)#bridge 1 route ?
  ip  IP
GW-VG224-01(config)#bridge 1 route ip</pre>
<p>Lastly, take the physical interfaces out of shutdown mode:</p>
<pre>GW-VG224-01(config-if)#int fa0/0
GW-VG224-01(config-if)#no shut
GW-VG224-01(config-if)#int fa0/1
GW-VG224-01(config-if)#no shut</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xpresslearn.com/cisco/general/network-link-redundancy-using-bvi/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Automate Cisco commands from Windows</title>
		<link>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows</link>
		<comments>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows#comments</comments>
		<pubDate>Tue, 07 Oct 2008 01:40:54 +0000</pubDate>
		<dc:creator>Scott Pilkinton</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[automate]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[plink]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.xpresslearn.com/?p=150</guid>
		<description><![CDATA[Use plink to automate sending commands and receiving information from your telnet and ssh sessions.  This article will show you how to use plink to gather the configuration from an IOS device.]]></description>
			<content:encoded><![CDATA[<p>In the previous article, <a title="Permanent Link to Running commands on a Cisco device from the Windows command line" rel="bookmark" href="http://www.xpresslearn.com/cisco/running-commands-on-a-cisco-device-from-the-windows-command-line">Running commands on a Cisco device from the Windows command line</a> , I wrote on how to run commands from the Windows command line against a Cisco device.  The article was based on using the Unix utility rsh aka Remote Shell.  The biggest downfall of using rsh is the security issues around the protocol.  How about another method of doing the same thing, but with using a more secure process?</p>
<p>Putty has a sister program that is called plink.  Like putty, plink is a standalone executable that is capable of accessing remote devices using telnet or ssh.  Plink is basically used in place of putty when you want the input/output of the program to use STDIN/STDOUT.  So, for example you can open a command prompt, invoke plink and connect to a device.  The interaction with the session will look just as if it would when using the telnet.exe from the XP/Vista command line.  One of the features of plink is that it can share the saved sessions created in Putty.  By default, putty will use the Windows registry to store saved connection information.  However, the configuration can be changed to store the sessions in the local file system.</p>
<p>In this initial example, lets configure a router to accept an incoming ssh connection with a locally defined username/password combination.  The basic IOS configuration to accomplish this task will look like the following:<br />
<span id="more-150"></span></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<pre>
R1(config)#int fa0/0
R1(config-if)#ip address 10.1.100.1 255.255.255.0

<strong>! Define the hostname on the router - required for enabling ssh</strong>
Router(config)#hostname R1

<strong>! Define the domain name on the router - required for enabling ssh</strong>
R1(config)#ip domain-name xpresslearn.com

<strong>! Generate encryption keys for use with ssh</strong>
R1(config)#crypto key generate rsa general-keys
The name for the keys will be: R1.xpresslearn.com
Choose the size of the key modulus in the range of 360 to 2048 for your
General Purpose Keys. Choosing a key modulus greater than 512 may take
a few minutes.
How many bits in the modulus [512]:
% Generating 512 bit RSA keys, keys will be non-exportable...[OK]

<strong>! Use the latest version of ssh</strong>
R1(config)#ip ssh version 2

<strong>! Locally defined username on the router</strong>
R1(config)#username xpresslearn privilege 15 secret pa55w0rd

<strong>! Enable aaa</strong>
R1(config)#aaa new-model

<strong>! Set all logins by default to use the local username entries</strong>
R1(config)#aaa authentication login default local

<strong>! Use the priviledge level defined in the local username statement</strong>
R1(config)#aaa authorization exec default local</pre>
<p>Now, from the command line, let&#8217;s use the plink.exe program to show the interfaces of the Cisco device. But first, lets take a look at the options available from the plink executable:</p>
<div id="attachment_161" class="wp-caption aligncenter" style="width: 457px"><a href="http://www.xpresslearn.com/wp-content/uploads/2008/09/plink-options.gif"><img class="size-full wp-image-161" title="Plink command options" src="http://www.xpresslearn.com/wp-content/uploads/2008/09/plink-options.gif" alt="Command line options for plink.exe" width="447" height="481" /></a><p class="wp-caption-text">Command line options for plink.exe</p></div>
<p>As you can see, one of the options is a -m to run remote commands from a file.  In order to automatically run commands without interaction, the commands you want to run need to be inserted into a text file.</p>
<div id="attachment_163" class="wp-caption aligncenter" style="width: 355px"><a href="http://www.xpresslearn.com/wp-content/uploads/2008/09/plink-commands.gif"><img class="size-full wp-image-163" title="Automating commands in Cisco IOS for use with Plink" src="http://www.xpresslearn.com/wp-content/uploads/2008/09/plink-commands.gif" alt="Text file to use with plink.exe" width="345" height="326" /></a><p class="wp-caption-text">Text file to use with plink.exe</p></div>
<p>Now, run the program with the proper command line options.  Which in the following example is:</p>
<p>- Use ssh to connect<br />
- Connect with the username xpresslearn<br />
- The IP address of the device we are connecting is 10.1.100.1<br />
- use the password pa55w0rd<br />
- run the commands contained in the file called plink-commands.txt that resides in the current directory.</p>
<div id="attachment_166" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.xpresslearn.com/wp-content/uploads/2008/09/plink-batch.gif"><img class="size-full wp-image-166" title="Running plink.exe in batch mode" src="http://www.xpresslearn.com/wp-content/uploads/2008/09/plink-batch.gif" alt="Running plink.exe in batch mode" width="500" height="195" /></a><p class="wp-caption-text">Running plink.exe in batch mode</p></div>
<p>As you can see, the output from the command is displayed as standard program output.  This output can just as easily be piped to a text file.  Next, let&#8217;s use this method to back up the configuration of the router.  First, we will put the proper commands in the text file for batch processing.</p>
<div id="attachment_168" class="wp-caption aligncenter" style="width: 358px"><a href="http://www.xpresslearn.com/wp-content/uploads/2008/09/plink-commands2.gif"><img class="size-full wp-image-168" title="Plink commands for configuration backup" src="http://www.xpresslearn.com/wp-content/uploads/2008/09/plink-commands2.gif" alt="Backup cisco configuration via plink.exe" width="348" height="330" /></a><p class="wp-caption-text">Backup cisco configuration via plink.exe</p></div>
<p>Now, run plink.exe with the same command line options and add the pipe to end:</p>
<div id="attachment_169" class="wp-caption aligncenter" style="width: 509px"><a href="http://www.xpresslearn.com/wp-content/uploads/2008/09/plink-batch2.gif"><img class="size-full wp-image-169" title="Router backup via Plink" src="http://www.xpresslearn.com/wp-content/uploads/2008/09/plink-batch2.gif" alt="Router backup using plink.exe" width="499" height="553" /></a><p class="wp-caption-text">Router backup using plink.exe</p></div>
<p>So we ran plink with the commands in the text file and piped them to a file called R1.txt.  In the above screen shot, you can see where we view the text file after the program has executed.  The text file contains the complete configuration of the device, which was displayed using the show run command.  FYI: the term length 0 command is used to prevent paging when showing the running configuration.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xpresslearn.com/cisco/general/automate-cisco-commands-from-windows/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading Staging Hardware</title>
		<link>http://www.xpresslearn.com/cisco/general/upgrading-staging-hardware</link>
		<comments>http://www.xpresslearn.com/cisco/general/upgrading-staging-hardware#comments</comments>
		<pubDate>Thu, 04 Sep 2008 16:27:14 +0000</pubDate>
		<dc:creator>Scott Pilkinton</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[tftp server]]></category>
		<category><![CDATA[upgrade IOS]]></category>
		<category><![CDATA[usb drive]]></category>

		<guid isPermaLink="false">http://www.xpresslearn.com/?p=135</guid>
		<description><![CDATA[This article explains how to use a router and USB flash drive instead of a PC in staging areas where you need to upgrade software on other network devices before deployment.]]></description>
			<content:encoded><![CDATA[<p>With the addition of USB ports on the newer Cisco routers, it has made it much easier to load IOS upgrades in staging areas &#8211; where equipment is being configured prior to being installed.  In the past, having a PC either directly connected to the staging equipment or plugged into the same network as the device was the way to upgrade the IOS using tftp.  Sometimes that staging area is a cubicle and causes a hassle if there isn&#8217;t a dedicated PC available for upgrades, because it means unhooking your primary pc from the network (which is the same pc needed to download all the software upgrades from cisco.com).</p>
<p>I have one USB thumb drive that is used strictly for Cisco gear.  First I started with a 256Mb freebie that come from a vendor and inserted it into a 2811 router that was up and running.  The flash was then formatted from the router to insure there would be no issues with the filesystem when using it in future Cisco devices.</p>
<pre>Router#format usbflash1:
Format operation may take a while. Continue? [confirm]
Format operation will destroy all data in "usbflash1:".  Continue? [confirm]
Format: Drive communication &amp; 1st Sector Write OK...

Format: All system sectors written. OK...

Format: Total data sectors in formatted partition: 511435
Format: Total data bytes in formatted partition: 261854720
Format: Operation completed successfully.

Format of usbflash1 complete
Router#</pre>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p><span id="more-135"></span><br />
Next the thumb drive was inserted into the pc and the IOS image copied to it.  In this scenario, a Catalyst 3560 switch is being upgraded which is connected directly to a 2811 router that will serve as the tftp server.</p>
<p>The router&#8217;s FastEthernet0/0 interface is connected to the switch, which is in the same vlan as the management interface (Vlan1) of the switch.</p>
<pre>Router#show ip int brief | exc unassigned
Interface               IP-Address      OK? Method  Status     Protocol
FastEthernet0/0         10.1.2.1        YES manual  up         up
Serial0/0/0             192.168.40.214  YES manual  down       down
Loopback1               10.254.1.18     YES manual  up         up
Router#</pre>
<p>Connectivity to the access switch is then verified using ping:</p>
<pre>Router#ping 10.1.2.5

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.2.5, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
Router#</pre>
<p>The thumb drive is then put back in the router and the contents of the usb drive is verified.</p>
<pre>Router#dir usbflash1:
Directory of usbflash1:/

    1  -rw-     8811199  Sep 04 2008 10:18:38 +00:00  c3560-ipbasek9-mz.122-46.SE.bin

261853184 bytes total (252272640 bytes free)
Router#</pre>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<br />
Next, configure the tftp server on the router:</p>
<pre>Router(config)#tftp-server usbflash1:c3560-ipbasek9-mz.122-46.SE.bin</pre>
<p>From the switch console, we should now be able to perform an IOS upgrade using the connected router as the tftp source:</p>
<pre>Switch#copy tftp://10.1.2.1/c3560-ipbasek9-mz.122-46.SE.bin flash:
Destination filename [c3560-ipbasek9-mz.122-46.SE.bin]?
Accessing tftp://10.1.2.1/c3560-ipbasek9-mz.122-46.SE.bin...
Loading c3560-ipbasek9-mz.122-46.SE.bin from 10.1.2.1 (via Vlan1): !!!!!!!!!!!!!!!&lt;truncated&gt;
[OK - 8811199 bytes]

8811199 bytes copied in 151.591 secs (58125 bytes/sec)
Switch#</pre>
<p>Using the router as a tftp server along with the removable storage proves to be a convenient method for upgrading other IOS devices in situations where a spare pc is not readily available.  Don&#8217;t forget to clean up the router after your finished by removing the tftp-server command.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xpresslearn.com/cisco/general/upgrading-staging-hardware/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Etherchannel Router Interfaces</title>
		<link>http://www.xpresslearn.com/cisco/general/etherchannel-router-interfaces</link>
		<comments>http://www.xpresslearn.com/cisco/general/etherchannel-router-interfaces#comments</comments>
		<pubDate>Fri, 27 Jun 2008 03:54:18 +0000</pubDate>
		<dc:creator>Scott Pilkinton</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Etherchannel]]></category>
		<category><![CDATA[Port Channel]]></category>

		<guid isPermaLink="false">http://www.xpresslearn.com/?p=117</guid>
		<description><![CDATA[To increase bandwidth on a given Cisco network device, typically etherchannel technology is used to accomplish this task. In most scenarios, etherchannel is used between two switches to provide additional bandwidth to the uplink connections. In less common instances, Network cards in servers that have drivers supporting the proprietary technology will be configured for etherchannel. [...]]]></description>
			<content:encoded><![CDATA[<p>To increase bandwidth on a given Cisco network device, typically etherchannel technology is used to accomplish this task. In most scenarios, etherchannel is used between two switches to provide additional bandwidth to the uplink connections. In less common instances, Network cards in servers that have drivers supporting the proprietary technology will be configured for etherchannel. The requirement is usually to increase bandwidth available on a link between two devices.</p>
<p>Etherchannel has not been used nearly as much for such requirements as redundancy, because there is a limitation on all the interfaces that belongs to an etherchannel group, each interface has to be plugged into the same switch. The stackable 3750 switches have allowed a little more redundant ability, in the sense that you can have two switches stacked via the stackwise ports in the back of the switch, which basically extends the backplane. By doing this, you are allowed to have an Etherchannel interface plugged into two different switches (as long as they are stacked). Let&#8217;s take a look at an example diagram for clarification:</p>
<p style="text-align: center;"><img class="aligncenter" title="Router with two Interfaces in Etherchannel configuration" src="http://www.xpresslearn.com/wp-content/uploads/2008/06/routeretherchannel.gif" alt="" /></p>
<p>Let&#8217;s take a look at the router configuration to accomplish the task of adding bandwidth.</p>
<p><span id="more-117"></span></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<pre>interface Port-channel1
ip address 192.168.50.1 255.255.255.0
!
interface FastEthernet0/0
duplex full
speed 100
channel-group 1
!
interface FastEthernet0/1
duplex full
speed 100
channel-group 1</pre>
<p>Next, the switch configuration:</p>
<pre>interface Port-Channel1
switchport
switchport access vlan 10
switchport mode access
!
interface FastEthernet0/1
switchport
switchport access vlan 10
switchport mode access
channel-group 1 mode on
!
interface FastEthernet0/2
switchport
switchport access vlan 10
switchport mode access
channel-group 1 mode on</pre>
<p>This example is configured for etherchannel without also being configured as a trunk (which means the aggregated interfaces are in access mode).</p>
<p>Another common configuration that goes along with etherchannel interfaces is Vlan Trunking. The term &#8216;trunking&#8217; is often misused when referring to etherchannel use. When discussing a trunk, the meaning is an interface that carries multiple vlans across it. The terms trunking and etherchannel do not automatically go with each other.</p>
<p>The following example shows the same Etherchannel configuration as above, only this time the interfaces will also be configured as trunks in order to carry multiple vlans across the link(in this example &#8211; vlan 2,3,4,5,6, and 999).</p>
<p>First, the router configuration:</p>
<pre>interface Port-channel1
 no ip address
!
interface Port-channel1.2
 encapsulation dot1Q 2
 ip address 192.168.2.1 255.255.255.0
!
interface Port-channel1.3
 encapsulation dot1Q 3
 ip address 192.168.3.1 255.255.255.0
!
interface Port-channel1.4
 encapsulation dot1Q 4
 ip address 192.168.4.1 255.255.255.0
!
interface Port-channel1.5
 encapsulation dot1Q 5
 ip address 192.168.5.1 255.255.255.0
!
interface Port-channel1.6
 encapsulation dot1Q 6
 ip address 192.168.6.1 255.255.255.0
!
interface Port-channel1.999
 encapsulation dot1Q 999 native
!
interface FastEthernet0/0
duplex full
speed 100
channel-group 1
!
interface FastEthernet0/1
duplex full
speed 100
channel-group 1</pre>
<p>Here is the switch configuration:</p>
<pre>interface Port-Channel1
switchport
switchport trunk allowed vlan 2,3,4,5,6,999
switchport mode trunk
!
interface FastEthernet0/1
switchport
switchport trunk allowed vlan 2,3,4,5,6,999
switchport mode trunk
channel-group 1 mode on
!
interface FastEthernet0/2
switchport
switchport trunk allowed vlan 2,3,4,5,6,999
switchport mode trunk
channel-group 1 mode on</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xpresslearn.com/cisco/general/etherchannel-router-interfaces/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DHCP Services on IOS</title>
		<link>http://www.xpresslearn.com/cisco/general/dhcp-services-on-ios</link>
		<comments>http://www.xpresslearn.com/cisco/general/dhcp-services-on-ios#comments</comments>
		<pubDate>Wed, 02 Apr 2008 20:40:46 +0000</pubDate>
		<dc:creator>Scott Pilkinton</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[IOS]]></category>

		<guid isPermaLink="false">http://www.xpresslearn.com/?p=54</guid>
		<description><![CDATA[Almost every network uses DHCP for IP address assignment.  This article explains how to configure a Cisco device for an external DHCP server and also how to configure IOS to act as the DHCP server entirely by itself.]]></description>
			<content:encoded><![CDATA[<p>The are two separate options when it comes to configuring DHCP on IOS devices .  So the first question you may have is: If there is more than one way to configure an IOS router for DHCP &#8211; How do I know which path to select?</p>
<p>The answer to that question depends on this secondary question: Will DHCP services be performed on a traditional server running DHCP or does it need to be handled solely by the network?</p>
<p>If the answer to the second question is: There will be a traditional server running DHCP (such as Windows DHCP services or the dhcpd demon on Unix), then the IOS router will be configured as a DHCP relay device.</p>
<p>If the answer to the second question is: DHCP needs to be handled completely by the network , then the IOS router will be configured as a DHCP server.</p>
<p>In either option, both require the following global configuration command (on by default):</p>
<pre>Router(config)# service dhcp</pre>
<p><span id="more-54"></span></p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p><strong>Configuring DHCP relay:</strong></p>
<p>The DHCP relay agent is configured on each Layer 3 interface that needs DHCP services.</p>
<pre>Router(config)# int FastEthernet 0/0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# ip helper-address  x.x.x.x</pre>
<p>Where x.x.x.x is the DHCP Server.  In this scenario, there isn&#8217;t a DHCP server on the 192.168.1.0/24 subnet &#8211; so the clients on this network have to get their dynamically assigned IP from a server somewhere else on the network.  When the router receives a UDP broadcast (port 67), it examines the gateway IP address field (giaddr) in the DHCP message header.  If the value of this field is 0.0.0.0, the DHCP agent replaces the all zero&#8217;s entry with the IP address of the interface on which the DHCP message arrived.  In this example, the giaddr would be replaced with 192.168.1.1 and then forwarded to the DHCP server IP address that is defined in the helper-address statement on that interface.</p>
<p>When the DHCP server receives the DHCP request, it examines the value in the Gateway IP Address field to determine if the packet was relayed.  Once it is determined that the packet was forwarded, it looks at the configured DHCP scopes for the network that would encompass the Gateway IP Address in the packet.  If a match is found, an address is proposed out of the pool range for that scope and sent back to the relay agent for forwarding back to the original requesting client.</p>
<p><strong>Configuring DHCP Server Service:</strong></p>
<p>To configure the IOS device to act as a DHCP Server, first start by configuring a pool and assign it a name.</p>
<pre>Router(config)# ip dhcp pool SubnetX</pre>
<p>Where SubnetX is a meaningful name that describes the network pool.  Next assign the network for this pool to handle, which in this example is 192.168.1.0/24.</p>
<pre>Router(dhcp-config)#network 192.168.1.0 255.255.255.0</pre>
<p>This tells the DHCP service that pool SubnetX is to be used for servicing requests on the 192.168.1.0 network.  By default, the DHCP service will attempt to assign any address in the network.  If you want to reserve the first twenty addresses, so that the first client will start for .21 &#8211; configure the following in global configuration mode:</p>
<pre>Router(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.20</pre>
<p>Other standard DHCP options to configure:</p>
<p>DNS Servers for the client to use for name resolution:</p>
<pre>Router(dhcp-config)#dns-server 10.1.1.100 10.2.1.100</pre>
<p>Default Gateway for clients to use on this subnet:</p>
<pre>Router(dhcp-config)#default-router 192.168.1.1</pre>
<p>Domain Name the client will be assigned:</p>
<pre>Router(dhcp-config)#domain-name xpresslearn.com</pre>
<p>Here is what the minimal DHCP Server configuration now looks like:</p>
<p style="text-align: center;"><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<pre>ip dhcp excluded-address 192.168.1.1 192.168.1.20
!
ip dhcp pool SubnetX
network 192.168.1.0 255.255.255.0
dns-server 10.1.1.100 10.2.1.100
domain-name xpresslearn.com
default-router 192.168.1.1</pre>
<p>Some additional options available that can be very useful :</p>
<p>Configure lease times</p>
<pre>Router(dhcp-config)#lease 5</pre>
<p>Wins Server assignment</p>
<pre>Router(dhcp-config)#netbios-name-server 10.1.1.100 10.2.1.100</pre>
<p>Configure DHCP database location on a physical storage medium, this prevents the router from loosing all of it&#8217;s lease data after a reboot.  By default, the router maintains the dhcp bindings in NVRAM.</p>
<pre>Router(config)#ip dhcp database flash:router-dhcp write-delay 60 timeout 10</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xpresslearn.com/cisco/general/dhcp-services-on-ios/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running commands on a Cisco device from the Windows command line</title>
		<link>http://www.xpresslearn.com/cisco/running-commands-on-a-cisco-device-from-the-windows-command-line</link>
		<comments>http://www.xpresslearn.com/cisco/running-commands-on-a-cisco-device-from-the-windows-command-line#comments</comments>
		<pubDate>Fri, 07 Mar 2008 04:06:09 +0000</pubDate>
		<dc:creator>Scott Pilkinton</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[configuration example]]></category>
		<category><![CDATA[RCMD]]></category>
		<category><![CDATA[Remote Shell]]></category>
		<category><![CDATA[rsh]]></category>

		<guid isPermaLink="false">http://www.xpresslearn.com/cisco/running-commands-on-a-cisco-device-from-the-windows-command-line</guid>
		<description><![CDATA[Remote Shell (rsh) services can be configured on Cisco routers and switches to allow execution of commands from a remote computer.  Among other things, this could prove useful in a support role where periodic show commands needs to be run on a network device quickly without requiring a telnet/ssh session and login each time.]]></description>
			<content:encoded><![CDATA[<p>RSH stands for Remote Shell and originally appeared on the early UNIX platforms. RSH is used to execute commands on a computer running the rshd daemon from another computer.  Windows XP and above includes this utility in the default OS installation.</p>
<p style="text-align: center"><img src="http://www.xpresslearn.com/wp-content/uploads/2008/03/rsh-1.gif" alt="Windows Command Prompt running rsh client" /></p>
<p><span id="more-83"></span></p>
<p style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>The security used by rsh is considered to be basically non-existent for the following reasons:</p>
<ul>
<li><span>No passwords are used, only usernames</span></li>
<li><span>The username and IP address of a system running the rsh command can easily be duplicated/spoofed in order to gain access to a remote system running the rsh server</span></li>
<li><span>There is no encryption used between the rsh client and server</span></li>
</ul>
<p>The following example shows running a couple of remote commands:</p>
<p style="text-align: center"><img src="http://www.xpresslearn.com/wp-content/uploads/2008/03/rsh-2.gif" alt="rsh from Windows to a Cisco router" /></p>
<p><span>The authentication process between the rsh client and server explained:</span></p>
<p><span>The rsh server has a local username, remote username, and an allowed IP source address of every connection allowed to it.</span></p>
<ul>
<li><span>Local username means the name local to the RSH server.It isn’t defined on a Cisco router in the sense of a traditional local username/password entry.  It’s basically just a random word that could be considered as a ‘shared secret’ between the server and client.  What is defined here has to match was it being used with the –l option in the rsh client.</span></li>
<li><span>The remote username is the name of the logged in user running the rsh client.  This username is taken from the currently logged in user that is running the RSH command.  If being run as a process, it uses the defined user that is setup to run the command.  You can’t manipulate this in the rsh client, it automatically uses the username from the Operating System.  In Windows the rsh command just uses the user name with no &lt;domain&gt;\ or &lt;computername&gt;\ prefix.</span></li>
<li><span>The IP source IP address is the address of the machine running the RSH client.</span></li>
</ul>
<p style="text-align: center"><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p><span>As you can see from the previous explanation, all the information that is really needed to execute commands on a remote rsh server is the local username and which remote usernames and IP’s the server allows.<span>  </span>The last two items as previously mentioned, can easily be duplicated from an normally unauthorized computer.</span></p>
<p>Here is the output from the debug command &#8211; <strong>debug ip tcp rcmd</strong>:</p>
<p><u>An unsuccessful attempt</u></p>
<pre>%RCMD: [514 &lt;- 10.1.100.20:1023] recv 1022\0
%RCMD: [514 &lt;- 10.1.100.20:1023] recv Administrator\0Administrator\0show run\0
%RCMD: [514 &lt;- 10.1.100.20:1023] recv -- Administrator 10.1.100.20 Administrator not in
trusted hosts database
%RCMD: [514 -&gt; 10.1.100.20:1023] send &lt;BAD,Permission denied.&gt;\n</pre>
<p>In the above attempt, there is not a local user called Administrator on the router, thus the request is denied.</p>
<p><u>A successful attempt</u></p>
<pre>%RCMD: [514 &lt;- 10.1.100.20:1023] recv 1022\0
%RCMD: [514 &lt;- 10.1.100.20:1023] recv Administrator\0Router\0show run\0
%RCMD: [514 -&gt; 10.1.100.20:1023] send &lt;OK&gt;</pre>
<p>Steps for configuring a Cisco device to support RSH:</p>
<pre>Router(config)#ip rcmd remote-host Router 10.1.100.20 Administrator enable
Router(config)#ip rcmd rsh-enable
Router(config)#no ip rcmd domain-lookup</pre>
<p>The previous configuration example allows a host with the IP address of 10.1.100.20 that is logged into the Operating System as the user Administrator to run commands on the device using rsh.  Notice the use of the no ip rcmd domain-lookup command.  Without this, the router will attempt to do a reverse lookup on the incoming source IP address and will fail if the reverse dns entry does not exist, so in our example scenario, we turn off this behavior.  If we had left it on in our test environment the rsh execution would have failed with the following debug output:</p>
<pre>%RCMD-4-RCMDDNSFAIL: DNS hostname/ip address mismatch.  10.1.100.20 unknown to DNS</pre>
<p>If you need to allow a single user to come from multiple source IP addresses, use an access list in the rcmd configuration as shown in the following example.</p>
<pre>Router(config)#access-list 1 remark Source IP addresses allowed to use RCMD
Router(config)#access-list 1 permit 10.1.100.20
Router(config)#access-list 1 permit 192.168.100.20
Router(config)#ip rcmd remote-host Router 1 Administrator enable
Router(config)#ip rcmd rsh-enable</pre>
<p>RSH is currently used between Cisco products to serve certain functions.  CiscoWorks, which is a Network Management System, uses rsh to run certain processes on Cisco devices that it manages.  Also, various Cisco VoIP  platforms use rsh to execute commands on routers as needed.</p>
<p>In my opinion, if this type of access could be used in your network, consider only allowing a secured, centrally located computer the ability to execute rsh commands on your network devices.  By having a physically and logically secure station that is allowed to run rsh, you stand less of a risk of someone being able to steal it&#8217;s identity for replication on an unauthorized computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xpresslearn.com/cisco/running-commands-on-a-cisco-device-from-the-windows-command-line/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Banner Implementation</title>
		<link>http://www.xpresslearn.com/cisco/banner-implementation</link>
		<comments>http://www.xpresslearn.com/cisco/banner-implementation#comments</comments>
		<pubDate>Fri, 11 Jan 2008 00:41:00 +0000</pubDate>
		<dc:creator>Scott Pilkinton</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[login banner]]></category>
		<category><![CDATA[motd]]></category>

		<guid isPermaLink="false">http://www.xpresslearn.com/cisco/banner-implementation</guid>
		<description><![CDATA[Banners configured on Cisco devices provide many useful functions.  This article explains the five banner types and how to configure each one.]]></description>
			<content:encoded><![CDATA[<p>There are five different types of banners that can be implemented on most Cisco IOS devices.</p>
<p>- Message of the day (MOTD)<br />
- Login<br />
- exec<br />
- incoming<br />
- slip-ppp</p>
<p>Let&#8217;s take a look at each of these in a little more detail to determine their purposes.</p>
<p><strong>MOTD</strong></p>
<p>This MOD banner is displayed on terminal lines at the time of login.  This message will appear before the user/password prompt.  To configure a message of the day:</p>
<p><span id="more-49"></span></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<pre>Router(config)#banner motd ^
Enter TEXT message.  End with the character '^'.
This is a wise message of the day

^
Router(config)#</pre>
<p>When you telnet to the device, this is what appears:</p>
<pre>This is a wise message of the day</pre>
<pre>User Access Verification</pre>
<pre>Username:</pre>
<p><strong>Login</strong></p>
<p>The login banner is displayed on terminal lines at login.  This message will appear after the MOTD (if configured) and before the login prompts.  To configure a login banner:</p>
<pre>Router(config)#banner login ^
Enter TEXT message.  End with the character '^'.

Only authorized people may login to this router

^
Router(config)#</pre>
<p>Below is what a telnet session looks like when both a MOTD and a login banner is configured:</p>
<pre>This is a wise message of the day

Only authorized people may login to this router

User Access Verification

Username:</pre>
<p>You might wonder when would you configure both a motd and a login banner.  A login banner can be used to display a more &#8216;permanent&#8217; message, that doesn&#8217;t get changed often &#8211; such as a disclaimer, security message, etc.  The motd may be configured with only a temporary message, such as a message stating when the next maintenance will occur, etc&#8230;</p>
<p><strong>EXEC</strong></p>
<p>The exec banner when configured, will display when an EXEC process is initiated.  For example, the exec process is started after a successful login via telnet.  The message will display after successfully going through the username/password prompts and before the router/switch prompt is displayed.  To configure an EXEC banner:</p>
<pre>Router(config)#banner exec ^
Enter TEXT message.  End with the character '^'.

Make sure you know what you are doing before changing anything!

^
Router(config)#end
Router#</pre>
<p>A telnet session with all three previous examples configured looks like:</p>
<pre>This is a wise message of the day

Only authorized people may login to this router

User Access Verification

Username: admin
Password:

Make sure you know what you are doing before changing anything!

Router&gt;</pre>
<p><strong>Incoming</strong></p>
<p>You can configure a banner to be displayed on terminals connected to reverse Telnet lines. This banner is useful for providing instructions to users of these types of connections.  An incoming banner is configured like:</p>
<pre>Router(config)#banner incoming ^
Enter TEXT message.  End with the character '^'.
This is reverse telnet session A
^
Router(config)#</pre>
<p><strong>SLIP-PPP</strong></p>
<p>This banner is used to display a message to standard PPP and SLIP dial up software.  To configure a slip-ppp message:</p>
<pre>Router(config)#banner slip-ppp ^
Enter TEXT message.  End with the character '^'.
Unauthorized access to this system is prohibited
^
Router(config)#</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.xpresslearn.com/cisco/banner-implementation/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating a system backup network</title>
		<link>http://www.xpresslearn.com/cisco/general/creating-a-system-backup-network</link>
		<comments>http://www.xpresslearn.com/cisco/general/creating-a-system-backup-network#comments</comments>
		<pubDate>Sun, 30 Dec 2007 23:10:12 +0000</pubDate>
		<dc:creator>Scott Pilkinton</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[EMC]]></category>
		<category><![CDATA[sysbackup]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[system backup]]></category>
		<category><![CDATA[veritas]]></category>

		<guid isPermaLink="false">http://www.xpresslearn.com/networking/creating-a-system-backup-network</guid>
		<description><![CDATA[Overview of building a system backup network along with answers to common design considerations.]]></description>
			<content:encoded><![CDATA[<p>Most corporate networks have moved to a network based backup infrastructure for performing data backup to another storage media (most of the time it is sent to tape).  Before network based backups, systems were connected via a SCSI connection to a tape drive.  There are many obvious advantages to making the shift to backing up over the network &#8211; however, there are some considerations to be aware of.</p>
<p>Most backup schedules run jobs during &#8216;off hours&#8217;, when the servers are not as busy.  This is good for the network also, since you don&#8217;t want to interfere with the traffic generated from doing business during peak usage times.  However, there really is never a time the network availability is not important.  Nor is there a time when it&#8217;s ok for the network to be degraded.  So, even during non peak times, we don&#8217;t want to interfere with what I&#8217;ll call primary traffic.  Here are steps to take in order to ensure the different traffic types don&#8217;t affect one another.</p>
<p><span id="more-41"></span></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>The goal here is to separate the system backup traffic from everything else.  Starting with the host:</p>
<p>Use a dedicated network interface for system backup use.  This NIC will be assigned an IP address from a subnet dedicated just for this use.  This interface will not have an associated default gateway.  Generally speaking, a system should always have only one default gateway, which is associated with the primary interface.  In regards to routing system backup traffic (if required), that will be addressed later in this article.</p>
<p>Regarding the network design, ask a couple of questions first before getting started with the design:</p>
<ol>
<li>Do I have dedicated network hardware to run the backup network?</li>
<li>Do I have multiple sites that need to talk back to a &#8216;centralized&#8217; backup device?</li>
</ol>
<p align="justify">Dedicated hardware in most cases would be unlikely.  However, if you have a single site that had the cabling available and the budget to buy dedicated switch hardware &#8211; this is the way to go.  The rest of this article will continue down the path of logical separation, in which vlan(s) will be created to run just the backup traffic.</p>
<p align="justify">First create a vlan id that will be assigned to this logical network.  Assuming the network has the ability to configure private vlans, use this technology to protect &#8216;backdoor&#8217; access from one host to another via the system backup interfaces.  This article explains how to setup private vlans or even an alternative solution if you have older Cisco switch hardware.</p>
<p align="justify">Once you have layer2 isolation using one of the protected port/private vlan methods, the next step is to determine if this traffic will need to be routed.  If you have only one building or physical network, chances are no layer3 interface will be needed and it will just remain a flat, non-routed network</p>
<p align="justify">If you have mutliple networks seperated by a wan and the &#8216;master&#8217; backup server is at a central location, then at least some portion of that network will need to be routable.  Typically in an enterprise backup environment you have two types of servers that make up the solution.  One type is the &#8216;Master&#8217; server and the others are &#8216;Media&#8217; servers.  The media servers are what is directly attached to the stoarage media and does the backup over the network from each host.  The master server talks to the media servers to send them backup schedules, synchronize catalogs, submit jobs, etc.  So, the traffic from the Master to Media servers are minimal, with the bulk of the network utilization being between a system being backed up and a local media server.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p align="justify">Most of the time, the systems being backed up will have no reason to talk to any centralized master servers, which means no routing will ever take place between the dual-homed systems being backed up.  However, if there is a need like a centralized media server backing up manageable amounts of data over the wan, you want to use static, persistent routes in the hosts being backed up.  By doing this, you tell the systems to only use a gateway on the system backup network to talk to a very specific destination.</p>
<p align="justify">Regarding the layer3 security needed for the backup network, use extended access-lists on traditional routers or vlan access-lists on layer3 switches that support it.  The access-list should be placed on every system backup layer3 interface in your network.  The access list will basically only allow the backup networks to talk to each other &#8211; denying everything else.  This will ensure an unauthorized host on the system backup network can&#8217;t reach primary networks used to carry other traffic.</p>
<p align="justify">One of the most important things to be on the lookout for is port speed/duplex mismatches.  This one area will be the source of your pain the majority of the time when the backup administrators complain about backup throughput.</p>
<p align="justify">There are some other tweaks that can be done once your system backup network is up and running.   Jumbo Frame support would be one of my first recommendations.  You can squeeze another 20% increase in backup and restore speeds on just this modification alone.  However, be sure to plan this out carefully if you intend to implement jumbo frames &#8211; the network must support this end to end or traffic could  wind up being dropped.</p>
<p align="justify">Best wishes in your pursuits of building backup network architecture!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xpresslearn.com/cisco/general/creating-a-system-backup-network/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manually locating the switchport of a connected host</title>
		<link>http://www.xpresslearn.com/cisco/manually-locating-the-switchport-of-a-connected-host</link>
		<comments>http://www.xpresslearn.com/cisco/manually-locating-the-switchport-of-a-connected-host#comments</comments>
		<pubDate>Wed, 26 Dec 2007 01:43:27 +0000</pubDate>
		<dc:creator>Scott Pilkinton</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Switching]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Switch]]></category>

		<guid isPermaLink="false">http://www.xpresslearn.com/index.php/archives/cisco/manually-locating-the-switchport-of-a-connected-host</guid>
		<description><![CDATA[Many times a network engineer needs to quickly find where a particular host is plugged into the network.  This article explains how to accomplish this using a manual discovery process that can be performed rather quickly,]]></description>
			<content:encoded><![CDATA[<p>There are many times that a network administrator needs to locate a switch and port that a device is physically plugged into.  This can be done manually by using the following example.</p>
<p>If the mac-address of a the device is known, then skip this first step of determining the mac-address from the IP address.</p>
<p>From the layer 3 device directly connected to the subnet containing the device to be found, ping the IP address of the host.  From a cisco device the process will look like the following:</p>
<p><span id="more-40"></span></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<pre>bna-lan-01#ping 10.120.2.100

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.120.2.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms</pre>
<p>It&#8217;s always a good idea to ping the device first.  Otherwise, if there has been no recent communication to/from the device trying to be located, it will not appear in the arp table.  Therefore, ping the device to ensure the mac address will be in the arp table.  To locate the device, issue a show arp command with a pipe that includes the IP address of the host.</p>
<pre>bna-lan-01#sh arp | inc 10.120.2.100
Internet  10.120.2.100            0   000d.23e4.1f20  ARPA   Vlan2
bna-lan-01#</pre>
<p>The output of the show arp command will include the mac address along with what vlan the device resides in..  Now that the mac address of the host has been obtained, next issue the show mac-address command on the switch at the core of your network:  In this example, the layer 3 device and the core switch is the same Cisco 6500 switch, with the name bna-lan-01.</p>
<pre>bna-lan-01#sh mac-address-table address 000d.23e4.1f20
Legend: * - primary entry
        age - seconds since last seen
        n/a - not available

  vlan   mac address     type    learn     age              ports
------+----------------+--------+-----+----------+--------------------------
Supervisor:
*  2     000d.23e4.1f20  dynamic  Yes      80               Gi1/8</pre>
<p>After issuing the show mac-address command, we see that the mac address was learned via Gigabit 1/8.  From here, let&#8217;s assume the network is an all Cisco network and CDP is still running on the uplink ports.  The next bit of information needed is what is connected on the other end of Gig1/8.  Let&#8217;s do a show cdp nei to obtain that information:</p>
<pre>bna-lan-01#sh cdp nei detail Gi1/8
-------------------------
Device ID: bna-asw-01
Entry address(es):
  IP address: 10.1.0.21
Platform: cisco WS-C3750-48TS,  Capabilities: Router Switch IGMP
Interface: GigabitEthernet1/8,  Port ID (outgoing port): GigabitEthernet1/0/49
Holdtime : 124 sec

Version :
Cisco Internetwork Operating System Software
IOS (tm) C3750 Software (C3750-I9-M), Version 12.1(19)EA1d, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 05-Apr-04 22:40 by antonino

advertisement version: 2
Protocol Hello:  OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=0FF0000
VTP Management Domain: 'BNA-NET'
Native VLAN: 257
Duplex: full</pre>
<p>The downstream access switch is a 3750 with a management IP address of 10.1.0.21.  The next step is to access this switch and issue the show mac address command on it.</p>
<pre>bna-asw-01#sh mac-address-table address 000d.23e4.1f20
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
 2      000d.23e4.1f20    DYNAMIC     Gi1/0/4</pre>
<p>The output shows the host connected to the port Gigabit 1/0/4.  If there had been another switch in between bna-asw-01 and the host, we would just do the same thing as previously &#8211; which is issue the show cdp neighbor command and find the management IP of the next access switch.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-0663307349809080";
google_ad_slot = "4388421750";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xpresslearn.com/cisco/manually-locating-the-switchport-of-a-connected-host/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
