<?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 SGACLs deploy in a reverse sequence on APs in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/sgacls-deploy-in-a-reverse-sequence-on-aps/m-p/4845411#M582007</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Probably someone faced with the same issue: we use WLC9800CL controller, ISE3.2, APs 9120/9115 and C9000 switches (17.8.1). We are also deploying TrustSec.&lt;/P&gt;&lt;P&gt;ISE (3.2) &amp;lt;-- SXP --&amp;gt; WLC (17.8.1) -- push config to ap --&amp;gt; AP&lt;/P&gt;&lt;P&gt;I created a rule in ISE TrustSec Matrix. Global Default - Permit IP, last personal on cell "Default - Deny IP".&lt;/P&gt;&lt;P&gt;For example, we have SGT16 and SGT100. I want to block everything from SGT100 except ICMP and back traffic (allow replies from external requests).&lt;/P&gt;&lt;P&gt;PERMIT_ICMP SGACL:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;permit icmp&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BACK_PRINT SGACL:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;permit tcp src eq 443
permit tcp src eq 9100
permit tcp src range 721 731
permit tcp src eq 515
permit udp src eq 161&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I open cell where SGT16 as source and SGT100 as destination, add rules in that sequence (uo to down):&lt;/P&gt;&lt;P&gt;PERMIT_ICMP,&amp;nbsp;BACK_PRINT and the last DEFAULT rule Deny IP. Then deploy matrix.&lt;/P&gt;&lt;P&gt;If I connect through the switch everything works fine. However, if I connect with WiFi (through Cisco AP) all packets will be dropped.&lt;/P&gt;&lt;P&gt;I check role-based permissions on both devices and found that switch see them as:&lt;/P&gt;&lt;P&gt;IPv4 Role-based permissions from group 100:SGT_DEV_PRINT to group 16:SGT_DPT_IT:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PERMIT_ICMP-03
BACK_PRINT-07
Deny IP-00&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and AP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;100 16 Deny_IP, BACK_PRINT, PERMIT_ICMP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;like in reverse format. If I remove Deny_IP everything starts working again.&lt;/P&gt;&lt;P&gt;I tried to add&amp;nbsp;DENY_ICMP to the last of list instead of Default Deny IP and got problems again. You can see the list of rules from AP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;100 16 DENY_ICMP, BACK_PRINT, PERMIT_ICMP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's fun, if I add the last rule SGACL DENY_ANY (deny ip) the rule for SGT 100 16 would be disappeared totally.&lt;/P&gt;&lt;P&gt;What's wrong in with my ACL?&lt;/P&gt;&lt;P&gt;APs Log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;May 30 13:02:54 kernel: [*05/30/2023 13:02:54.3858] pattern 6: warning: relation '&amp;lt;= 65535' is always true (range 0-65535)
May 30 13:02:54 kernel: [*05/30/2023 13:02:54.4188] In write handler 'rbacl_rules' for 'sg_acl_table :: RoleBasedAcl':
May 30 13:02:54 kernel: [*05/30/2023 13:02:54.4188] pattern 6: warning: relation '&amp;lt;= 65535' is always true (range 0-65535)
May 30 13:02:54 kernel: [*05/30/2023 13:02:54.4258] In write handler 'rbacl_rules' for 'sg_acl_table :: RoleBasedAcl':
May 30 13:02:54 kernel: [*05/30/2023 13:02:54.4258] pattern 6: warning: relation '&amp;lt;= 65535' is always true (range 0-65535)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 13:21:16 GMT</pubDate>
    <dc:creator>Heaven_Bay</dc:creator>
    <dc:date>2023-05-30T13:21:16Z</dc:date>
    <item>
      <title>SGACLs deploy in a reverse sequence on APs</title>
      <link>https://community.cisco.com/t5/network-access-control/sgacls-deploy-in-a-reverse-sequence-on-aps/m-p/4845411#M582007</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Probably someone faced with the same issue: we use WLC9800CL controller, ISE3.2, APs 9120/9115 and C9000 switches (17.8.1). We are also deploying TrustSec.&lt;/P&gt;&lt;P&gt;ISE (3.2) &amp;lt;-- SXP --&amp;gt; WLC (17.8.1) -- push config to ap --&amp;gt; AP&lt;/P&gt;&lt;P&gt;I created a rule in ISE TrustSec Matrix. Global Default - Permit IP, last personal on cell "Default - Deny IP".&lt;/P&gt;&lt;P&gt;For example, we have SGT16 and SGT100. I want to block everything from SGT100 except ICMP and back traffic (allow replies from external requests).&lt;/P&gt;&lt;P&gt;PERMIT_ICMP SGACL:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;permit icmp&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BACK_PRINT SGACL:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;permit tcp src eq 443
permit tcp src eq 9100
permit tcp src range 721 731
permit tcp src eq 515
permit udp src eq 161&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I open cell where SGT16 as source and SGT100 as destination, add rules in that sequence (uo to down):&lt;/P&gt;&lt;P&gt;PERMIT_ICMP,&amp;nbsp;BACK_PRINT and the last DEFAULT rule Deny IP. Then deploy matrix.&lt;/P&gt;&lt;P&gt;If I connect through the switch everything works fine. However, if I connect with WiFi (through Cisco AP) all packets will be dropped.&lt;/P&gt;&lt;P&gt;I check role-based permissions on both devices and found that switch see them as:&lt;/P&gt;&lt;P&gt;IPv4 Role-based permissions from group 100:SGT_DEV_PRINT to group 16:SGT_DPT_IT:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;PERMIT_ICMP-03
BACK_PRINT-07
Deny IP-00&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and AP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;100 16 Deny_IP, BACK_PRINT, PERMIT_ICMP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;like in reverse format. If I remove Deny_IP everything starts working again.&lt;/P&gt;&lt;P&gt;I tried to add&amp;nbsp;DENY_ICMP to the last of list instead of Default Deny IP and got problems again. You can see the list of rules from AP:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;100 16 DENY_ICMP, BACK_PRINT, PERMIT_ICMP&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's fun, if I add the last rule SGACL DENY_ANY (deny ip) the rule for SGT 100 16 would be disappeared totally.&lt;/P&gt;&lt;P&gt;What's wrong in with my ACL?&lt;/P&gt;&lt;P&gt;APs Log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;May 30 13:02:54 kernel: [*05/30/2023 13:02:54.3858] pattern 6: warning: relation '&amp;lt;= 65535' is always true (range 0-65535)
May 30 13:02:54 kernel: [*05/30/2023 13:02:54.4188] In write handler 'rbacl_rules' for 'sg_acl_table :: RoleBasedAcl':
May 30 13:02:54 kernel: [*05/30/2023 13:02:54.4188] pattern 6: warning: relation '&amp;lt;= 65535' is always true (range 0-65535)
May 30 13:02:54 kernel: [*05/30/2023 13:02:54.4258] In write handler 'rbacl_rules' for 'sg_acl_table :: RoleBasedAcl':
May 30 13:02:54 kernel: [*05/30/2023 13:02:54.4258] pattern 6: warning: relation '&amp;lt;= 65535' is always true (range 0-65535)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 13:21:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/sgacls-deploy-in-a-reverse-sequence-on-aps/m-p/4845411#M582007</guid>
      <dc:creator>Heaven_Bay</dc:creator>
      <dc:date>2023-05-30T13:21:16Z</dc:date>
    </item>
  </channel>
</rss>

