<?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>Spherical Chicken &#187; cisco</title>
	<atom:link href="http://www.scriptkiddie.org/blog/tag/cisco/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptkiddie.org/blog</link>
	<description>Climate, Technical Diving, Economics, System Engineering, IT Security</description>
	<lastBuildDate>Wed, 25 Jan 2012 20:36:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Cisco IOS Router Setup</title>
		<link>http://www.scriptkiddie.org/blog/2010/02/14/cisco-ios-router-setup/</link>
		<comments>http://www.scriptkiddie.org/blog/2010/02/14/cisco-ios-router-setup/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 17:56:22 +0000</pubDate>
		<dc:creator>Lamont Granquist</dc:creator>
				<category><![CDATA[networking]]></category>
		<category><![CDATA[cisco]]></category>

		<guid isPermaLink="false">http://www.scriptkiddie.org/blog/?p=81</guid>
		<description><![CDATA[I&#8217;ve been a Unix SA/SE for about 16 years and my hands-on knowledge of IOS has always been limited due to limited console time on Cisco routers. However, now I&#8217;m studying to get a CCNA. Certificates are kinda lame, but I&#8217;ve run into times when it would be useful. This is going to be a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a Unix SA/SE for about 16 years and my hands-on knowledge of IOS has always been limited due to limited console time on Cisco routers.   However, now I&#8217;m studying to get a CCNA.  Certificates are kinda lame, but I&#8217;ve run into times when it would be useful.</p>
<p>This is going to be a growing list of all the global configuration commands that I come up with that are useful for setting up a router/switch first-time (or for enforcing policy on all routers/switches).  It is going to start out fairly sparse.</p>
<p><strong>Basic</strong></p>
<blockquote>
<pre>
hostname &lt;routername&gt;
ip domain-name &lt;dns name&gt;
</pre>
</blockquote>
<p>Sets the hostname and domainname.</p>
<p><strong>Convenience</strong></p>
<blockquote>
<pre>
line console 0
  logging synchronous
</pre>
</blockquote>
<p>Sets synchronous output on the console.</p>
<p><strong>Security</strong></p>
<blockquote>
<pre>
enable password foo
enable secret bar
</pre>
</blockquote>
<p>Sets the enable password, only &#8220;enable secret&#8221; should be used since it encrypts the password in the config.</p>
<blockquote>
<pre>
service password-encryption
</pre>
</blockquote>
<p>Sets up weak password encryption to obscure passwords in router config.</p>
<blockquote>
<pre>
line vty 0 4
  login
  password foo
  logging synchronous
</pre>
</blockquote>
<p>Set synchronous output on the first 5 telnet vtys and sets a login password for the terminal.</p>
<blockquote>
<pre>
banner login #

    Authorized uses only.  All activity may be monitored and reported.

#
</pre>
</blockquote>
<p>Set a multi-line banner displayed before the password prompt for telnet.</p>
<blockquote>
<pre>
banner motd #

    Authorized uses only.  All activity may be monitored and reported.

#
</pre>
</blockquote>
<p>Set a multi-line banner displayed before the password prompt for telnet *and* on console login (better).</p>
<p><strong>Logging</strong></p>
<blockquote>
<pre>
archive
  log config
    logging enable
    logging size 200
    notify syslog contenttype plaintext
    hidekeys
</pre>
</blockquote>
<p>Sets an archive history of router configuration commands</p>
<p><strong>Time</strong></p>
<blockquote>
<pre>
clock timezone UTC 0
</pre>
</blockquote>
<p>Set the timezone of the router manually.</p>
<blockquote>
<pre>
clock set 02:11:25 Feb 15 2010
clock update-calendar
</pre>
</blockquote>
<p>This is not entered in configuration mode, and sets the software clock and then writes to the hardware clock.</p>
<blockquote>
<pre>
ntp server 10.1.1.1
ntp server 10.1.1.2 prefer
ntp server 10.1.1.3
ntp update-calendar
</pre>
</blockquote>
<p>Set the router to be an NTP client, and use NTP to sync the hardware clock.</p>
<p><strong>DNS</strong></p>
<blockquote>
<pre>
ip nameserver 10.1.1.1
ip nameserver 10.1.1.2
</pre>
</blockquote>
<p>Sets nameservers for DNS queries</p>
<blockquote>
<pre>
ip domain-lookup
</pre>
</blockquote>
<p>Enable DNS lookups.  This may be disabled by NEs to avoid command typos from being looked up in DNS, but it globally disables DNS lookups inside commands as well.</p>
<p><strong>Spanning Tree</strong></p>
<blockquote>
<pre>
spanning-tree mode rapid-pvst
</pre>
</blockquote>
<p>Use Rapid-PVST by default everywhere.</p>
<p><strong>SNMP</strong><br />
<strong>TACACS</strong></p>
<p><strong>MISC</strong></p>
<blockquote>
<pre>
ip subnet-zero
</pre>
</blockquote>
<p>Allow subnet zero ip addresses.</p>
<blockquote>
<pre>
system mtu jumbo 9000
</pre>
</blockquote>
<p>Set jumbo frames on 3750/3560/49xx switches.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.scriptkiddie.org%2Fblog%2F2010%2F02%2F14%2Fcisco-ios-router-setup%2F&amp;title=Cisco%20IOS%20Router%20Setup" id="wpa2a_2"><img src="http://www.scriptkiddie.org/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.scriptkiddie.org/blog/2010/02/14/cisco-ios-router-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

