<?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>SavvyNetCert &#187; Cisco IOS Commands</title>
	<atom:link href="http://www.savvynetcert.com/tag/cisco-ios-commands/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.savvynetcert.com</link>
	<description>CCNA Video Training :: CCNA Books :: CCNA Resources</description>
	<lastBuildDate>Tue, 09 Aug 2011 17:23:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Cisco IOS Commands &#8211; Using Extended Ping For Network Troubleshooting</title>
		<link>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-commands-using-extended-ping-for-network-troubleshooting/</link>
		<comments>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-commands-using-extended-ping-for-network-troubleshooting/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 09:58:57 +0000</pubDate>
		<dc:creator>abpalancajr</dc:creator>
				<category><![CDATA[Cisco IOS Commands]]></category>
		<category><![CDATA[ios commands]]></category>
		<category><![CDATA[router ios commands]]></category>

		<guid isPermaLink="false">http://www.savvynetcert.com/?p=593</guid>
		<description><![CDATA[The extended ping command is a very important part of any network engineer&#8217;s Cisco IOS commands knowledge, but you don&#8217;t find this being mentioned in many CCNA books.  Many beginners do not know how to use this command effectively, but it is definitely a must-know and can isolate many network issues.  In this post, I&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-594 alignright" title="extended-ping" src="http://www.savvynetcert.com/wp-content/uploads/2009/09/extended-ping.png" alt="extended-ping" width="320" height="335" /></p>
<p>The extended ping command is a very important part of any network engineer&#8217;s <strong>Cisco IOS commands</strong> knowledge, but you don&#8217;t find this being mentioned in many <a href="http://www.savvynetcert.com/ccna-books/ccna-books-how-to-choose-the-right-exam-preparation-book">CCNA books</a>.  Many beginners do not know how to use this command effectively, but it is definitely a must-know and can isolate many network issues.  In this post, I&#8217;ll go through some of the most important and useful parameters of this command:</p>
<h3>Target IP address</h3>
<p>The target IP address is the IP you want to send the ping/ICMP packet to.  This is fairly straightforward, but one important note that if this IP is not routable from this router, you won&#8217;t be able to reach it, and will get no replies.  The next step would be to do a traceroute to further isolate the issue.</p>
<h3>Repeat count</h3>
<p>Some physical line problems might only show up upon repeated ping tests.  If it&#8217;s an intermittent issue, it&#8217;s best to put a larger number to simulate a stress test in order to ensure that there are no issues.  For example, 1,000 or 10,000 packets might be a suitable number.</p>
<h4>Datagram size</h4>
<p>For stress test purposes, you can put a larger number in the datagram size to test for larger packets.  It is not recommended to put a datagram size larger than the maximum MTU size of all the routers along the routing path as this would mean the packets would be fragmented (unless you are testing whether fragmentation is working properly).  For an TCP/IP network running on ethernet, a good datagram size to use is 1500.</p>
<p>Some issues might also only show up with larger datagram sizes.  These are usually related to some fragmentation issue along the way.  It makes sense to test with larger datagram sizes as well as small ones in order to be sure.</p>
<h3>Source address or interface</h3>
<p>This part of the extended ping command is very useful to test whether it&#8217;s a routing issue or a switching issue.  If you reach the directly connected router for a problematic host, and pings are successful when sourced from a directly connected interface (but not from another interface which is not directly connected), it usually indicates a routing configuration or process issue on that router, since no routing is needed for directly connected interfaces.</p>
<p>I hope you&#8217;ve found this post on <em>Cisco IOS commands</em> useful.  Do subscribe to my <a href="http://feeds.feedburner.com/savvynetcert" target="_blank">RSS feed</a> or follow me on twitter (<a href="http://twitter.com/savvynetcert" target="_blank">@savvynetcert</a>) for the latest updates.</p>
<p>Cheers,<br />
Francis (<em>SavvyNetCert.Com</em> &#8211; <a href="http://twitter.com/savvynetcert" target="_blank">@savvynetcert</a> on Twitter)</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Cisco+IOS+Commands' rel='tag' target='_self'>Cisco IOS Commands</a>, <a class='technorati-link' href='http://technorati.com/tag/ios+commands' rel='tag' target='_self'>ios commands</a>, <a class='technorati-link' href='http://technorati.com/tag/router+ios+commands' rel='tag' target='_self'>router ios commands</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-commands-using-extended-ping-for-network-troubleshooting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco IOS Commands &#8211; Using The Show Interface Cisco IOS Command For Troubleshooting Network Issues</title>
		<link>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-commands-using-the-show-interface-cisco-ios-command-for-troubleshooting-network-issues/</link>
		<comments>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-commands-using-the-show-interface-cisco-ios-command-for-troubleshooting-network-issues/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 18:07:19 +0000</pubDate>
		<dc:creator>abpalancajr</dc:creator>
				<category><![CDATA[Cisco IOS Commands]]></category>
		<category><![CDATA[ccna network engineer]]></category>
		<category><![CDATA[cisco ios command]]></category>
		<category><![CDATA[ios commands]]></category>

		<guid isPermaLink="false">http://www.savvynetcert.com/?p=580</guid>
		<description><![CDATA[Mastery of Cisco IOS commands is a very important part of the CCNA test and is also essential for anybody who is serious about a career in computer networks.  Of all the commands, the most crucial are those you should have at the tips of your fingers when something goes wrong and you are suddenly [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-586 alignright" title="cisco ios commands" src="http://www.savvynetcert.com/wp-content/uploads/2009/08/cisco-ios-commands.jpg" alt="cisco ios commands" width="339" height="226" /></p>
<p>Mastery of <strong>Cisco IOS commands</strong> is a very important part of the CCNA test and is also essential for anybody who is serious about a career in computer networks.  Of all the commands, the most crucial are those you should have at the tips of your fingers when something goes wrong and you are suddenly called upon to troubleshoot.  Every so often, the issue is related to a switchport and it is important to know how to use the show interface <em>Cisco IOS command</em> properly.  If there is a network issue regarding slowness or disconnects, here are a 6 things you should be looking at when you check on the output of the &#8220;<em>show interface</em>&#8221; Cisco IOS command:</p>
<p>1. <strong>Is the physical port and line protocol up?</strong> If you don&#8217;t have layer 1 and layer 2 connectivity, there is no way any IP packet is going through this port.</p>
<p>2. <strong>Any duplex mismatch issues?</strong> Duplex mismatch could lead to slowness and errors in the network.  If the speed does not match, the port won&#8217;t even come up.</p>
<p>3. <strong>Any QoS drops?</strong> If you have a QoS policy in place, it might be shaping and policing the traffic and dropping the packets.  In this case, you might need to either rework your QoS policies, or advise the user about the high traffic levels.</p>
<p>4. <strong>What are the traffic levels, is this normal?</strong> You can check the input and output rates to see if this is normal for this time of day.</p>
<p>5. <strong>Any CRC or other input errors?</strong> Input and CRC errors could signify a physical problem with the port or cabling.</p>
<p>6. <strong>Any output errors or collisions?</strong> Output errors could also indicate a physical issue with the port or cabling.  A full-duplex connection should have no collisions while it is quite normal for a half-duplex port to have collisions.</p>
<p>Cheers,<br />
Francis (<em>SavvyNetCert.Com</em>)</p>
<h4><strong>P.S. Still preparing for your CCNA? Do get the right <a href="http://www.savvynetcert.com/ccna-books/ccna-books-how-to-choose-the-right-exam-preparation-book">CCNA books</a> &#8211; have you seen our <a title="ccna books" href="http://www.savvynetcert.com/ccna-books-comparison" target="_self">CCNA book comparison</a> chart?</strong></h4>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/ccna+network+engineer' rel='tag' target='_self'>ccna network engineer</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+ios+command' rel='tag' target='_self'>cisco ios command</a>, <a class='technorati-link' href='http://technorati.com/tag/Cisco+IOS+Commands' rel='tag' target='_self'>Cisco IOS Commands</a>, <a class='technorati-link' href='http://technorati.com/tag/ios+commands' rel='tag' target='_self'>ios commands</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-commands-using-the-show-interface-cisco-ios-command-for-troubleshooting-network-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco IOS Commands &#8211; Show Command Filters (Part 2)</title>
		<link>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-commands-show-command-filters-part-2/</link>
		<comments>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-commands-show-command-filters-part-2/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 15:00:43 +0000</pubDate>
		<dc:creator>abpalancajr</dc:creator>
				<category><![CDATA[Cisco IOS Commands]]></category>
		<category><![CDATA[cisco command]]></category>
		<category><![CDATA[cisco commands]]></category>
		<category><![CDATA[cisco ios command]]></category>

		<guid isPermaLink="false">http://www.savvynetcert.com/?p=343</guid>
		<description><![CDATA[This is a continuation from the first part of this series on show command filters.  Please read part 1 on show command filters if you haven&#8217;t already. Cisco IOS Command &#8211; Section Filter The section filter Cisco IOS command is only available in newer Cisco IOS versions but is very useful should you have it [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-358 alignright" title="switch" src="http://www.savvynetcert.com/wp-content/uploads/2009/07/switch.jpg" alt="switch" width="340" height="226" /></p>
<p>This is a continuation from the first part of this series on show command filters.  Please read part 1 on <a href="http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-how-to-use-show-command-filters-effectively" target="_self">show command filters</a> if you haven&#8217;t already.</p>
<h3>Cisco IOS Command &#8211; Section Filter</h3>
<p>The section filter Cisco IOS command is only available in newer Cisco IOS versions but is very useful should you have it available.  In older versions of Cisco IOS, if you wanted to view the EIGRP routing configuration, the fastest way is to run the &#8220;show run | b router eigrp&#8221; command, which would have the following output, with the unnecessary parts of the configuration shown as well.</p>
<blockquote><p><code>Router#sh run | b eigrp 999<br />
router eigrp 999<br />
network 10.0.0.0<br />
no auto-summary<br />
eigrp router-id 10.0.1.1<br />
!<br />
ip forward-protocol nd<br />
!<br />
ip http server<br />
no ip http secure-server<br />
[Extra Lines Not Shown]</code></p></blockquote>
<p>When you use the section filter, it only shows the EIGRP routing configuration, as below:</p>
<blockquote><p><code>Router#sh run | s eigrp 999<br />
router eigrp 999<br />
network 10.0.0.0<br />
no auto-summary<br />
eigrp router-id 10.0.1.1<br />
Router#</code></p></blockquote>
<p>This is a great time saver, and is extremely useful especially if you need to troubleshoot and are pressed for time.</p>
<h4><strong>P.S. I created a handy chart comparing the various <a title="ccna books" href="http://www.savvynetcert.com/ccna-books-comparison" target="_self">CCNA books</a>.  Click on the link to <a title="ccna books" href="http://www.savvynetcert.com/ccna-books-comparison" target="_self">compare and buy</a></strong> now.</h4>
<p>Cheers,<br />
Francis (SavvyNetCert)</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/cisco+command' rel='tag' target='_self'>cisco command</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+commands' rel='tag' target='_self'>cisco commands</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+ios+command' rel='tag' target='_self'>cisco ios command</a>, <a class='technorati-link' href='http://technorati.com/tag/Cisco+IOS+Commands' rel='tag' target='_self'>Cisco IOS Commands</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-commands-show-command-filters-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco IOS Command Tip &#8211; How To Use Show Command Filters Effectively</title>
		<link>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-how-to-use-show-command-filters-effectively/</link>
		<comments>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-how-to-use-show-command-filters-effectively/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 15:00:43 +0000</pubDate>
		<dc:creator>abpalancajr</dc:creator>
				<category><![CDATA[Cisco IOS Commands]]></category>
		<category><![CDATA[cisco command]]></category>
		<category><![CDATA[cisco commands]]></category>
		<category><![CDATA[cisco ios command]]></category>

		<guid isPermaLink="false">http://www.savvynetcert.com/?p=337</guid>
		<description><![CDATA[Cisco IOS Command Filters &#8211; Why You Need Them For the beginning and CCNA network engineer, we spend a lot of time looking at the running configuration of the Cisco IOS router or switch.  Filters are an extremely useful part of the Cisco IOS command line and every network engineer should be able to use [...]]]></description>
			<content:encoded><![CDATA[<h3><img class="size-full wp-image-351 alignright" title="hub" src="http://www.savvynetcert.com/wp-content/uploads/2009/07/hub.jpg" alt="hub" width="340" height="226" /></h3>
<h3>Cisco IOS Command Filters &#8211; Why You Need Them</h3>
<p>For the beginning and <em>CCNA network engineer</em>, we spend a lot of time looking at the running configuration of the Cisco IOS router or switch.  Filters are an extremely useful part of the Cisco IOS command line and every network engineer should be able to use them effectively as they save a lot of time when used properly.  If you want to get your CCNA certification and be an effective network engineer, you should know this.</p>
<h3>Ciso IOS Command Filters &#8211; Available In Cisco IOS</h3>
<p>There are several show command filters for the Cisco IOS Command, which are usually used in conjunction with the &#8220;show run&#8221; and &#8220;show start&#8221; commands to view parts of the configuration.</p>
<blockquote><p><code>Router#sh run | ?<br />
append    Append redirected output to URL (URLs supporting append operation<br />
only)<br />
begin     Begin with the line that matches<br />
exclude   Exclude lines that match<br />
include   Include lines that match<br />
redirect  Redirect output to URL<br />
section   Filter a section of output<br />
tee       Copy output to URL</code></p></blockquote>
<p>The most common filters to use with this Cisco IOS command are include and exclude, which return only the lines of the configuration which contain the specified word.  For example,</p>
<blockquote><p><code>Router#sh run | i interface<br />
interface FastEthernet0/0<br />
interface FastEthernet0/1<br />
</code></p></blockquote>
<p>A more interesting use of this Cisco command would be to combine the filters, like as follows.</p>
<blockquote><p><code>Router&gt;sh ip nat trans | i Pro|15.0.0.1<br />
Pro Inside global      Inside local       Outside local      Outside global<br />
--- 15.0.0.1           192.168.10.1       ---                ---<br />
Router&gt;</code></p></blockquote>
<p>In the above Cisco IOS command example, this is used to show both the header row as well as filter for a particular address in the NAT translation status output.</p>
<h3>To Be Continued&#8230;</h3>
<p>In a 2nd part of this post, I&#8217;ll be writing about the section filter.  Do subscribe to my <a href="http://feeds.feedburner.com/savvynetcert" target="_blank">RSS feed</a> to make sure you don&#8217;t miss it.</p>
<p>Cheers,<br />
Francis (<a href="http://twitter.com/savvynetcert" target="_blank">@SavvyNetCert</a>)</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/cisco+command' rel='tag' target='_self'>cisco command</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+commands' rel='tag' target='_self'>cisco commands</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+ios+command' rel='tag' target='_self'>cisco ios command</a>, <a class='technorati-link' href='http://technorati.com/tag/Cisco+IOS+Commands' rel='tag' target='_self'>Cisco IOS Commands</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-how-to-use-show-command-filters-effectively/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco IOS Command Tip &#8211; A Quick Way to Wipe The Cisco Router Configuration For Your CCNA Lab</title>
		<link>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-a-quick-way-to-wipe-the-cisco-router-configuration-for-your-ccna-lab/</link>
		<comments>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-a-quick-way-to-wipe-the-cisco-router-configuration-for-your-ccna-lab/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 14:00:44 +0000</pubDate>
		<dc:creator>abpalancajr</dc:creator>
				<category><![CDATA[Cisco IOS Commands]]></category>
		<category><![CDATA[cisco command]]></category>
		<category><![CDATA[cisco commands]]></category>
		<category><![CDATA[cisco ios command]]></category>

		<guid isPermaLink="false">http://www.savvynetcert.com/?p=322</guid>
		<description><![CDATA[Very often when you are practicing for the CCNA exam in your home lab, you may want to reset the configuration to the &#8220;factory&#8221; state in order to reconfigure it from scratch.  This is an excellent way to practice as deployment tasks usually are done on fresh devices shipped from Cisco.  I have a CCNA [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-328 alignright" title="Eraser" src="http://www.savvynetcert.com/wp-content/uploads/2009/07/eraser.jpg" alt="Eraser" width="226" height="339" /></p>
<p>Very often when you are practicing for the CCNA exam in your home lab, you may want to reset the configuration to the &#8220;factory&#8221; state in order to reconfigure it from scratch.  This is an excellent way to practice as deployment tasks usually are done on fresh devices shipped from Cisco.  I have a <strong>CCNA tip </strong>which will save you a lot of time.</p>
<p>One of the quickest <em>Cisco IOS commands</em> to do this is to issue the &#8220;wr erase&#8221; command which will remove the configuration.  After that issue a &#8220;wr mem&#8221; and reload the router just to be sure.  This will restore your CCNA Lab environment to the factory default.  This is an extremely dangerous command, please do exercise caution if this is being done on a live network.</p>
<blockquote><p><code>Router#wr erase<br />
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]<br />
[OK]<br />
Erase of nvram: complete<br />
Router#</code></p></blockquote>
<p>There you have it, an extremely quick way to reset the router to factory configuration.  Note that there is a caveat on Cisco Catalyst switch platforms, as this command does not wipe out the VLAN database (vlan.dat), which is stored on flash.  You need to delete the file manually, if not upon reload, you might find that the VLANs are mysteriously still there.</p>
<blockquote><p><code>Switch#delete vlan.dat<br />
Delete filename [vlan.dat]?<br />
Delete flash:vlan.dat? [confirm]<br />
Switch#</code></p></blockquote>
<p>I hope you found this useful.  Please feel free to subscribe to my <a href="http://feeds.feedburner.com/savvynetcert" target="_blank">RSS feed</a> or follow me on twitter (<a href="http://twitter.com/savvynetcert" target="_blank">@savvynetcert</a>).</p>
<p>Cheers,<br />
Francis (<a href="http://twitter.com/savvynetcert" target="_blank">@savvynetcert</a>)</p>
<p><em>[Update 27 Jul 2009: Formatting for commands]</em></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/cisco+command' rel='tag' target='_self'>cisco command</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+commands' rel='tag' target='_self'>cisco commands</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+ios+command' rel='tag' target='_self'>cisco ios command</a>, <a class='technorati-link' href='http://technorati.com/tag/Cisco+IOS+Commands' rel='tag' target='_self'>Cisco IOS Commands</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-a-quick-way-to-wipe-the-cisco-router-configuration-for-your-ccna-lab/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cisco IOS Command Tip &#8211; Showing ACLs Applied On An Interface</title>
		<link>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-showing-acls-applied-on-an-interface/</link>
		<comments>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-showing-acls-applied-on-an-interface/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 17:00:25 +0000</pubDate>
		<dc:creator>abpalancajr</dc:creator>
				<category><![CDATA[Cisco IOS Commands]]></category>
		<category><![CDATA[cisco command]]></category>
		<category><![CDATA[cisco commands]]></category>
		<category><![CDATA[cisco ios command]]></category>

		<guid isPermaLink="false">http://www.savvynetcert.com/?p=306</guid>
		<description><![CDATA[ACLs are a very important topic for the CCNA exam and any CCNA network engineer needs to understand how to use them well.  I&#8217;m not a big fan of doing &#8220;show run&#8221; when there alternative commands available, especially if they can be run without privileged access.  I mentioned in a previous post about the 3 [...]]]></description>
			<content:encoded><![CDATA[<pre><img class="alignright" title="cablehead" src="http://www.savvynetcert.com/wp-content/uploads/2009/07/cablehead.jpg" alt="cablehead" width="326" height="235" /></pre>
<p>ACLs are a very important topic for the CCNA exam and any CCNA network engineer needs to understand how to use them well.  I&#8217;m not a big fan of doing &#8220;show run&#8221; when there alternative commands available, especially if they can be run without privileged access.  I mentioned in a previous post about the <a href="http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tips-and-tricks-3-command-line-habits-a-ccna-network-engineer-should-have" target="_self">3 Command Line Habits a CCNA network engineer should have</a>, and staying out of enable mode (unless necessary) is one of them.</p>
<p>One of the tasks we often need to do is to find out what ACLs are applied to an interface.  Often many novice network engineers would do this:</p>
<blockquote><p><code>Router#sh run int fa1/0<br />
Building configuration...</code></p>
<pre>Current configuration : 137 bytes
 !
 interface FastEthernet1/0
 description External Link
 no switchport
 ip address 15.0.0.1 255.255.255.0
 ip access-group MY-ACL in
 end</pre>
</blockquote>
<p>Showing the running configuration of an interface requires you to be in enable mode and what the router (or switch, as the case may be) will need to actually generate the runtime configuration and display it.</p>
<p>A faster way would be to do this (this may not work in older versions of IOS):</p>
<blockquote><p><code>Router&gt;sh ip int fa1/0<br />
FastEthernet1/0 is up, line protocol is down<br />
Internet address is 15.0.0.1/24<br />
Broadcast address is 255.255.255.255<br />
Address determined by setup command<br />
MTU is 1500 bytes<br />
Helper address is not set<br />
Directed broadcast forwarding is disabled<br />
Outgoing access list is not set<br />
Inbound  access list is MY-ACL</code></p></blockquote>
<p>Of course, we are also able to view the ACL with the associated line numbers without entering privileged mode.</p>
<blockquote><p><code>Router&gt;sh ip access MY-ACL<br />
Extended IP access list MY-ACL<br />
10 permit ip 20.0.0.0 0.0.0.255 15.0.0.0 0.0.0.255<br />
20 deny ip any any log<br />
Router&gt;<br />
</code></p></blockquote>
<p>Hope that this has been a useful tip.  Please help me by <a href="http://savvynetcert.com/ccna-survey" target="_self">filling out this survey</a> and letting know what you need to know.  Please subscribe to my <a href="http://feeds.feedburner.com/savvynetcert" target="_blank">RSS feed</a> so you won&#8217;t miss any new posts.</p>
<p>Cheers,<br />
Francis (<a href="http://twitter.com/savvynetcert" target="_blank">@savvynetcert</a>)</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/cisco+command' rel='tag' target='_self'>cisco command</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+commands' rel='tag' target='_self'>cisco commands</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+ios+command' rel='tag' target='_self'>cisco ios command</a>, <a class='technorati-link' href='http://technorati.com/tag/Cisco+IOS+Commands' rel='tag' target='_self'>Cisco IOS Commands</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-showing-acls-applied-on-an-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco IOS Command Tips and Tricks &#8211; 3 Command Line Habits a CCNA Network Engineer Should Have</title>
		<link>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tips-and-tricks-3-command-line-habits-a-ccna-network-engineer-should-have/</link>
		<comments>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tips-and-tricks-3-command-line-habits-a-ccna-network-engineer-should-have/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 15:00:13 +0000</pubDate>
		<dc:creator>abpalancajr</dc:creator>
				<category><![CDATA[Cisco IOS Commands]]></category>
		<category><![CDATA[cisco command]]></category>
		<category><![CDATA[cisco commands]]></category>
		<category><![CDATA[cisco ios command]]></category>

		<guid isPermaLink="false">http://www.savvynetcert.com/?p=210</guid>
		<description><![CDATA[Whether or not you&#8217;ve still in the process of CCNA preparation or are already working as a CCNA certified network engineer, it&#8217;s best to form good command line habits as early as possible.  Even with many GUI configuration tools, most Cisco network engineers still spend a lot of time in the Cisco IOS command-line interface.  [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-258 alignright" title="checklist" src="http://www.savvynetcert.com/wp-content/uploads/2009/07/checklist.jpg" alt="checklist" width="283" height="271" /></p>
<p>Whether or not you&#8217;ve still in the process of <strong>CCNA preparation</strong> or are already working as a CCNA certified network engineer, it&#8217;s best to form good command line habits as early as possible.  Even with many GUI configuration tools, most <em>Cisco network engineers </em>still spend a lot of time in the <em>Cisco IOS</em> command-line interface.  For many tasks, it&#8217;s simply much faster to use the command-line.  The below 3 habits and associated <em>Cisco IOS commands</em> are essential for any networks engineer.  The earlier you start doing these, the better.  A good place to start would be at your home lab (if you have one).</p>
<h3>Always Save Your Configuration</h3>
<p>After doing any configuration to the Cisco IOS router and switch, and verifying that the configuration change was good, the configuration should be saved to the startup configuration.  Please note that (most) configuration changes take place almost immediately, however in case of power loss or in the rare event that your device crashes, you&#8217;ll want the device to have the latest configuration.  The command used in most CCNA preparation books and CCNA materials is &#8220;<code>copy running-configuration startup-configuration</code>&#8221; or &#8220;<code>copy run start</code>&#8221; for short.</p>
<p>One extremely useful tip here is that the older command &#8220;<code>wr</code>&#8221; and &#8220;<code>wr mem</code>&#8221; almost always works and is much easier to type and to remember to do (see below).  However please note that the &#8220;<code>wr</code>&#8221; commands are not available when you are attempting the actual CCNA test and are doing the simulation questions in the test.</p>
<blockquote><p><code>Router#wr<br />
Building configuration...<br />
[OK]<br />
Router#<br />
Router#wr ?<br />
core      Write Core File<br />
erase     Erase NV memory<br />
memory    Write to NV memory<br />
mib-data  Write MIB persistence data to NV memory<br />
network   Write to network TFTP server<br />
terminal  Write to terminal</code></p>
<p>Router#wr</p></blockquote>
<h3>Always Backup Your Configuration</h3>
<p>By backing up your configuration I mean to copy the running configuration off the network device.  In terms of data redundancy you should always have a copy of the configuration somewhere else.  The easiest way to do this is via TFTP.  Various free TFTP servers are available for all platforms.</p>
<h3>Stay Out of Enable Mode &#8211; Unless Necessary</h3>
<p>All network engineers should be careful when entering privileged mode in the Cisco IOS command-line interface.  One thing I have seen CCNA network engineers do is to make going into and staying in enable mode a habit.  In my opinion, this is extremely dangerous as you are allowed to execute practically any command in privileged mode.  A typical network engineer would be logged into several devices at once.  To safeguard against the possibility that you accidentally copy and paste text (while in enable mode), you should make it a habit to exit enable mode once you are done executing any command that require that level of access.  The command to do this is &#8220;<code>disable</code>&#8220;.</p>
<blockquote><p><code> Router#<br />
Router#enable<br />
Router#disable<br />
Router&gt;</code></p></blockquote>
<h4><strong>P.S. I created a handy chart comparing the various <a title="ccna books" href="http://www.savvynetcert.com/ccna-books-comparison" target="_self">CCNA books</a>.  Click on the link to <a title="ccna books" href="http://www.savvynetcert.com/ccna-books-comparison" target="_self">compare and buy</a></strong> now.</h4>
<p>Cheers,<br />
Francis (Twitter &#8211; <a href="http://twitter.com/savvynetcert" target="_blank">@savvynetcert</a>)<em><br />
</em></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/cisco+command' rel='tag' target='_self'>cisco command</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+commands' rel='tag' target='_self'>cisco commands</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+ios+command' rel='tag' target='_self'>cisco ios command</a>, <a class='technorati-link' href='http://technorati.com/tag/Cisco+IOS+Commands' rel='tag' target='_self'>Cisco IOS Commands</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tips-and-tricks-3-command-line-habits-a-ccna-network-engineer-should-have/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco IOS Command Tip &#8211; Extremely Useful Show Interface Cisco IOS Commands</title>
		<link>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-extremely-useful-show-interface-cisco-ios-commands/</link>
		<comments>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-extremely-useful-show-interface-cisco-ios-commands/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 10:00:51 +0000</pubDate>
		<dc:creator>abpalancajr</dc:creator>
				<category><![CDATA[Cisco IOS Commands]]></category>
		<category><![CDATA[cisco command]]></category>
		<category><![CDATA[cisco commands]]></category>
		<category><![CDATA[cisco ios command]]></category>

		<guid isPermaLink="false">http://www.savvynetcert.com/?p=180</guid>
		<description><![CDATA[To become an effective Cisco network engineer, it is extremely important to master Cisco IOS commands.  Of these, the various show interface commands are the most commonly executed by any typical Cisco network engineer (at least those who know what they are doing!)  If you work in an environment where speed is critical, this is [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-193 alignright" title="coreswitch" src="http://www.savvynetcert.com/wp-content/uploads/2009/07/coreswitch.jpg" alt="coreswitch" width="340" height="226" /></p>
<p>To become an effective <strong>Cisco network engineer</strong>, it is extremely important to master <strong>Cisco IOS commands</strong>.  Of these, the various <code>show interface</code> commands are the most commonly executed by any typical Cisco network engineer (at least those who know what they are doing!)  If you work in an environment where speed is critical, this is even more important.  When a network issue is reported, I&#8217;ll most likely use one of the below commands on the directly connected switch or router to do a basic check before looking at anything else.</p>
<h3>show interface description</h3>
<p>The <code>sh int desc</code> Cisco IOS command is the one i use most often on Cisco IOS whenever I need to do a quick check on router and switch interfaces.  This command works on both routers and switches.  It shows a summary of all the interfaces, their status (both physical and protocol) as well as the description.  If you named the interfaces properly when setting this up, you can quickly identify if this is likely due to a cabling fault or perhaps something else.  Below is a sample of the output.  Please note that this command is undocumented (will not show up on the IOS contextual help) in many versions of IOS, however it does work on most of the IOS versions released in the past few years.</p>
<blockquote><p><code> Router#sh int desc<br />
Interface                      Status         Protocol Description<br />
Fa0/0                          admin down     down     To Provider A<br />
Fa0/1                          admin down     down     To Provider B<br />
Fa1/0                          up             down<br />
Fa1/1                          up             down</code></p></blockquote>
<h3>show interface status</h3>
<p>The <code>sh int status</code> command is another very useful Cisco IOS command.  This shows the status (connected/notconnect), the VLAN, speed and duplex settings as well as type of switchport.  This command only works on switchport interfaces (on Cisco Catalyst switches as well as switchport modules on Cisco routers).  Very useful when you need to check if the VLAN has been configured correctly as well as whether there are any speed/duplex mismatch or other issues.</p>
<blockquote><p><code> Router#sh int status<br />
Port    Name               Status       Vlan       Duplex Speed Type<br />
Fa1/0                      notconnect   1            auto    auto 10/100BaseTX<br />
Fa1/1                      notconnect   1            auto    auto 10/100BaseTX<br />
Fa1/2                      notconnect   1            auto    auto 10/100BaseTX<br />
</code></p></blockquote>
<p>I hope you found this <em>CCNA tip</em> useful.  Please feel free to subscribe to my <a href="http://feeds.feedburner.com/savvynetcert" target="_blank">RSS feed</a> or follow me on twitter (<a href="http://twitter.com/savvynetcert" target="_blank">@savvynetcert</a>) for more <strong>CCNA tips and tricks</strong> and CCNA materials.</p>
<p>Cheers,<br />
Francis (<em>SavvyNetCert.Com</em>)</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/cisco+command' rel='tag' target='_self'>cisco command</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+commands' rel='tag' target='_self'>cisco commands</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+ios+command' rel='tag' target='_self'>cisco ios command</a>, <a class='technorati-link' href='http://technorati.com/tag/Cisco+IOS+Commands' rel='tag' target='_self'>Cisco IOS Commands</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-tip-extremely-useful-show-interface-cisco-ios-commands/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cisco IOS Command Overview &#8211; Network Address Translation (NAT)</title>
		<link>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-overview-network-address-translation-nat/</link>
		<comments>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-overview-network-address-translation-nat/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 15:00:34 +0000</pubDate>
		<dc:creator>abpalancajr</dc:creator>
				<category><![CDATA[Cisco IOS Commands]]></category>
		<category><![CDATA[cisco command]]></category>
		<category><![CDATA[cisco commands]]></category>
		<category><![CDATA[cisco ios command]]></category>

		<guid isPermaLink="false">http://www.savvynetcert.com/?p=153</guid>
		<description><![CDATA[Cisco IOS Command Overview &#8211; Show IP NAT translation Frustrated because you cannot understand NAT?  Was just reading a blog post on NAT and was reminded how much difficultly I had with Network Address Translation (NAT) when I was just starting out on my career as a Cisco networks engineer.  First off, the official Cisco [...]]]></description>
			<content:encoded><![CDATA[<h3>Cisco IOS Command Overview &#8211; Show IP NAT translation</h3>
<p><img class="size-full wp-image-169 alignright" title="scratch-head" src="http://www.savvynetcert.com/wp-content/uploads/2009/07/scratch-head.jpg" alt="scratch-head" width="340" height="226" /></p>
<p>Frustrated because you cannot understand NAT?  Was just reading a <a href="http://ccnablog.globalknowledge.com/2009/07/20/nat-and-pat-part-1/" target="_blank">blog post on NAT</a> and was reminded how much difficultly I had with <em>Network Address Translation (NAT) </em>when I was just starting out on my career as a Cisco networks engineer.  First off, the official <em>Cisco notes</em> &#8211; <a href="http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080094831.shtml" target="_blank">How NAT works</a>.  Feeling confused after reading it?  For most part the official Cisco notes well as the <em>CCNA books</em> I recommended in the <a href="http://www.savvynetcert.com/ccna-study-material/ccna-books-how-to-choose-the-right-exam-preparation-book" target="_blank">previous posts</a> are excellent resources.  However, one of the most confusing topics for the beginning CCNA networks engineer are the 4 crucial NAT terms &#8211; inside local, inside global, outside local and outside global.  One of the items you must definitely master for your <em>CCNA preparation </em>is definitely NAT, as NAT is one of the features that is extremely well used when you are a <strong>CCNA networks engineer</strong>.</p>
<p>After NAT has been configured correctly (please see the excellent blog post I mentioned above to find out how), you&#8217;ll issue the <code>sh ip nat trans</code> <strong>Cisco IOS command</strong> to display the translation table, in order to verify that NAT has been configured correctly.  These 4 terms are used to refer to specific IP addresses (and port numbers) involved in the translation.  To understand NAT correctly, it is important to understand what they mean.</p>
<p>It is a good practice to configure the interface facing the internal network as &#8220;<em>nat inside</em>&#8221; and the interface facing the external network as &#8220;<em>nat outside</em>&#8220;.  The below 2 diagrams show what the addresses are at various points in the NAT process.</p>
<h3>Network Address Translation</h3>
<div id="attachment_159" class="wp-caption alignnone" style="width: 550px"><img class="size-full wp-image-159 " title="Network Address Translation - Outgoing Packet" src="http://www.savvynetcert.com/wp-content/uploads/2009/07/nat-outgoing.png" alt="Network Address Translation - Outgoing Packet" width="540" height="159" /><p class="wp-caption-text">Network Address Translation - Outgoing Packet</p></div>
<p>For outgoing packets:</p>
<ul>
<li>Inside Local &#8211; This is the untranslated source address</li>
<li>Outside Local &#8211; This is the untranslated destination address</li>
<li>Inside Global &#8211; This is the translated source address</li>
<li>Outside Global &#8211; This is the translated destination address</li>
</ul>
<div id="attachment_162" class="wp-caption alignnone" style="width: 550px"><img class="size-full wp-image-162 " title="Network Address Translation - Incoming Traffic" src="http://www.savvynetcert.com/wp-content/uploads/2009/07/nat-incoming-new.001.png" alt="Network Address Translation - Incoming Traffic" width="540" height="166" /><p class="wp-caption-text">Network Address Translation - Incoming Traffic</p></div>
<p>For incoming traffic (to make this easier to understand the diagram depicts return traffic):</p>
<ul>
<li>Outside Global &#8211; This is the untranslated source address</li>
<li>Inside Global &#8211; This is the untranslated destination address</li>
<li>Outside Local &#8211; This is the translated source address</li>
<li>Inside Local &#8211; This is the translated destination address</li>
</ul>
<p>I hope this has been helpful.  Please follow me on twitter (<a href="http://twitter.com/savvynetcert" target="_blank">@savvynetcert</a>) and drop me a note to let me know if you liked this post.  Feel free to subscribe to my <a href="http://feeds.feedburner.com/savvynetcert" target="_blank">RSS feed </a>and so you won&#8217;t miss a single post.</p>
<p>Cheers,<br />
Francis (<em>SavvyNetCert.Com</em>)</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/cisco+command' rel='tag' target='_self'>cisco command</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+commands' rel='tag' target='_self'>cisco commands</a>, <a class='technorati-link' href='http://technorati.com/tag/cisco+ios+command' rel='tag' target='_self'>cisco ios command</a>, <a class='technorati-link' href='http://technorati.com/tag/Cisco+IOS+Commands' rel='tag' target='_self'>Cisco IOS Commands</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.savvynetcert.com/cisco-ios-commands/cisco-ios-command-overview-network-address-translation-nat/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

