<?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: Shell Command Auth Question in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012028#M419392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had mentioned it for the command line.&lt;/P&gt;&lt;P&gt;If suppose you have local users with Privelege level 2 and 15, then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;username admin2 privilege 2 password cisco&lt;/P&gt;&lt;P&gt;username admin15 privilege 15 password cisco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;privelege exex level 2 ping&lt;/P&gt;&lt;P&gt;privilege exec level 2 clear counter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;privelege exec level 15 telnet&lt;/P&gt;&lt;P&gt;privelege exec level 15 show config&lt;/P&gt;&lt;P&gt;privelege exec level 15 show logging&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jul 2008 15:51:04 GMT</pubDate>
    <dc:creator>dhananjoy chowdhury</dc:creator>
    <dc:date>2008-07-21T15:51:04Z</dc:date>
    <item>
      <title>Shell Command Auth Question</title>
      <link>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012024#M419388</link>
      <description>&lt;P&gt;I'm trying to setup a Shell command auth set for clearing interface counters but I can't think of a way to do so. Is there a way to do something like:&lt;/P&gt;&lt;P&gt;"permit counters interface *"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 22:59:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012024#M419388</guid>
      <dc:creator>simon.bell</dc:creator>
      <dc:date>2019-03-10T22:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command Auth Question</title>
      <link>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012025#M419389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;privilege exec level 2 clear counters&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 12:45:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012025#M419389</guid>
      <dc:creator>dhananjoy chowdhury</dc:creator>
      <dc:date>2008-07-21T12:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command Auth Question</title>
      <link>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012026#M419390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure i understand what ya mean with this suggestion. We allow the user in to priv 15 but limit all commands typed. For example they might need to show the running config for an interface or something like that. Thus when they login they have priv 15 but don't have config term rights.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 13:05:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012026#M419390</guid>
      <dc:creator>simon.bell</dc:creator>
      <dc:date>2008-07-21T13:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command Auth Question</title>
      <link>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012027#M419391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming you are using CSACS (not indicated) for defining your command sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Deny" radio button selected (i.e.: only listed commands will be authorized).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command List:&lt;/P&gt;&lt;P&gt;clear&lt;/P&gt;&lt;P&gt;disable&lt;/P&gt;&lt;P&gt;enable&lt;/P&gt;&lt;P&gt;show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Clear" command argument(s) set as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(a) Deselect the "Permit Unmatched Args" checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(b) Enter the following argument(s) into the list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  permit counters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... or, to be more specific:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  permit counters Ethernet 0&lt;/P&gt;&lt;P&gt;  permit counters FastEthernet 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should result in the ability to clear all counters, or the counters of specific interfaces (if you define them).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;P&gt;(1) Command arguments are case sensitive and may differ from how they are entered at the CLI.&lt;/P&gt;&lt;P&gt;(2) A sniffer is helpful in determining proper case.&lt;/P&gt;&lt;P&gt;(3) Wireshark is capable of decrypting TACACS+ packets if you configure the application with the password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 14:52:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012027#M419391</guid>
      <dc:creator>michael.leblanc</dc:creator>
      <dc:date>2008-07-21T14:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command Auth Question</title>
      <link>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012028#M419392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I had mentioned it for the command line.&lt;/P&gt;&lt;P&gt;If suppose you have local users with Privelege level 2 and 15, then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;username admin2 privilege 2 password cisco&lt;/P&gt;&lt;P&gt;username admin15 privilege 15 password cisco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;privelege exex level 2 ping&lt;/P&gt;&lt;P&gt;privilege exec level 2 clear counter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;privelege exec level 15 telnet&lt;/P&gt;&lt;P&gt;privelege exec level 15 show config&lt;/P&gt;&lt;P&gt;privelege exec level 15 show logging&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 15:51:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012028#M419392</guid>
      <dc:creator>dhananjoy chowdhury</dc:creator>
      <dc:date>2008-07-21T15:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command Auth Question</title>
      <link>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012029#M419393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I'm using CACS, sorry for not specifying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if i put "clear" in as the command and then put: "permit counters FastEthernet 0" will that allow all fa0/1 - x interfaces or do I have to put them in individually? I'm really looking for a way to allow it on all fa and gi interfaces if possible but w/o putting each interface into acs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 17:29:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012029#M419393</guid>
      <dc:creator>simon.bell</dc:creator>
      <dc:date>2008-07-21T17:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Shell Command Auth Question</title>
      <link>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012030#M419395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are willing to permit the clearing of counters for "all" interface types (do a "clear counters ?", to see the list), use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;permit counters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you only want to permit all FastEthernet and GigabitEthernet interfaces, use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;permit counters FastEthernet&lt;/P&gt;&lt;P&gt;permit counters GigabitEthernet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The inclusion of "FastEthernet 0" in my previously posted example was for a specific interface, where "FastEthernet 0" was a complete interface name (on a different platform), and was not intended to specify FastEthernet 0/1 - x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: If you want to control specific interfaces, make sure to use the appropriate white-space in your command set argument definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g.: permit counters FastEthernet 0 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "FastEthernet", "0", and "1", are all separate arguments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2008 19:56:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/shell-command-auth-question/m-p/1012030#M419395</guid>
      <dc:creator>michael.leblanc</dc:creator>
      <dc:date>2008-07-21T19:56:38Z</dc:date>
    </item>
  </channel>
</rss>

