<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Moving to AAA from local authentication on 100s of devices on pr in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715198#M340481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding the authorization command at the end of the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Aug 2011 23:55:44 GMT</pubDate>
    <dc:creator>Tarik Admani</dc:creator>
    <dc:date>2011-08-03T23:55:44Z</dc:date>
    <item>
      <title>Moving to AAA from local authentication on 100s of devices on production network</title>
      <link>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715197#M340468</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to migrate 100s of devices from local authentication to AAA. I have the code that I need to apply, but I can't think of a way how to automate this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I log onto a switch using the local username, I can then add the AAA config in global mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa authentication login TACACS_LOCAL group TACACS_SERVERS local&lt;/P&gt;&lt;P&gt;aaa authorization console&lt;/P&gt;&lt;P&gt;aaa authorization config-commands&lt;/P&gt;&lt;P&gt;aaa authorization exec TACACS_LOCAL group TACACS_SERVERS local&lt;/P&gt;&lt;P&gt;aaa authorization commands 0 TACACS_LOCAL group TACACS_SERVERS local&lt;/P&gt;&lt;P&gt;aaa authorization commands 1 TACACS_LOCAL group TACACS_SERVERS local&lt;/P&gt;&lt;P&gt;aaa authorization commands 15 TACACS_LOCAL group TACACS_SERVERS local&lt;/P&gt;&lt;P&gt;aaa accounting exec TAC start-stop group TACACS_SERVERS&lt;/P&gt;&lt;P&gt;aaa accounting commands 0 TAC start-stop group TACACS_SERVERS&lt;/P&gt;&lt;P&gt;aaa accounting commands 1 TAC start-stop group TACACS_SERVERS&lt;/P&gt;&lt;P&gt;aaa accounting commands 15 TAC start-stop group TACACS_SERVERS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, once I add the config for the line, authorization then kicks in (as I'm logged in as a local user) and denies any command entered, I then need to re-login to the switch using a AAA account and apply this code;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line vty 0 4&lt;/P&gt;&lt;P&gt; authorization commands 0 TACACS_LOCAL&lt;/P&gt;&lt;P&gt; authorization commands 1 TACACS_LOCAL&lt;/P&gt;&lt;P&gt; authorization commands 15 TACACS_LOCAL&lt;/P&gt;&lt;P&gt; authorization exec TACACS_LOCAL&lt;/P&gt;&lt;P&gt; accounting commands 0 TAC&lt;/P&gt;&lt;P&gt; accounting commands 1 TAC&lt;/P&gt;&lt;P&gt; accounting commands 15 TAC&lt;/P&gt;&lt;P&gt; accounting exec TAC&lt;/P&gt;&lt;P&gt; login authentication TACACS_LOCAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to know if anyone has come up with a way of apply the code in one hit? I would ideally like to automate this using Cisco works, however I can't think of any ways, apart from add this code to the start-up config and re-booting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 01:16:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715197#M340468</guid>
      <dc:creator>golly_wog</dc:creator>
      <dc:date>2019-03-11T01:16:01Z</dc:date>
    </item>
    <item>
      <title>Moving to AAA from local authentication on 100s of devices on pr</title>
      <link>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715198#M340481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding the authorization command at the end of the script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Aug 2011 23:55:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715198#M340481</guid>
      <dc:creator>Tarik Admani</dc:creator>
      <dc:date>2011-08-03T23:55:44Z</dc:date>
    </item>
    <item>
      <title>Moving to AAA from local authentication on 100s of devices on pr</title>
      <link>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715199#M340488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recently deployed AAA by Cisco LMS 4.0 to a bunch of devices. I did a two step approach to make sure i dont get locked out.&lt;/P&gt;&lt;P&gt; i created two templates in the template center; one for authentication and accounting and one for the authorization. Start with authention and accounting in the first step. then the authorization.&lt;/P&gt;&lt;P&gt;Be aware that the configureation deployed with the template center has problems with saving the config to the startup config. I had to visit each device to save the config manually to the startup-config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 17:01:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715199#M340488</guid>
      <dc:creator>alex.dersch</dc:creator>
      <dc:date>2011-08-04T17:01:59Z</dc:date>
    </item>
    <item>
      <title>Moving to AAA from local authentication on 100s of devices on pr</title>
      <link>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715200#M340514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply mate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you elaborate on these templates (I'm not familar with LMS), did you login for the second template using a AAA username/password?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Tarik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks mate - I should have elaborated and said I know that is the issue &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't apply ALL the code in one hit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 17:46:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715200#M340514</guid>
      <dc:creator>golly_wog</dc:creator>
      <dc:date>2011-08-04T17:46:12Z</dc:date>
    </item>
    <item>
      <title>Moving to AAA from local authentication on 100s of devices on pr</title>
      <link>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715201#M340563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Golly,&lt;/P&gt;&lt;P&gt;what version of LMS you're running? &lt;/P&gt;&lt;P&gt;Sure you can apply all code in one line, just make sure that the authorization part is at the end. &lt;/P&gt;&lt;P&gt;Deploying it in two step is just more easy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 17:54:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715201#M340563</guid>
      <dc:creator>alex.dersch</dc:creator>
      <dc:date>2011-08-04T17:54:06Z</dc:date>
    </item>
    <item>
      <title>Moving to AAA from local authentication on 100s of devices on pr</title>
      <link>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715202#M340579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's v4 mate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that Cisco Works would login and then apply the code - just like a normal user would do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you do it in two parts, with 1st authentication + accounting, 2nd authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 1st login is using the local account, then the 2nd login would surley need to login using an account that can be authentciated back to the ACS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the 2nd login used the local account then it would fail, as it would not be authenticated via ACS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 20:25:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715202#M340579</guid>
      <dc:creator>golly_wog</dc:creator>
      <dc:date>2011-08-04T20:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Moving to AAA from local authentication on 100s of devices o</title>
      <link>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715203#M340629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No,&lt;/P&gt;&lt;P&gt;LMS usually uses TFTP to deploy configuration to devices. So the user shouldn't be an issue.&lt;/P&gt;&lt;P&gt;Go to Configuration -&amp;gt; Template Center -&amp;gt; Import&lt;/P&gt;&lt;P&gt;You can import a configuration from one of your devices by&amp;nbsp; selcting one. When the config is fetched, you can remove the parts of&amp;nbsp; the configuration you don't need and paste the aaa authentication into&amp;nbsp; the window.&lt;/P&gt;&lt;P&gt;then click next, &lt;/P&gt;&lt;P&gt;there you can preselect the devices you want to consider for deployment. then click next.&lt;/P&gt;&lt;P&gt;if no configuration appears click next.&lt;/P&gt;&lt;P&gt;type the required information into the fields. click finish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; would recommend to create a template for removing the aaa&amp;nbsp; configuration, but be aware that when you just type no aaa new-model the&amp;nbsp; configuration is 100% removed, as soon you type again aaa new-model you&amp;nbsp; have the old config merged with the new one. You have negotiate all&amp;nbsp; your aaa commands followed by a no aaa new-model. (This costs me about 2&amp;nbsp; hours to figure out how to remove it.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next step is to deploy the config to a test device.&lt;/P&gt;&lt;P&gt;Go to Configuration -&amp;gt; Template Center -&amp;gt; deploy&lt;/P&gt;&lt;P&gt;Select your template then click next&lt;/P&gt;&lt;P&gt;Select your device -&amp;gt; click next&lt;/P&gt;&lt;P&gt;If you didn't configure any parameters click next&lt;/P&gt;&lt;P&gt;you can add some additionals configurations if you want, click next&lt;/P&gt;&lt;P&gt;Schedule your deployment then click finish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check for any problems during deployment, if everything worked fine you can log in to the device with your tacacs credentials.&lt;/P&gt;&lt;P&gt;if&amp;nbsp; there are any problems with your template, export it and open it with&amp;nbsp; an xml editor your choice and modify the template, import it and try&amp;nbsp; again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i've add a sample template&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 20:43:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715203#M340629</guid>
      <dc:creator>alex.dersch</dc:creator>
      <dc:date>2011-08-04T20:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Moving to AAA from local authentication on 100s of devices o</title>
      <link>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715204#M340704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got our moniroting guy to implement this today and it worked like a charm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANK YOU SO MUCH!!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 21:59:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/moving-to-aaa-from-local-authentication-on-100s-of-devices-on/m-p/1715204#M340704</guid>
      <dc:creator>golly_wog</dc:creator>
      <dc:date>2011-08-05T21:59:11Z</dc:date>
    </item>
  </channel>
</rss>

