<?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>feisley &#187; Cisco</title>
	<atom:link href="http://feisley.com/category/companies/cisco/feed/" rel="self" type="application/rss+xml" />
	<link>http://feisley.com</link>
	<description>programming with a side of life</description>
	<lastBuildDate>Thu, 15 Apr 2010 07:33:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cisco Systems</title>
		<link>http://feisley.com/2008/12/23/cisco-systems/</link>
		<comments>http://feisley.com/2008/12/23/cisco-systems/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 08:30:57 +0000</pubDate>
		<dc:creator>Jacob Feisley</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Purdue]]></category>
		<category><![CDATA[cisco choice]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://feisley.com/?p=2186</guid>
		<description><![CDATA[
For anyone that has not talked to me in the past few weeks, I wanted to let you know that I officially accepted an offer to work for Cisco Systems in San Jose, CA. I will be starting there this summer in June. I will be entering through the Cisco Choice Program as a Software [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-9" title="Cisco Logo" src="http://feisley.com/wp-content/uploads/2008/02/cisco_logo.thumbnail.png" alt="Cisco Logo" width="128" height="67" /></p>
<p>For anyone that has not talked to me in the past few weeks, I wanted to let you know that I officially accepted an offer to work for Cisco Systems in San Jose, CA. I will be starting there this summer in June. I will be entering through the Cisco Choice Program as a Software Engineer which I will explain in a little more detail below.</p>
<p>Before starting work, Dad, William, and I will be taking a cross country road trip (similar to the one I took to get to California for my internship last summer) This time we will be taking the more southern route to get a different view along the way. Of course pictures of the trip and progress will be posted.</p>
<p>Now on to the details about Cisco Choice&#8230;</p>
<p>Cisco Choice for full time is very similar to the process of my internship in that I will get to select the department I wish to work with. The main difference this time is we are armed with a little more information. With the internship you are picking with a more limited view of the group based on a summary provided for each group participating. For full time the process is much more in depth.</p>
<p>It starts out with a week of introductions and presentations by the various groups and managers. Week 2 allows us to interview potential groups we are interested and get an idea of what some of the interesting projects they are working on. Finally you select the top several choices and after Week 3 you start working with that group.</p>
<p>Now all that is left is to finish one more semester at Purdue. Here is hoping that Senioritis doesnt kick in too early ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://feisley.com/2008/12/23/cisco-systems/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Summer Wrap Up</title>
		<link>http://feisley.com/2008/08/09/summer-wrap-up/</link>
		<comments>http://feisley.com/2008/08/09/summer-wrap-up/#comments</comments>
		<pubDate>Sun, 10 Aug 2008 02:38:58 +0000</pubDate>
		<dc:creator>Jacob Feisley</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://feisley.com/?p=1592</guid>
		<description><![CDATA[This summer has been anything but boring. My summer has brought many travel and experiences and I decided to list as many as I could remember as I prepare to head back to Purdue for my final yea!
Here we go (attempted to keep in order of occurrence):

Accepted internship with Cisco
Road trip across the country (to [...]]]></description>
			<content:encoded><![CDATA[<p>This summer has been anything but boring. My summer has brought many travel and experiences and I decided to list as many as I could remember as I prepare to head back to Purdue for my final yea!</p>
<p>Here we go (attempted to keep in order of occurrence):</p>
<ol>
<li>Accepted internship with Cisco</li>
<li>Road trip across the country (to get to Cisco in San Jose)</li>
<li>Visited Garden of the Gods</li>
<li>Climbed to the top of Pikes Peak (well, drove to the top)</li>
<li>Visited Las Vegas</li>
<li>Got a tour of the Googleplex</li>
<li>Spent 2 days in Yosemite National Park</li>
<li>Went to the Google I/O Conference</li>
<li>Visited the Mystery Spot</li>
<li>Visited San Francisco</li>
<li>Got my laptop stolen (from a locked trunk) in San Francisco</li>
<li>Traveled the 17 Mile Drive in Monterey</li>
<li>Redesigned <a href="http://hydralabs.com">Hydra Labs</a> web site (work in progress)</li>
<li>Got hired by Cisco to work through the school year</li>
<li>Vacationed at Deep Creek Lake in Maryland</li>
<li>Released 1.2.0 of <a href="http://dtella.org">Dtella</a></li>
<li>Wrote this post</li>
</ol>
<p>Time it took me to do all this: 13 weeks! Lets see if I can keep up this momentum as I head back to school&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://feisley.com/2008/08/09/summer-wrap-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Choice Choices</title>
		<link>http://feisley.com/2008/03/31/cisco-choice-choices/</link>
		<comments>http://feisley.com/2008/03/31/cisco-choice-choices/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 21:07:07 +0000</pubDate>
		<dc:creator>Jacob Feisley</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Purdue]]></category>
		<category><![CDATA[internship]]></category>
		<category><![CDATA[San Jose]]></category>
		<category><![CDATA[summer]]></category>

		<guid isPermaLink="false">http://feisley.com/?p=28</guid>
		<description><![CDATA[As I mentioned before in a post not so long ago, I was accepted into Cisco&#8217;s  Choice Program for an internship this summer in San Jose, CA. In this program I actually get to choose what department I want to work for during the summer. In order for them to place me into a department, [...]]]></description>
			<content:encoded><![CDATA[<p>As I mentioned before in a <a href="http://feisley.com/2008/02/26/yay-cisco/">post not so long ago</a>, I was accepted into Cisco&#8217;s  Choice Program for an internship this summer in San Jose, CA. In this program I actually get to choose what department I want to work for during the summer. In order for them to place me into a department, I was asked to pick my top 3 departments:</p>
<p><strong>1. ETG &#8211; Emerging Technology Group</strong><br />
<em>Creates solutions in new and adjacent markets built around advanced video, voice, and data communications.</em></p>
<p><strong>2. CDO Ops</strong><br />
<em>Enhance productivity and operating efficiency in the CDO organization, improve hardware and software quality across Cisco products and systems</em></p>
<p><strong>3. NMTG &#8211; Network Management Technology Group</strong><br />
<em>Implements network management solutions capability for Cisco products and supporting key Cisco markets.</em></p>
<p>I am hoping for Emerging Technology as it sounds like they work with a diverse range of technologies and are always on the bleeding edge of development and technology.</p>
]]></content:encoded>
			<wfw:commentRss>http://feisley.com/2008/03/31/cisco-choice-choices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco 7970G + Asterisk</title>
		<link>http://feisley.com/2008/03/20/cisco-7970g-asterisk/</link>
		<comments>http://feisley.com/2008/03/20/cisco-7970g-asterisk/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 21:34:21 +0000</pubDate>
		<dc:creator>Jacob Feisley</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Dark Horse Networks]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[NAT]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://feisley.com/2008/03/20/cisco-7970g-asterisk/</guid>
		<description><![CDATA[
The Cisco 7970G IP Phone is by far one of the nicest VoIP Phones i have ever used. However, getting it to work outside the standard Cisco Call Manager environment with Asterisk can be a challenge. After weeks of testing various configurations and tweaking settings on both the phone and Asterisk, i was able to [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-24" title="Cisco 7970g" src="http://feisley.com/wp-content/uploads/2008/03/7970g-150x120.jpg" alt="" width="150" height="120" /></p>
<p>The Cisco 7970G IP Phone is by far one of the nicest VoIP Phones i have ever used. However, getting it to work outside the standard Cisco Call Manager environment with Asterisk can be a challenge. After weeks of testing various configurations and tweaking settings on both the phone and Asterisk, i was able to finally get a working configuration that works for both local network connections and NAT as well.</p>
<p><span id="more-13"></span></p>
<p>As with any setup there are some prerequisites that must be met to perform this setup. It is possible that other configurations and software versions will work, however this is what I have currently working. You are welcome to let me know if you have other setups that work.</p>
<p><strong>My Configuration &amp; Setup</strong></p>
<ol>
<li>Asterisk 1.4.18</li>
<li>Cisco 7970G (firmware:  SIP70.8-3-4SR1S)</li>
<li>2  Cisco 1811  routers (IOS: 12.4(15)T1)</li>
</ol>
<p>I successfully tested the following configurations with the phone:</p>
<p><strong>The NAT Setup*</strong></p>
<p>7970G &lt;&#8211;&gt; 1811 (w/ NAT) &lt;&#8211;&gt; Internet &lt;&#8211;&gt; 1811 (w/ NAT) &lt;&#8211;&gt; Asterisk</p>
<p><strong>The DMVPN Setup (Same as a local network)</strong></p>
<p>7970G &lt;&#8211;&gt; 1811 &lt;&#8211;&gt; Internet (VPN) &lt;&#8211;&gt; 1811 &lt;&#8211;&gt; Asterisk</p>
<p>The DMVPN setup was the most trivial as it was essentially a local network with the Asterisk server. The NAT setup was the harder one to get working, however, once I got a configuration file that worked with NAT, the same configuration worked for the DMVPN or local setup as well.</p>
<p>*I believe that one of the keys to getting the 7970G working over NAT was the fact that it was behind a Cisco router (the 1811). Because this router&#8217;s NAT implementation is SIP aware, it is able to properly handle SIP messages over NAT from the 7970G. This being said, the 7970G may not function properly over NAT on other routers.</p>
<p><strong>XML Configuration File</strong></p>
<p>Below you will find the link to my XML configuration file (with passwords and IP&#8217;s of my private network removed of course)</p>
<p><a title="Cisco 7970 Configuration XML" href="http://feisley.com/wp-content/uploads/2008/03/sepmaccnf.xml">Cisco 7970 Configuration XML</a></p>
<p>NOTE: The file should be in the form &#8220;SEP<strong>mac_address</strong>.cnf.xml&#8221; when you place it on your TFTP server. where <strong>mac_address</strong> is the MAC address of your Cisco IP phone.</p>
<p><strong>Asterisk Configuration</strong></p>
<p>In order to get the Cisco 7970G to register to asterisk (either over NAT or VPN) the <strong>NAT </strong>flag in your <em>sip.conf</em> (or in FreePBX) must be set to &#8220;never&#8221; and <strong>qualify </strong>must be set to &#8220;yes&#8221;. I know it seems counter intuitive to keep NAT turned off when you are behind it but for some reason Asterisk&#8217;s NAT implementation breaks Cisco phone connections. Qualify is needed because it keeps the NAT translation open between the Cisco phone and the Asterisk server. Should the translation be allowed to close, Asterisk will not be able to reach the Cisco phone.</p>
<p><strong>MWI Fixes </strong></p>
<p>The second part to this was making sure that MWI worked on the phone. This has become somewhat of an issue due to a couple reasons:</p>
<ol>
<li>Asterisk adds some extra (and seemingly unneeded information) to the voice mail notices</li>
<li>Cisco decided not to follow the RFC on the SIP protocol and thus it ignores these notices with extra information.</li>
</ol>
<p>Cisco firmware version 8.0.2SR1 is able to handle the extra information and thus this is the firmware that many people using this phone have stuck with despite the numerous newer releases that have come out. Any version after that must use one of the following methods to get MWI working again.</p>
<ol>
<li>Asterisk 1.4 introduced the &#8220;BUGGYMWI&#8221;  flag for the <em>sip.conf</em> file. When defining an extension simply add the line &#8220;BUGGYMWI = true&#8221; and it will make the proper adjustments to the notices for Cisco compatibility.</li>
<li>Before compiling the Asterisk source code you can modify a line in the &#8220;chan_sip.c&#8221; file to remove that extra information permanently.</li>
</ol>
<p>I opted for option #2 for two reasons. First, it just seemed cleaner to make the change once and not have to worry about it again (until i upgrade that is) and secondly,  FreePBX  does not provide an easy way to add the &#8220;BUGGYMWI&#8221;  flag into extensions.</p>
<p>In order to remove this from <em>chan_sip.c</em> permanently, go to your asterisk source code and then go to the &#8220;channels&#8221; folder. From there open up the <em>chan_sip.c</em> file and search for the following:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* Cisco has a bug in the SIP stack where it can't accept the
(0/0) notification. This can temporarily be disabled in
sip.conf with the &quot;buggymwi&quot; option */</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">ast_build_string<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span>t<span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span>maxbytes<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;Voice-Message: %d/%d%s<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> newmsgs<span style="color: #339933;">,</span> oldmsgs<span style="color: #339933;">,</span>
<span style="color: #009900;">&#40;</span>ast_test_flag<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span>p<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>flags<span style="color: #009900;">&#91;</span><span style="color: #0000dd;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> SIP_PAGE2_BUGGY_MWI<span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #339933;">:</span> <span style="color: #ff0000;">&quot;(0/0)&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Now all you must do is simply replace the last line with this:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">ast_build_string<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span>t<span style="color: #339933;">,</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span>maxbytes<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;Voice-Message: %d/%d<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> newmsgs<span style="color: #339933;">,</span> oldmsgs<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>And then compile Asterisk.</p>
<p><strong>Epilogue </strong></p>
<p>I hope this guide helps everyone that loves the Cisco 7970G phone to get it working with Asterisk. It can be a difficult task but is well worth the effort once it is working. Please feel free to leave comments with any suggestions to this article and let me know if you have gotten any other configurations working!</p>
]]></content:encoded>
			<wfw:commentRss>http://feisley.com/2008/03/20/cisco-7970g-asterisk/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>TACACS+</title>
		<link>http://feisley.com/2008/03/03/tacacs/</link>
		<comments>http://feisley.com/2008/03/03/tacacs/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 18:58:52 +0000</pubDate>
		<dc:creator>Jacob Feisley</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Dark Horse Networks]]></category>
		<category><![CDATA[aaa]]></category>
		<category><![CDATA[accounting]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[authorization]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[TACACS]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://feisley.com/2008/03/03/tacacs/</guid>
		<description><![CDATA[So I finally took the plunge and decided to implement TACACS+ at Dark Horse Networks as well as for my personal network. TACACS+ stands for &#8220;Terminal Access Controller Access-Control System&#8221; and can be used to authenticate users to Unix systems and more importantly Cisco equipment. This will remove the need to have user accounts on [...]]]></description>
			<content:encoded><![CDATA[<p>So I finally took the plunge and decided to implement TACACS+ at Dark Horse Networks as well as for my personal network. TACACS+ stands for &#8220;Terminal Access Controller Access-Control System&#8221; and can be used to authenticate users to Unix systems and more importantly Cisco equipment. This will remove the need to have user accounts on each individual device and provide central unified authentication.</p>
<p>In addition to authentication of users it also allows for authorizing a given user to different levels of access. For example: Alice may only have access to view the current configuration of a router, while Bob has access to change the configuration.</p>
<p>Finally, TACACS provides accounting. This allows central logging of all commands a user executes for auditing purposes. That way if &#8220;someone&#8221; happens to destroy your configuration on a device, you know who to hunt down.</p>
<p>Just to note&#8230; In case you are wondering what the difference is between TACACS and TACACS+, TACACS+ is a completely new protocol and is not compatible with the older TACACS protocol. TACACS+ was created by Cisco Systems. The specific implementation I will be using is usually referred to as &#8220;tac_plus&#8221; and is also the name of the daemon.</p>
<p><span id="more-11"></span></p>
<p>Ok, so on to the fun stuff&#8230; For this project I used the following:</p>
<ul>
<li><a href="http://centos.org">CentOS Linux 5<br />
 </a></li>
<li><a href="http://www.shrubbery.net/tac_plus/">Shrubbery Networks&#8217; TACACS+ Daemon</a></li>
</ul>
<p>The first step was to install the daemon. As there is currently no RPM based packages for &#8220;tac_plus&#8221;, I had to build from source which was as painless as:</p>
<ol>
<li>Extract the archive</li>
<li>./configure</li>
<li>make install</li>
</ol>
<p>Next, I had to draft up a configuration file:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="text" style="font-family:monospace;">accounting file = /var/log/tac_plus/accounting.log
&nbsp;
key = &quot;insertkeyhere&quot;
&nbsp;
group = admin {
  default service = permit
  service = exec {
    priv-lvl = 15
  }
}
&nbsp;
user = jfeisley {
  member = admin
  login = des &quot;foobarbaz&quot;
}</pre></td></tr></table></div>

<p>The next task was to code up a working init script for the tac_plus daemon:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Source function library.</span>
. <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>functions
&nbsp;
<span style="color: #666666; font-style: italic;"># Source networking configuration.</span>
. <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>sysconfig<span style="color: #000000; font-weight: bold;">/</span>network
&nbsp;
<span style="color: #666666; font-style: italic;"># Check that networking is up.</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #800000;">${NETWORKING}</span> = <span style="color: #ff0000;">&quot;no&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Some config parameters</span>
<span style="color: #666666; font-style: italic;">#For config file</span>
<span style="color: #007800;">tacacs_config</span>=<span style="color: #ff0000;">&quot;/etc/tacacs.conf&quot;</span>
<span style="color: #007800;">tacacs_log</span>=<span style="color: #ff0000;">&quot;/var/log/tac_plus/tac_plus.log&quot;</span>
<span style="color: #666666; font-style: italic;">#For debug option</span>
<span style="color: #007800;">debug</span>=<span style="color: #000000;">0</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>tac_plus <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #007800;">$tacacs_config</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># See how we were called.</span>
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
  start<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #666666; font-style: italic;"># Start daemon.</span>
        <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #007800;">$debug</span> <span style="color: #660033;">-gt</span> <span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
        <span style="color: #000000; font-weight: bold;">then</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;Starting TACACS+ with debug level <span style="color: #007800;">$debug</span> : &quot;</span>
        daemon <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>tac_plus <span style="color: #660033;">-C</span> <span style="color: #007800;">$tacacs_config</span> <span style="color: #660033;">-d</span> <span style="color: #007800;">$debug</span> <span style="color: #660033;">-l</span> <span style="color: #007800;">$tacacs_log</span>
        <span style="color: #000000; font-weight: bold;">else</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;Starting TACACS+ :&quot;</span>
        daemon <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>tac_plus <span style="color: #660033;">-C</span> <span style="color: #007800;">$tacacs_config</span> <span style="color: #660033;">-l</span> <span style="color: #007800;">$tacacs_log</span>
        <span style="color: #000000; font-weight: bold;">fi</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span>
        <span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lock<span style="color: #000000; font-weight: bold;">/</span>subsys<span style="color: #000000; font-weight: bold;">/</span>tac_plus
        <span style="color: #000000; font-weight: bold;">;;</span>
  stop<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #666666; font-style: italic;"># Stop daemons.</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">&quot;Shutting down TACACS+: &quot;</span>
        killproc tac_plus
        <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lock<span style="color: #000000; font-weight: bold;">/</span>subsys<span style="color: #000000; font-weight: bold;">/</span>tac_plus
        <span style="color: #7a0874; font-weight: bold;">echo</span>
        <span style="color: #000000; font-weight: bold;">;;</span>
  status<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        status tac_plus
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #007800;">$?</span>
        <span style="color: #000000; font-weight: bold;">;;</span>
  restart<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        $<span style="color: #000000;">0</span> stop
        $<span style="color: #000000;">0</span> start
        <span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
  reload<span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;TACACS+ now reloading......&quot;</span>
        <span style="color: #c20cb9; font-weight: bold;">kill</span> <span style="color: #660033;">-SIGUSR1</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>tac_plus.pid<span style="color: #000000; font-weight: bold;">`</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #007800;">$?</span>
        <span style="color: #000000; font-weight: bold;">;;</span>
  <span style="color: #7a0874; font-weight: bold;">test</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;TACACS+ config being testing...&quot;</span>
        <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>tac_plus <span style="color: #660033;">-P</span> <span style="color: #660033;">-C</span> <span style="color: #007800;">$tacacs_config</span>
        <span style="color: #000000; font-weight: bold;">;;</span>
  <span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Usage: tac_plus {start|stop|status|restart|reload|test}&quot;</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">esac</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></pre></td></tr></table></div>

<p>Finally, I configured my various Cisco devices to authenticate against the TACACS+ daemon.</p>
]]></content:encoded>
			<wfw:commentRss>http://feisley.com/2008/03/03/tacacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yay! Cisco</title>
		<link>http://feisley.com/2008/02/26/yay-cisco/</link>
		<comments>http://feisley.com/2008/02/26/yay-cisco/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 21:17:11 +0000</pubDate>
		<dc:creator>Jacob Feisley</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[internship]]></category>
		<category><![CDATA[San Jose]]></category>

		<guid isPermaLink="false">http://feisley.com/2008/02/26/yay-cisco/</guid>
		<description><![CDATA[
Today I was offered an internship for the summer at Cisco!
I will be in San Jose, CA for the summer at the main Cisco campus. Since i am in the Cisco Choice program, when it gets closer to the summer I will be choosing business unit interests me and hopefully be placed into that. I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://feisley.com/wp-content/uploads/2008/02/cisco_logo.thumbnail.png" alt="Cisco Logo" /></p>
<p>Today I was offered an internship for the summer at Cisco!</p>
<p>I will be in San Jose, CA for the summer at the main Cisco campus. Since i am in the Cisco Choice program, when it gets closer to the summer I will be choosing business unit interests me and hopefully be placed into that. I am currently leaning toward wireless or software engineering, but of course that could change as it gets closer to summer.</p>
]]></content:encoded>
			<wfw:commentRss>http://feisley.com/2008/02/26/yay-cisco/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

