<?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>Simon Žekar - unix, communications, stupidities &#187; cisco</title>
	<atom:link href="http://simon.zekar.com/tag/cisco/feed/" rel="self" type="application/rss+xml" />
	<link>http://simon.zekar.com</link>
	<description>"Unix is simple, but it takes a genious to understand the simplicity" --Dennis Ritchie</description>
	<lastBuildDate>Fri, 23 Apr 2010 22:11:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>automatic login to Cisco routers / firewalls</title>
		<link>http://simon.zekar.com/2010/02/28/automatic-login-to-cisco-routers-firewalls/</link>
		<comments>http://simon.zekar.com/2010/02/28/automatic-login-to-cisco-routers-firewalls/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 23:37:34 +0000</pubDate>
		<dc:creator>sIMON</dc:creator>
				<category><![CDATA[general bluez]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[rancid]]></category>

		<guid isPermaLink="false">http://simon.zekar.com/?p=142</guid>
		<description><![CDATA[Since many of you are still connecting to your Cisco boxes with the plain ssh/telnet command (typing password every time) and since Cisco boxes don&#8217;t have SSH public key authentication, the tool to use comes from Rancid (Really Awesome New Cisco confIg Differ) package.
It&#8217;s called &#8220;clogin&#8221; as Cisco login script.
It requires all the credentials in [...]]]></description>
			<content:encoded><![CDATA[<p>Since many of you are still connecting to your Cisco boxes with the plain ssh/telnet command (typing password every time) and since Cisco boxes don&#8217;t have SSH public key authentication, the tool to use comes from <a href="http://www.shrubbery.net/rancid/">Rancid</a> (Really Awesome New Cisco confIg Differ) package.</p>
<p>It&#8217;s called &#8220;<strong>clogin</strong>&#8221; as <a href="http://www.shrubbery.net/rancid/man/clogin.1.html">Cisco login script</a>.</p>
<p>It requires all the credentials in ~/.cloginrc file (protocol / password / enable).</p>
<p>Syntax of .cloginrc file can be found <a href="http://www.shrubbery.net/rancid/man/cloginrc.5.html">here</a>.</p>
<p>and usage is simple, just <code>clogin hostname</code></p>
<p>And besides loging it&#8217;s very usefull for multiple box configuration. Let&#8217;s say you just need to write configs of your 5 routers.</p>
<p><code>clogin -c "write;exit" router1 router2 router3 router4 router5</code></p>
<p>and Voila !</p>
<p>S.</p>
]]></content:encoded>
			<wfw:commentRss>http://simon.zekar.com/2010/02/28/automatic-login-to-cisco-routers-firewalls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco ASA failover fail if IPv6 enabled</title>
		<link>http://simon.zekar.com/2009/10/02/cisco-asa-failover-fail-if-ipv6-enabled/</link>
		<comments>http://simon.zekar.com/2009/10/02/cisco-asa-failover-fail-if-ipv6-enabled/#comments</comments>
		<pubDate>Fri, 02 Oct 2009 09:14:05 +0000</pubDate>
		<dc:creator>sIMON</dc:creator>
				<category><![CDATA[general bluez]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[IPv6]]></category>

		<guid isPermaLink="false">http://simon.zekar.com/?p=128</guid>
		<description><![CDATA[I can&#8217;t believe it&#8230;
Failover on Cisco ASA silently stops working after you enable ipv6 configuration.
We&#8217;re used of stupid Cisco bugs, but this wins it all !
S.
]]></description>
			<content:encoded><![CDATA[<p>I can&#8217;t believe it&#8230;</p>
<p><a href="http://rogierm.redbee.nl/blog/2009/07/24/cisco-asa-ipv6-failover-not-supported/">Failover on Cisco ASA silently stops working after you enable ipv6 configuration.</a></p>
<p>We&#8217;re used of stupid Cisco bugs, but this wins it all !</p>
<p>S.</p>
]]></content:encoded>
			<wfw:commentRss>http://simon.zekar.com/2009/10/02/cisco-asa-failover-fail-if-ipv6-enabled/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IPv6 over IPv4 tunnel with Mikrotik &amp; Cisco router</title>
		<link>http://simon.zekar.com/2009/09/27/ipv6-over-ipv4-tunnel-with-mikrotik-cisco-router/</link>
		<comments>http://simon.zekar.com/2009/09/27/ipv6-over-ipv4-tunnel-with-mikrotik-cisco-router/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 20:44:15 +0000</pubDate>
		<dc:creator>sIMON</dc:creator>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[mikrotik]]></category>
		<category><![CDATA[routing]]></category>

		<guid isPermaLink="false">http://simon.zekar.com/?p=114</guid>
		<description><![CDATA[Time when native IPv6 network will come right to your home is still far away. So tunneling IPv6 network over IPv4 to some IPv6 enabled site is a way to go.
Configuration is easier than expected and it worked right away. In my case Cisco 7600 series is at the data center where native IPv6 is [...]]]></description>
			<content:encoded><![CDATA[<p>Time when native <a href="http://en.wikipedia.org/wiki/IPv6">IPv6 network</a> will come right to your home is still far away. So <a href="http://en.wikipedia.org/wiki/6to4">tunneling IPv6 network over IPv4</a> to some IPv6 enabled site is a way to go.</p>
<p>Configuration is easier than expected and it worked right away. In my case <a href="http://www.cisco.com/en/US/products/hw/routers/ps368/">Cisco 7600</a> series is at the data center where native IPv6 is established and <a href="http://www.routerboard.com/">Mikrotik RB450</a> ( a choice for home router &#8211; really powerful and really cheap).</p>
<p>One /64 subnet is assigned for the tunnel (point-to-point) and /48 is then routed to it. Yes. In IPv6 /64 subnet of 18446744073709551616 IPs is used for point-to-point tunnel (2 IPs).</p>
<p>On Cisco 7600 &#8211; interface (99.. is a 7600 public IP as 22.. is my home public IP):<br />
<code>interface Tunnel0<br />
 description --- test ipv6 in ipv4 tunnel ---<br />
 no ip address<br />
 ipv6 address 2AAA:BABA:101:1::1/64<br />
 tunnel source 99.99.99.99<br />
 tunnel destination 22.22.22.22<br />
 tunnel mode ipv6ip</code></p>
<p>and route:<br />
<code>ipv6 route 2AAA:BABA:BEEF::/48 2AAA:BABA:101:1::2</code></p>
<p>and on Mikrotik:<br />
<code>/interface 6to4 add disabled=no local-address=22.22.22.22 mtu=1280 name=ipv6tunnel remote-address=99.99.99.99<br />
/ipv6 address add address=2AAA:BABA:101:1::2/64 interface=ipv6tunnel<br />
/ipv6 route add disabled=no dst-address=::/0 gateway=ipv6tunnel<br />
</code></p>
<p>And that&#8217;s it. You can configure local interface on Mikrotik, like this:<br />
<code>/ipv6 add address=2AAA:BABA:BEEF:DEAD:1/64 advertise=yes interface=ether2</code></p>
<p>Local machines, if properly configured should receive <a href="http://www.faqs.org/rfcs/rfc2461.html">advertised IPv6 prefix</a> and configure itself for IPv6.</p>
<p>That&#8217;s for now, more about IPv6 soon ! HaveAnice !!</p>
<p>S.</p>
]]></content:encoded>
			<wfw:commentRss>http://simon.zekar.com/2009/09/27/ipv6-over-ipv4-tunnel-with-mikrotik-cisco-router/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>skriptna pomoč pri konfiguraciji Cisco opreme</title>
		<link>http://simon.zekar.com/2007/06/24/skriptna-pomoc-pri-konfiguraciji-cisco-opreme/</link>
		<comments>http://simon.zekar.com/2007/06/24/skriptna-pomoc-pri-konfiguraciji-cisco-opreme/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 00:05:19 +0000</pubDate>
		<dc:creator>sIMON</dc:creator>
				<category><![CDATA[general bluez]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://simon.zekar.com/2007/06/24/skriptna-pomoc-pri-konfiguraciji-cisco-opreme/</guid>
		<description><![CDATA[Žal starejše verzije Ciscotovega IOS sistema ne poznajo &#8220;interface range&#8221; ukaza, ki omogoča da več portov konfigurirate naenkrat, zato si je potrebno pomagati drugače.
da bi vsak port konfigurirali ročno, je prezamudno, še posebaj, če imate switch z 48-imi porti.
Pomagate si lahko z enovrstičnico (bash), kot je recimo tale:
i=1; while [ $i -lt 49 ]; do [...]]]></description>
			<content:encoded><![CDATA[<p>Žal starejše verzije Ciscotovega IOS sistema ne poznajo &#8220;interface range&#8221; ukaza, ki omogoča da več portov konfigurirate naenkrat, zato si je potrebno pomagati drugače.</p>
<p>da bi vsak port konfigurirali ročno, je prezamudno, še posebaj, če imate switch z 48-imi porti.</p>
<p>Pomagate si lahko z enovrstičnico (bash), kot je recimo tale:</p>
<p><code>i=1; while [ $i -lt 49 ]; do echo "int fast0/$i"; echo "<strong>span portfast"</strong>; echo "<strong>switchport mode access"</strong> ; echo <strong>"switchport access vlan 934"</strong> ; let i+=1; done;</code></p>
<p>koda zgoraj bo za vsak port izpisala konfiguracijo, izpis lahko copy-paste-ate v cisco switch in marsikatera minuta vam bo prihranjena. Seveda si kodo preuredite za željeno število portov in seveda za željene ukaze.</p>
<p>Kakorkoli, gre samo za prikaz zanke &#8211; štetja v ukazni lupini, kar lahko s pridom uporabljate za veliko stvari.</p>
<p>Ponedeljek je dela prost dan ! <img src='http://simon.zekar.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://simon.zekar.com/2007/06/24/skriptna-pomoc-pri-konfiguraciji-cisco-opreme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
