<?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 AAA authorization fails, but still command is executed... in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/aaa-authorization-fails-but-still-command-is-executed/m-p/1542494#M258531</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;i've implemented authorization and it basically works. The user can only use a limited set of commands (show int status, conf t, interface ethernet, interface gigabitethernet, interface fastethernet, shut, no shut).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I try to configure a loopback or Vlan interface, which should not be allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;COMMANDS IMPLEMENTED:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;aaa authorization config-commands&lt;BR /&gt;aaa authorization commands 0 vty group tacacs+ none&lt;BR /&gt;aaa authorization commands 1 vty group tacacs+ none&lt;BR /&gt;aaa authorization commands 15 vty group tacacs+ none&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line vty 0 15&lt;BR /&gt; authorization commands 0 vty&lt;BR /&gt; authorization commands 1 vty&lt;BR /&gt; authorization commands 15 vty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;COMMAND AND OUTPUT FROM TESTING:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SWITCH(config)#int vlan 2&lt;BR /&gt;Command authorization failed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEBUG AAA AUTHORIZATION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SWITCH#&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA: parse name=tty1 idb type=-1 tty=-1&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA: name=tty1 flags=0x11 type=5 shelf=0 slot=0 adapter=0 port=1 channel=0&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/MEMORY: create_user (0x46603F4) user='USER1' ruser='SWITCH' ds0=0 port=&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'tty1' rem_addr='10.10.255.249' authen_type=ASCII service=NONE priv=15 initial_task_id='0', vrf= (id=0)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): Port='tty1' list='SCAS' service=CMD&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/CMD: tty1 (60725991) user='USER1'&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): send AV service=shell&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): send AV cmd=interface&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): send AV cmd-arg=Vlan&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): send AV cmd-arg=2&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): send AV cmd-arg=&amp;lt;cr&amp;gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): found list "SCAS"&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): Method=tacacs+ (tacacs+)&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): user=USER1&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): send AV service=shell&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): send AV cmd=interface&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): send AV cmd-arg=Vlan&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): send AV cmd-arg=2&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): send AV cmd-arg=&amp;lt;cr&amp;gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR (60725991): Post authorization status = FAIL&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/MEMORY: free_user (0x46603F4) user='USER1' ruser='SWITCH' port='tty1' r&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;em_addr='10.10.255.249' authen_type=ASCII service=NONE priv=15&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;As you can see the reply from the Tacacs is a "FAIL", but still the command is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESULT:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SWITCH#sh run int vlan 2&lt;BR /&gt;Building configuration...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Current configuration : 38 bytes&lt;BR /&gt;!&lt;BR /&gt;interface Vlan2&lt;BR /&gt; no ip address&lt;BR /&gt;end&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QUESTION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I don't understand what the problem is...Since I get a FAIL from the Tacacs Server I assume that the configuration on that side is fine.&lt;/P&gt;&lt;P&gt;But why would the switch ignore a FAIL and still execute the command? Same problem exists with the Loopback-Interface.&lt;/P&gt;&lt;P&gt;Is this me not understandig the basic concept of AAA or is this some other problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Switch is a Cisco WS-C3750-24TS (running c3750-ipbasek9-mz.122-50.SE2.bin).&lt;/P&gt;&lt;P&gt;The Tacacs runs Cisco Secure ACS4.2.0.124&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 00:38:45 GMT</pubDate>
    <dc:creator>thblake07</dc:creator>
    <dc:date>2019-03-11T00:38:45Z</dc:date>
    <item>
      <title>AAA authorization fails, but still command is executed...</title>
      <link>https://community.cisco.com/t5/network-access-control/aaa-authorization-fails-but-still-command-is-executed/m-p/1542494#M258531</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;i've implemented authorization and it basically works. The user can only use a limited set of commands (show int status, conf t, interface ethernet, interface gigabitethernet, interface fastethernet, shut, no shut).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I try to configure a loopback or Vlan interface, which should not be allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;COMMANDS IMPLEMENTED:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;aaa authorization config-commands&lt;BR /&gt;aaa authorization commands 0 vty group tacacs+ none&lt;BR /&gt;aaa authorization commands 1 vty group tacacs+ none&lt;BR /&gt;aaa authorization commands 15 vty group tacacs+ none&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;line vty 0 15&lt;BR /&gt; authorization commands 0 vty&lt;BR /&gt; authorization commands 1 vty&lt;BR /&gt; authorization commands 15 vty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;COMMAND AND OUTPUT FROM TESTING:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SWITCH(config)#int vlan 2&lt;BR /&gt;Command authorization failed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEBUG AAA AUTHORIZATION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SWITCH#&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA: parse name=tty1 idb type=-1 tty=-1&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA: name=tty1 flags=0x11 type=5 shelf=0 slot=0 adapter=0 port=1 channel=0&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/MEMORY: create_user (0x46603F4) user='USER1' ruser='SWITCH' ds0=0 port=&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'tty1' rem_addr='10.10.255.249' authen_type=ASCII service=NONE priv=15 initial_task_id='0', vrf= (id=0)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): Port='tty1' list='SCAS' service=CMD&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/CMD: tty1 (60725991) user='USER1'&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): send AV service=shell&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): send AV cmd=interface&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): send AV cmd-arg=Vlan&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): send AV cmd-arg=2&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): send AV cmd-arg=&amp;lt;cr&amp;gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): found list "SCAS"&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: tty1 AAA/AUTHOR/CMD (60725991): Method=tacacs+ (tacacs+)&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): user=USER1&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): send AV service=shell&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): send AV cmd=interface&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): send AV cmd-arg=Vlan&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): send AV cmd-arg=2&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR/TAC+: (60725991): send AV cmd-arg=&amp;lt;cr&amp;gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/AUTHOR (60725991): Post authorization status = FAIL&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Dec&amp;nbsp; 7 14:31:50: AAA/MEMORY: free_user (0x46603F4) user='USER1' ruser='SWITCH' port='tty1' r&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;em_addr='10.10.255.249' authen_type=ASCII service=NONE priv=15&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;As you can see the reply from the Tacacs is a "FAIL", but still the command is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RESULT:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SWITCH#sh run int vlan 2&lt;BR /&gt;Building configuration...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Current configuration : 38 bytes&lt;BR /&gt;!&lt;BR /&gt;interface Vlan2&lt;BR /&gt; no ip address&lt;BR /&gt;end&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;QUESTION:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I don't understand what the problem is...Since I get a FAIL from the Tacacs Server I assume that the configuration on that side is fine.&lt;/P&gt;&lt;P&gt;But why would the switch ignore a FAIL and still execute the command? Same problem exists with the Loopback-Interface.&lt;/P&gt;&lt;P&gt;Is this me not understandig the basic concept of AAA or is this some other problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Switch is a Cisco WS-C3750-24TS (running c3750-ipbasek9-mz.122-50.SE2.bin).&lt;/P&gt;&lt;P&gt;The Tacacs runs Cisco Secure ACS4.2.0.124&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 00:38:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/aaa-authorization-fails-but-still-command-is-executed/m-p/1542494#M258531</guid>
      <dc:creator>thblake07</dc:creator>
      <dc:date>2019-03-11T00:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: AAA authorization fails, but still command is executed...</title>
      <link>https://community.cisco.com/t5/network-access-control/aaa-authorization-fails-but-still-command-is-executed/m-p/1542495#M258567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is CSCtd49491 : TACACS+ command authorization for interface configuration fails .&lt;/P&gt;&lt;P&gt;The bug is currently in a Closed state, meaning that the "&lt;SPAN class="content"&gt;Bug report is valid, but a conscious decision has been made not to fix it at all or in all releases."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As far as I can tell, the impact is rather limited since the interface that gets created will have no effect unless the vlan exists, and even then the effect is minimal since it cannot be configured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="content"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You may want to open a TAC case or work with your account team to get the bug re-opened if this is still a concern though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hth&lt;/P&gt;&lt;P&gt;Herbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Dec 2010 21:13:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/aaa-authorization-fails-but-still-command-is-executed/m-p/1542495#M258567</guid>
      <dc:creator>Herbert Baerten</dc:creator>
      <dc:date>2010-12-13T21:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: AAA authorization fails, but still command is executed...</title>
      <link>https://community.cisco.com/t5/network-access-control/aaa-authorization-fails-but-still-command-is-executed/m-p/1542496#M258603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Herbert,&lt;/P&gt;&lt;P&gt;thanks for your reply. Looks like I used the wrong keywords while looking thru the Bugtoolkit &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Dec 2010 14:35:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/aaa-authorization-fails-but-still-command-is-executed/m-p/1542496#M258603</guid>
      <dc:creator>thblake07</dc:creator>
      <dc:date>2010-12-14T14:35:35Z</dc:date>
    </item>
  </channel>
</rss>

