<?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: ISE 2.1.0 TACACS command sets issue in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585615#M520121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I have figured this out.&amp;nbsp; The "*" doesn't behave like a wildcard in the Arguments, but rather, it takes on the behaviour of a regular expression.&amp;nbsp; However "*" does behave like a wildcard in "Command".&amp;nbsp; Subtle difference.&amp;nbsp; Confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that if you use&lt;SPAN style="font-family: courier new,courier;"&gt; v*&lt;/SPAN&gt;&amp;nbsp; in your arguments, you have basically said "match 0 or more occurrences of v" - and not "match any string containing v"&lt;/P&gt;&lt;P&gt;The trick is to use a regex syntax.&amp;nbsp; &lt;SPAN style="font-family: courier new,courier;"&gt;v.* &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; - this means "match string containing a v, followed by zero or more characters of any kind"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you try using regex syntax in Command rules, it won't work.&amp;nbsp; e.g. the "." is interpreted literally and does not mean the same as when used in Arguments.&amp;nbsp; So Command definitely used wildcards!&amp;nbsp;&amp;nbsp; Beware!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below works for me in ISE 2.2 and ISE 2.3 - no matter what ordering I put the sh* rules (i.e. DENY first, or last)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="113053" class="image-1 jive-image" src="https://community.cisco.com/legacyfs/online/fusion/113053_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Nov 2017 00:21:32 GMT</pubDate>
    <dc:creator>Arne Bier</dc:creator>
    <dc:date>2017-11-08T00:21:32Z</dc:date>
    <item>
      <title>ISE 2.1.0 TACACS command sets issue</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585613#M520118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created the below tacacs command set in ISE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.cisco.com/legacyfs/online/fusion/113031_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When testing I am able to issue the commands conf t and exit but I can not run any show commands. I was intending to deny "show version" and then permit any other show commands but for some reason all "show" commands are being denied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I moved the permit s*w .* above the deny show v* and all worked fine. I was under the impression that the way I have set this up in the screenshot then after issuing a "show run" it would skip past the deny show v* and be permitted by the permit s*w .*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone see if I am making an obvious error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 14:58:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585613#M520118</guid>
      <dc:creator>n-russell-biggie</dc:creator>
      <dc:date>2017-11-07T14:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: ISE 2.1.0 TACACS command sets issue</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585614#M520120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem could be in the wildcards that you use.&lt;/P&gt;&lt;P&gt;Firstly, try denying “show version” before allowing commands and see if it works. * usually means zero or more occurances of previous character. For more information&lt;/P&gt;&lt;P&gt;http://www.rexegg.com/regex-quickstart.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Krishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 20:30:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585614#M520120</guid>
      <dc:creator>kthiruve</dc:creator>
      <dc:date>2017-11-07T20:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: ISE 2.1.0 TACACS command sets issue</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585615#M520121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I have figured this out.&amp;nbsp; The "*" doesn't behave like a wildcard in the Arguments, but rather, it takes on the behaviour of a regular expression.&amp;nbsp; However "*" does behave like a wildcard in "Command".&amp;nbsp; Subtle difference.&amp;nbsp; Confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that if you use&lt;SPAN style="font-family: courier new,courier;"&gt; v*&lt;/SPAN&gt;&amp;nbsp; in your arguments, you have basically said "match 0 or more occurrences of v" - and not "match any string containing v"&lt;/P&gt;&lt;P&gt;The trick is to use a regex syntax.&amp;nbsp; &lt;SPAN style="font-family: courier new,courier;"&gt;v.* &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; - this means "match string containing a v, followed by zero or more characters of any kind"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you try using regex syntax in Command rules, it won't work.&amp;nbsp; e.g. the "." is interpreted literally and does not mean the same as when used in Arguments.&amp;nbsp; So Command definitely used wildcards!&amp;nbsp;&amp;nbsp; Beware!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below works for me in ISE 2.2 and ISE 2.3 - no matter what ordering I put the sh* rules (i.e. DENY first, or last)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="113053" class="image-1 jive-image" src="https://community.cisco.com/legacyfs/online/fusion/113053_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 00:21:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585615#M520121</guid>
      <dc:creator>Arne Bier</dc:creator>
      <dc:date>2017-11-08T00:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: ISE 2.1.0 TACACS command sets issue</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585616#M520123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't blame anyone for not always reading and understanding all 1238 pages of the Admin guide &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/devil.png" /&gt; &lt;/P&gt;&lt;P&gt;But the ISE 2.2 Admin Guide PDF on page 194 confirms the behaviour:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="; color: #000000; font-size: 10.5pt; font-family: Univers-CondensedBold;"&gt;&lt;STRONG&gt;Wildcards and Regex in Command Sets&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;A command line comprises the command and zero or more arguments. When Cisco ISE receives a command line (request), it handles the command and its arguments in &lt;STRONG&gt;different ways:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="EN-US" style="font-family: ArialUnicodeMS; font-size: 10pt;"&gt;• &lt;/SPAN&gt;&lt;SPAN style="font-family: TimesNewRomanPSMT; font-size: 10pt;"&gt;It matches the command in the request with the commands specified in the command set list using the wildcard matching paradigm.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;Example: Sh?? or S*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="EN-US" style="font-family: ArialUnicodeMS; font-size: 10pt;"&gt;• &lt;/SPAN&gt;&lt;SPAN style="font-family: TimesNewRomanPSMT; font-size: 10pt;"&gt;It matches the arguments in the request with the arguments specified in the command set list using r&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: TimesNewRomanPSMT;"&gt;egular expressions (regex) matching paradigm.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 03:44:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585616#M520123</guid>
      <dc:creator>Arne Bier</dc:creator>
      <dc:date>2017-11-08T03:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: ISE 2.1.0 TACACS command sets issue</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585617#M520124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for this. I will test this out this evening when I have some time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 08:05:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585617#M520124</guid>
      <dc:creator>n-russell-biggie</dc:creator>
      <dc:date>2017-11-08T08:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: ISE 2.1.0 TACACS command sets issue</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585618#M520126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tested this out in my lab and you are spot on....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now understand how these command sets work and the difference between wildcards and regex's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Arne &lt;IMG src="https://community.cisco.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 20:19:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-2-1-0-tacacs-command-sets-issue/m-p/3585618#M520126</guid>
      <dc:creator>n-russell-biggie</dc:creator>
      <dc:date>2017-11-08T20:19:18Z</dc:date>
    </item>
  </channel>
</rss>

