<?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 ISE Command Set Not Working as Expected in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/ise-command-set-not-working-as-expected/m-p/3577039#M516911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;I have a command set for some technicians that we grant fewer commands to, and am trying to limit specific commands, but it is not working as expected for &lt;EM&gt;some&lt;/EM&gt; of them. Note that I am testing this with a user in the correct identity group that is given the correct command set and shell profile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: We do not want them making changes to port-channels, so I have &lt;STRONG&gt;Deny | int* | po.*&lt;/STRONG&gt; and it is the first rule in the command set. An account assigned to that profile is still able to issue the command:&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (config) # &lt;STRONG&gt;int port-channel 1&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;I have also tried &lt;STRONG&gt;Deny | int* | port-channel * &lt;/STRONG&gt;with the same result.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Example 2: We do not want them assigning a port-security maximum of more than 2, so I have &lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Allow | sw* | po.* m.* [1-3] &lt;/STRONG&gt;as a rule, and directly under it &lt;STRONG&gt;Deny | sw* | po.* m.*&lt;/STRONG&gt; &lt;BR /&gt;I have also tried &lt;STRONG&gt;Deny | sw* | po.* m.* &lt;/STRONG&gt;and &lt;STRONG&gt;Deny | sw* | port-security maximum * &lt;BR /&gt;&lt;/STRONG&gt;as the very first rule in the command set, and the account can still issue the command:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;switch (config-if) # &lt;STRONG&gt;switchport port-security maximum 8&lt;/STRONG&gt; &lt;BR /&gt;&lt;/EM&gt;in any of those 3 scenarios.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2018 20:58:29 GMT</pubDate>
    <dc:creator>magates</dc:creator>
    <dc:date>2018-06-01T20:58:29Z</dc:date>
    <item>
      <title>ISE Command Set Not Working as Expected</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-command-set-not-working-as-expected/m-p/3577039#M516911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;I have a command set for some technicians that we grant fewer commands to, and am trying to limit specific commands, but it is not working as expected for &lt;EM&gt;some&lt;/EM&gt; of them. Note that I am testing this with a user in the correct identity group that is given the correct command set and shell profile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: We do not want them making changes to port-channels, so I have &lt;STRONG&gt;Deny | int* | po.*&lt;/STRONG&gt; and it is the first rule in the command set. An account assigned to that profile is still able to issue the command:&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (config) # &lt;STRONG&gt;int port-channel 1&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;I have also tried &lt;STRONG&gt;Deny | int* | port-channel * &lt;/STRONG&gt;with the same result.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;Example 2: We do not want them assigning a port-security maximum of more than 2, so I have &lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Allow | sw* | po.* m.* [1-3] &lt;/STRONG&gt;as a rule, and directly under it &lt;STRONG&gt;Deny | sw* | po.* m.*&lt;/STRONG&gt; &lt;BR /&gt;I have also tried &lt;STRONG&gt;Deny | sw* | po.* m.* &lt;/STRONG&gt;and &lt;STRONG&gt;Deny | sw* | port-security maximum * &lt;BR /&gt;&lt;/STRONG&gt;as the very first rule in the command set, and the account can still issue the command:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;switch (config-if) # &lt;STRONG&gt;switchport port-security maximum 8&lt;/STRONG&gt; &lt;BR /&gt;&lt;/EM&gt;in any of those 3 scenarios.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2018 20:58:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-command-set-not-working-as-expected/m-p/3577039#M516911</guid>
      <dc:creator>magates</dc:creator>
      <dc:date>2018-06-01T20:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: ISE Command Set Not Working as Expected</title>
      <link>https://community.cisco.com/t5/network-access-control/ise-command-set-not-working-as-expected/m-p/3577040#M516916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;To Deny commands such as int port-channel 1&lt;UL&gt;&lt;LI&gt;Grant: &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;DENY_ALWAYS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Command: &lt;STRONG&gt;interface&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Arguments: &lt;STRONG&gt;Port-channel&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Use DENY_ALWAYS to disregard the ordering of the command sets.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;To Permit commands switchport port-secuity maximum 1 to 3&lt;UL&gt;&lt;LI&gt;Grant: &lt;SPAN style="color: #008000;"&gt;&lt;STRONG&gt;PERMIT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Command: &lt;STRONG&gt;switchport&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Arguments: &lt;STRONG&gt;port-security maximum [1-3]&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;To Deny commands switchport port-security maximum &amp;gt; 4&lt;UL&gt;&lt;LI&gt;Grant: &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;DENY_ALWAYS&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Command: &lt;STRONG&gt;switchport&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Arguments: &lt;STRONG&gt;port-security maximum ([4-9]|[0-9]{2,4})&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;This denies a single numeric 4~9 or 2~4 numeric digits; use DENY_ALWAYS to disregard the ordering of the command sets; if using DENY instead of DENY_ALWAYS, then this line needs to be after the permit one and the arguments can be simply "port-security maximum"&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Jun 2018 01:50:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/ise-command-set-not-working-as-expected/m-p/3577040#M516916</guid>
      <dc:creator>hslai</dc:creator>
      <dc:date>2018-06-02T01:50:02Z</dc:date>
    </item>
  </channel>
</rss>

