<?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: ACL not logging? in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46323#M11703</link>
    <description>Hi Martin,&lt;BR /&gt;
&lt;BR /&gt;
Thank you for the quick response. I overlooked the mirror-cpu action in your acl. Sorry about that. &lt;BR /&gt;
&lt;BR /&gt;
Can you collect the following outputs:&lt;BR /&gt;
&lt;BR /&gt;
show log counters kern occurred. &lt;BR /&gt;
show configuration ems. &lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
    <pubDate>Mon, 24 Aug 2015 14:51:00 GMT</pubDate>
    <dc:creator>Prashanth_KG</dc:creator>
    <dc:date>2015-08-24T14:51:00Z</dc:date>
    <item>
      <title>ACL not logging?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46320#M11700</link>
      <description>Have created a Policy file that has a explicit deny at the end. When I apply it traffic is being blocked that I don't wont.&lt;BR /&gt;
&lt;BR /&gt;
In order to workout whats wrong I have changed the deny to permit, and added a log, mirror-cpu and count.&lt;BR /&gt;
&lt;BR /&gt;
The count is increasing at a good rate but nothing is logging, but I can't see anything wrong with my configuration  -  The Vlan 'Accounts' uses subnet 10.10.10.0/24. I believe I could write the deny differently but omitting the source-address field or changing it to 0.0.0.0/0, but it makes no odds as the count is going up so something should be logging?&lt;BR /&gt;
&lt;BR /&gt;
entry deny {&lt;BR /&gt;
  if {&lt;BR /&gt;
    source-address 10.10.10.0/24;&lt;BR /&gt;
  } then {&lt;BR /&gt;
    permit;&lt;BR /&gt;
    mirror-cpu;&lt;BR /&gt;
    log;&lt;BR /&gt;
    count dey;&lt;BR /&gt;
  }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
configure log filter DefaultFilter add event kern.infoconfigure access-list Policy_Filename port 1:8 ingress&lt;BR /&gt;
&lt;BR /&gt;
or&lt;BR /&gt;
&lt;BR /&gt;
configure access-list Policy_Filename vlan Accounts ingressI have checked logging is on and working and set from the lowest level of 'warning'.&lt;BR /&gt;
&lt;BR /&gt;
EXOS version 15.3.1.4 patch 1-3.&lt;BR /&gt;
&lt;BR /&gt;
Switch: X460-48t&lt;BR /&gt;
&lt;BR /&gt;
Any idea's what I might be doing wrong?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance﻿&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Aug 2015 12:58:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46320#M11700</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-24T12:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: ACL not logging?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46321#M11701</link>
      <description>Hi Martin,&lt;BR /&gt;
&lt;BR /&gt;
Only the packets that are hitting the CPU can be logged with the ACL modifier. &lt;BR /&gt;
&lt;BR /&gt;
Snippet from the concepts guide under the ACL section. &lt;BR /&gt;
&lt;BR /&gt;
Packets are logged only when they go to the CPU, so packets in the fastpath are not automaticallylogged. You must use both the mirror-cpu action modifier and the log or log-raw action modifier if you&lt;BR /&gt;
want to log both slowpath and fastpath packets that match the ACL rule entry. Additionally, Kern.Info&lt;BR /&gt;
messages (or Kern.Card.Info on SummitStack) are not logged by default. You must configure an EMS&lt;BR /&gt;
filter to log these messages, for example, configure log filter DefaultFilter add&lt;BR /&gt;
event kern.info. See the Status Monitoring and Statistics chapter for information about&lt;BR /&gt;
configuring EMS.&lt;BR /&gt;
&lt;BR /&gt;
So, if you want to see the packet which is getting denied, please try adding the mirror-cpu action modifier and then check! Hope this helps!</description>
      <pubDate>Mon, 24 Aug 2015 14:18:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46321#M11701</guid>
      <dc:creator>Prashanth_KG</dc:creator>
      <dc:date>2015-08-24T14:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: ACL not logging?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46322#M11702</link>
      <description>Thanks for replying and excuse me if I have mis-understood, but I'm still not clear what I have done wrong? From what I can tell I am already doing all you have mentioned in the configuration supplied?&lt;BR /&gt;
&lt;BR /&gt;
Are you able to give an example or detail exactly what I am missing?&lt;BR /&gt;
&lt;BR /&gt;
Many thanks.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Aug 2015 14:43:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46322#M11702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-24T14:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: ACL not logging?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46323#M11703</link>
      <description>Hi Martin,&lt;BR /&gt;
&lt;BR /&gt;
Thank you for the quick response. I overlooked the mirror-cpu action in your acl. Sorry about that. &lt;BR /&gt;
&lt;BR /&gt;
Can you collect the following outputs:&lt;BR /&gt;
&lt;BR /&gt;
show log counters kern occurred. &lt;BR /&gt;
show configuration ems. &lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Mon, 24 Aug 2015 14:51:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46323#M11703</guid>
      <dc:creator>Prashanth_KG</dc:creator>
      <dc:date>2015-08-24T14:51:00Z</dc:date>
    </item>
    <item>
      <title>RE: ACL not logging?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46324#M11704</link>
      <description>Ok, worked out the problem after you gave those commands. I noticed the entry for Kern was showing 'N' even though I had added it to the DefaultFilter.&lt;BR /&gt;
&lt;BR /&gt;
The answer was that it should be kern.card.info, so the inclusion should be&lt;BR /&gt;
&lt;BR /&gt;
configure log filter DefaultFilter add event kern.card.infoSo problem solved. Thanks very much for you help!&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Aug 2015 15:02:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46324#M11704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-24T15:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: ACL not logging?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46325#M11705</link>
      <description>Great! Suspected the same. Thanks for verifying and letting us know!!</description>
      <pubDate>Mon, 24 Aug 2015 15:16:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46325#M11705</guid>
      <dc:creator>Prashanth_KG</dc:creator>
      <dc:date>2015-08-24T15:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: ACL not logging?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46326#M11706</link>
      <description>Martin,&lt;BR /&gt;
&lt;BR /&gt;
We had a KCS article, but it wasn't external facing yet so you would have never found it.  I pushed it out the the public to help others in the future.  Sorry for your troubles. &lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-Capture-received-packets-using-an-ACL-and-log-the-packet-header-to-the-show-log-output/" target="_blank" rel="nofollow noreferrer noopener"&gt;https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-Capture-received-packets-using-an-A...&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Stephen</description>
      <pubDate>Mon, 24 Aug 2015 23:54:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/acl-not-logging/m-p/46326#M11706</guid>
      <dc:creator>StephenW</dc:creator>
      <dc:date>2015-08-24T23:54:00Z</dc:date>
    </item>
  </channel>
</rss>

