<?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: ZBF Logging (dropped packets) on IOS-XE in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3939437#M135546</link>
    <description>&lt;P&gt;Mine works - try splitting out this section into two policy maps.&lt;/P&gt;&lt;P&gt;You have an inspect and a pass both contained within a single PM (one for each CM) and finally a drop log.&lt;/P&gt;&lt;P&gt;The drop log is most probably applying to the latter 'pass' rule and thus not logging anything as everything has erm...passed! &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;policy-map type inspect PM_GUESTS-TO-SELF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;class type inspect CM-INSPECT_GUESTS-TO-SELF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;class type inspect CM-PASS_GUESTS-TO-SELF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;class class-default&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;drop log&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2019 19:25:03 GMT</pubDate>
    <dc:creator>rhbmcse</dc:creator>
    <dc:date>2019-10-11T19:25:03Z</dc:date>
    <item>
      <title>ZBF Logging (dropped packets) on IOS-XE</title>
      <link>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3012201#M135542</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I´ve configured a Cisco 4331 with the Zone Based Firewall (ZBF) features. Everything works fine so far, but when I wanted to take a closer look to the dropped packets I noticed that not all are shown.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;I switched it on globally using:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;parameter-map type inspect global&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;log dropped-packets&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Afterwards I tried to "attack" the routers protected "self" zone doing a telnet and a portscan, which was all blocked as intended, but none of these blocked pakets have been shown in the routers log (nor on the terminal monitor), whereas other blocked packets (going to different zones) are shown.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Here is my configuration:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;parameter-map type inspect global&lt;BR /&gt;&amp;nbsp;log dropped-packets&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;class-map type inspect match-any CM-INSPECT_GUESTS-TO-SELF&lt;BR /&gt; match access-group name CLM-ACL_INSPECT_GUESTS-TO-SELF&lt;/P&gt;
&lt;P&gt;class-map type inspect match-any CM-PASS_GUESTS-TO-SELF&lt;BR /&gt; match access-group name CLM-ACL_PASS_GUESTS-TO-SELF_DHCP&lt;/P&gt;
&lt;P&gt;class-map type inspect match-any CM-PASS_SELF-TO-GUESTS&lt;BR /&gt; match access-group name CLM-ACL_PASS_SELF-TO-GUESTS_DHCP&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;policy-map type inspect PM_SELF-TO-GUESTS&lt;BR /&gt; class type inspect CM-PASS_SELF-TO-GUESTS&lt;BR /&gt; pass&lt;BR /&gt; class class-default&lt;BR /&gt; drop log&lt;/P&gt;
&lt;P&gt;policy-map type inspect PM_GUESTS-TO-SELF&lt;BR /&gt; class type inspect CM-INSPECT_GUESTS-TO-SELF&lt;BR /&gt; inspect&lt;BR /&gt; class type inspect CM-PASS_GUESTS-TO-SELF&lt;BR /&gt; pass&lt;BR /&gt; class class-default&lt;BR /&gt; drop log&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;ip access-list extended CLM-ACL_INSPECT_GUESTS-TO-SELF&lt;BR /&gt; permit icmp 192.168.51.0 0.255.255.255 host 192.168.51.1 echo&lt;BR /&gt; permit icmp 192.168.51.0 0.255.255.255 host 192.168.51.1 echo-reply&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;ip access-list extended CLM-ACL_PASS_GUESTS-TO-SELF_DHCP&lt;BR /&gt; permit udp any eq bootpc any eq bootps&lt;BR /&gt; &lt;BR /&gt;ip access-list extended CLM-ACL_PASS_SELF-TO-GUESTS_DHCP&lt;BR /&gt; permit udp any eq bootps any eq bootpc&lt;BR /&gt; &lt;BR /&gt;zone-pair security ZP_GUESTS-TO-SELF source ZN_GUESTS destination self&lt;BR /&gt; service-policy type inspect PM_GUESTS-TO-SELF&lt;BR /&gt; &lt;BR /&gt;zone-pair security ZP_SELF-TO-GUESTS source self destination ZN_GUESTS&lt;BR /&gt; service-policy type inspect PM_SELF-TO-GUESTS&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 09:22:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3012201#M135542</guid>
      <dc:creator>Heinz Schwarzfeuer</dc:creator>
      <dc:date>2019-03-12T09:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: ZBF Logging (dropped packets) on IOS-XE</title>
      <link>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3205469#M135543</link>
      <description>&lt;P&gt;No one any idea?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 06:26:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3205469#M135543</guid>
      <dc:creator>Heinz Schwarzfeuer</dc:creator>
      <dc:date>2017-10-26T06:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: ZBF Logging (dropped packets) on IOS-XE</title>
      <link>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3748449#M135544</link>
      <description>&lt;P&gt;I have the same problem. Any help is appreciated?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 23:21:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3748449#M135544</guid>
      <dc:creator>m.markocevic</dc:creator>
      <dc:date>2018-11-16T23:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: ZBF Logging (dropped packets) on IOS-XE</title>
      <link>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3859975#M135545</link>
      <description>&lt;P&gt;Ever solved it?&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 10:06:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3859975#M135545</guid>
      <dc:creator>fblackfire</dc:creator>
      <dc:date>2019-05-21T10:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: ZBF Logging (dropped packets) on IOS-XE</title>
      <link>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3939437#M135546</link>
      <description>&lt;P&gt;Mine works - try splitting out this section into two policy maps.&lt;/P&gt;&lt;P&gt;You have an inspect and a pass both contained within a single PM (one for each CM) and finally a drop log.&lt;/P&gt;&lt;P&gt;The drop log is most probably applying to the latter 'pass' rule and thus not logging anything as everything has erm...passed! &amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy to help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;policy-map type inspect PM_GUESTS-TO-SELF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;class type inspect CM-INSPECT_GUESTS-TO-SELF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inspect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;class type inspect CM-PASS_GUESTS-TO-SELF&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;pass&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;class class-default&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;drop log&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 19:25:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/zbf-logging-dropped-packets-on-ios-xe/m-p/3939437#M135546</guid>
      <dc:creator>rhbmcse</dc:creator>
      <dc:date>2019-10-11T19:25:03Z</dc:date>
    </item>
  </channel>
</rss>

