<?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 How to log matched traffic in an ACL in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-log-matched-traffic-in-an-acl/m-p/50783#M13696</link>
    <description>The log keyword of an ACL doesn't seem to work, take this simple policy as an example:&lt;BR /&gt;
&lt;BR /&gt;
entry permit_ICMP {&lt;BR /&gt;
       if {&lt;BR /&gt;
          protocol icmp;&lt;BR /&gt;
       }&lt;BR /&gt;
       then {&lt;BR /&gt;
          permit;&lt;BR /&gt;
          mirror-cpu;&lt;BR /&gt;
          log;&lt;BR /&gt;
          count icmp;&lt;BR /&gt;
       }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
The counter increments fine, the traffic is permitted (even with a deny any in the end) but there's no log.&lt;BR /&gt;
&lt;BR /&gt;
Looking forward for an answer for this.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance.&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Wed, 24 Sep 2014 02:26:00 GMT</pubDate>
    <dc:creator>Thiago</dc:creator>
    <dc:date>2014-09-24T02:26:00Z</dc:date>
    <item>
      <title>How to log matched traffic in an ACL</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-log-matched-traffic-in-an-acl/m-p/50783#M13696</link>
      <description>The log keyword of an ACL doesn't seem to work, take this simple policy as an example:&lt;BR /&gt;
&lt;BR /&gt;
entry permit_ICMP {&lt;BR /&gt;
       if {&lt;BR /&gt;
          protocol icmp;&lt;BR /&gt;
       }&lt;BR /&gt;
       then {&lt;BR /&gt;
          permit;&lt;BR /&gt;
          mirror-cpu;&lt;BR /&gt;
          log;&lt;BR /&gt;
          count icmp;&lt;BR /&gt;
       }&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
The counter increments fine, the traffic is permitted (even with a deny any in the end) but there's no log.&lt;BR /&gt;
&lt;BR /&gt;
Looking forward for an answer for this.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Sep 2014 02:26:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-log-matched-traffic-in-an-acl/m-p/50783#M13696</guid>
      <dc:creator>Thiago</dc:creator>
      <dc:date>2014-09-24T02:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to log matched traffic in an ACL</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-log-matched-traffic-in-an-acl/m-p/50784#M13697</link>
      <description>Hello Thiago&lt;BR /&gt;
&lt;BR /&gt;
That log is not to log that the entry was executed in the switch log table.  it means you can send the packet to the CPU and get header information in the log table.&lt;BR /&gt;
&lt;BR /&gt;
"log—Logs the packet header."&lt;BR /&gt;
"log-raw—Logs the packet header  in hex format."&lt;BR /&gt;
&lt;BR /&gt;
In order to have that data execute into the log you need to add a filter&lt;BR /&gt;
&lt;BR /&gt;
"You must configure an EMS"&lt;BR /&gt;
"filter to log these messages, for example, configure log filter DefaultFilter add event kern.info. See the Status Monitoring and Statistics chapter  for information about"&lt;BR /&gt;
&lt;BR /&gt;
To test that an entry is working use the counter&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps&lt;BR /&gt;
P&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Sep 2014 03:04:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-log-matched-traffic-in-an-acl/m-p/50784#M13697</guid>
      <dc:creator>Paul_Russo</dc:creator>
      <dc:date>2014-09-24T03:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to log matched traffic in an ACL</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-log-matched-traffic-in-an-acl/m-p/50785#M13698</link>
      <description>Thank you Paul,&lt;BR /&gt;
&lt;BR /&gt;
When I added "configure log filter DefaultFilter add event kern.info" it started to appear in the log.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Sep 2014 03:04:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-log-matched-traffic-in-an-acl/m-p/50785#M13698</guid>
      <dc:creator>Thiago</dc:creator>
      <dc:date>2014-09-24T03:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to log matched traffic in an ACL</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-log-matched-traffic-in-an-acl/m-p/50786#M13699</link>
      <description>@ paul is absolutely correct.&lt;BR /&gt;
&lt;BR /&gt;
It's better to use EMS instead of mirror traffic to CPU.</description>
      <pubDate>Wed, 24 Sep 2014 06:09:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-log-matched-traffic-in-an-acl/m-p/50786#M13699</guid>
      <dc:creator>Sumit_Tokle</dc:creator>
      <dc:date>2014-09-24T06:09:00Z</dc:date>
    </item>
  </channel>
</rss>

