<?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 Re: TACACS+ problem when going via console. in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/tacacs-problem-when-going-via-console/m-p/860060#M392055</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a couple of aspects of your situation which I am puzzled about. Your post talks about logging in and seems to indicate that you are logging in using a local account. But the config is quite clear that TACACS is the primary authentication method. Is the TACACS server running and is the router using TACACS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the TACACS server is running and is communicating with the router, I am guessing that the local user ID is also a user ID that is configured in TACACS. This would explain why authentication would work. Can you clarify this? And if this is the case I would guess that the user ID is not configured in TACACS to have enable mode access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the possibility that the router is not communicating with the TACACS server I would suggest that you try using the enable secret (or enable password - which ever you have configured) rather than the user password at the prompt for enable mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other part of your question is more clear. Your question says that when you login through vty you go straight to enable mode but on the console you go to privilege level 1. This is intentional behavior on the router. Going straight into enable mode is a function of authorization (in addition to authentication). And by default Cisco does this for vty and does not do this for the console (the danger of locking yourself out of the router if something is misconfigured is significant). If you are confident of the configuration and want to go directly into enable mode on the console you can use this (hidden) command under line con 0:&lt;/P&gt;&lt;P&gt;aaa authorization console&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Dec 2007 03:07:14 GMT</pubDate>
    <dc:creator>Richard Burts</dc:creator>
    <dc:date>2007-12-09T03:07:14Z</dc:date>
    <item>
      <title>TACACS+ problem when going via console.</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-problem-when-going-via-console/m-p/860059#M392042</link>
      <description>&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After going through some topics and trying everything I could fine I am relaying on you all to help me further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Switch and have an AAA configured for login via ACS with AD account. All works fine via Telnet, but connected to the console, I always get to not enable prompt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a local user name and password on the device itself. Which I can use to login through the telnet option, and it brings me straight into enable mode. But using this account with the console it brings me to priv level 1. When typing ENABLE I can specify the password that belongs to this local account but it is not excepted. Instead I get: &lt;/P&gt;&lt;P&gt;Username: admin &lt;/P&gt;&lt;P&gt;Password: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;switch&amp;gt;ena &lt;/P&gt;&lt;P&gt;Password: &lt;/P&gt;&lt;P&gt;% Error in authentication. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;switch&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pasted below you can find my current config regarding the login methods: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aaa new-model&lt;/P&gt;&lt;P&gt;aaa authentication fail-message ^C&lt;/P&gt;&lt;P&gt;User Authentication has failed. If you are not an authorized user,&lt;/P&gt;&lt;P&gt;please disconnect immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any unauthorized access attempts will be investigated and will be&lt;/P&gt;&lt;P&gt;subject to prosecution under local laws and ordinances.&lt;/P&gt;&lt;P&gt;^C&lt;/P&gt;&lt;P&gt;aaa authentication login default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authentication login console group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authentication enable default group tacacs+ enable&lt;/P&gt;&lt;P&gt;aaa authorization config-commands&lt;/P&gt;&lt;P&gt;aaa authorization exec default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authorization commands 0 default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authorization commands 1 default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authorization commands 5 default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authorization commands 15 default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authorization commands 15 console group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa authorization network default group tacacs+ local&lt;/P&gt;&lt;P&gt;aaa accounting exec default start-stop group tacacs+&lt;/P&gt;&lt;P&gt;aaa accounting commands 0 default start-stop group tacacs+&lt;/P&gt;&lt;P&gt;aaa accounting commands 1 default start-stop group tacacs+&lt;/P&gt;&lt;P&gt;aaa accounting commands 15 default start-stop group tacacs+&lt;/P&gt;&lt;P&gt;aaa accounting system default start-stop group tacacs+&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;aaa session-id common&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line con 0&lt;/P&gt;&lt;P&gt; login authentication console&lt;/P&gt;&lt;P&gt; stopbits 1&lt;/P&gt;&lt;P&gt;line vty 0 4&lt;/P&gt;&lt;P&gt; password 7 02115C0918030C71424A1A&lt;/P&gt;&lt;P&gt;line vty 5 15&lt;/P&gt;&lt;P&gt; password 7 0718791E5D0C1A55191618&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody any suggestions for me to try out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 22:33:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-problem-when-going-via-console/m-p/860059#M392042</guid>
      <dc:creator>jorge.s</dc:creator>
      <dc:date>2019-03-10T22:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: TACACS+ problem when going via console.</title>
      <link>https://community.cisco.com/t5/network-access-control/tacacs-problem-when-going-via-console/m-p/860060#M392055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jorge&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a couple of aspects of your situation which I am puzzled about. Your post talks about logging in and seems to indicate that you are logging in using a local account. But the config is quite clear that TACACS is the primary authentication method. Is the TACACS server running and is the router using TACACS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the TACACS server is running and is communicating with the router, I am guessing that the local user ID is also a user ID that is configured in TACACS. This would explain why authentication would work. Can you clarify this? And if this is the case I would guess that the user ID is not configured in TACACS to have enable mode access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the possibility that the router is not communicating with the TACACS server I would suggest that you try using the enable secret (or enable password - which ever you have configured) rather than the user password at the prompt for enable mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other part of your question is more clear. Your question says that when you login through vty you go straight to enable mode but on the console you go to privilege level 1. This is intentional behavior on the router. Going straight into enable mode is a function of authorization (in addition to authentication). And by default Cisco does this for vty and does not do this for the console (the danger of locking yourself out of the router if something is misconfigured is significant). If you are confident of the configuration and want to go directly into enable mode on the console you can use this (hidden) command under line con 0:&lt;/P&gt;&lt;P&gt;aaa authorization console&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2007 03:07:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/tacacs-problem-when-going-via-console/m-p/860060#M392055</guid>
      <dc:creator>Richard Burts</dc:creator>
      <dc:date>2007-12-09T03:07:14Z</dc:date>
    </item>
  </channel>
</rss>

