<?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 Cisco switch ACL never working problem in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/cisco-switch-acl-never-working-problem/m-p/4535433#M1086630</link>
    <description>&lt;P&gt;I am studying for Cisco CCNA exam and I have made myself a task of blocking access from one server to another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my lab environment I use Cisco Catalyst 2960 switch (no routing used and all ports are members of same Vlan100), with two Vmware servers. One Vmware server has a VM with 192.168.100.1 IP address (it's a virtual interface), another VMWare server has a VM with 192.168.100.2 IP address (also virtual interface).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding is that I can create an ACL on a switchport where server 2 is plugged in (Gi1/0/2) and the ACL will block traffic coming from server 1 plugged into port Gi1/0/1. For observation I am using my laptop connected to console port of the CISCO Catalyst:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;conf t&lt;/P&gt;&lt;P&gt;ip access-list standard Test&lt;/P&gt;&lt;P&gt;deny 192.168.100.1&lt;/P&gt;&lt;P&gt;permit any&lt;/P&gt;&lt;P&gt;int Gi1/0/2&lt;/P&gt;&lt;P&gt;ip access-group Test in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yet, this doesn't block any traffic from 192.168.100.1&lt;/P&gt;&lt;P&gt;If I don't specify "permit any" - then the implicit deny rule blocks the traffic, meaning it's never matching the first line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok I thought to myself and tried to change it to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;conf t&lt;/P&gt;&lt;P&gt;access-list 10 deny host 192.168.100.1&lt;/P&gt;&lt;P&gt;access-list 10 permit any&lt;/P&gt;&lt;P&gt;int Gi1/0/2&lt;/P&gt;&lt;P&gt;ip access-group 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But once again it won't block traffic from 192.168.100.1 and will only block it if I don't use "permit any" expression (in which case implicit "deny any" will block it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried all possible things I can think of... I read a lot of forums, it should work but it doesn't. What am I doing wrong and how to troubleshoot it? I already tried to use &lt;EM&gt;log&lt;/EM&gt; after both permit and deny statement... The traffic still goes through, but sometimes it says "Denied 192.168.100.2 packet". But .2 is my destination, not my source address!.... Isn't it supposed to say "Denied 192.168.100.1 packet" instead and just block it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am really confused. Is it possible to just enable some kind of debugging to see what source and destination IP address is getting from the Vmware server to that switchport that Cisco ACL doesn't match my requirement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Max&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jan 2022 23:54:47 GMT</pubDate>
    <dc:creator>compstar</dc:creator>
    <dc:date>2022-01-20T23:54:47Z</dc:date>
    <item>
      <title>Cisco switch ACL never working problem</title>
      <link>https://community.cisco.com/t5/network-security/cisco-switch-acl-never-working-problem/m-p/4535433#M1086630</link>
      <description>&lt;P&gt;I am studying for Cisco CCNA exam and I have made myself a task of blocking access from one server to another.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my lab environment I use Cisco Catalyst 2960 switch (no routing used and all ports are members of same Vlan100), with two Vmware servers. One Vmware server has a VM with 192.168.100.1 IP address (it's a virtual interface), another VMWare server has a VM with 192.168.100.2 IP address (also virtual interface).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding is that I can create an ACL on a switchport where server 2 is plugged in (Gi1/0/2) and the ACL will block traffic coming from server 1 plugged into port Gi1/0/1. For observation I am using my laptop connected to console port of the CISCO Catalyst:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;conf t&lt;/P&gt;&lt;P&gt;ip access-list standard Test&lt;/P&gt;&lt;P&gt;deny 192.168.100.1&lt;/P&gt;&lt;P&gt;permit any&lt;/P&gt;&lt;P&gt;int Gi1/0/2&lt;/P&gt;&lt;P&gt;ip access-group Test in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yet, this doesn't block any traffic from 192.168.100.1&lt;/P&gt;&lt;P&gt;If I don't specify "permit any" - then the implicit deny rule blocks the traffic, meaning it's never matching the first line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok I thought to myself and tried to change it to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;conf t&lt;/P&gt;&lt;P&gt;access-list 10 deny host 192.168.100.1&lt;/P&gt;&lt;P&gt;access-list 10 permit any&lt;/P&gt;&lt;P&gt;int Gi1/0/2&lt;/P&gt;&lt;P&gt;ip access-group 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But once again it won't block traffic from 192.168.100.1 and will only block it if I don't use "permit any" expression (in which case implicit "deny any" will block it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried all possible things I can think of... I read a lot of forums, it should work but it doesn't. What am I doing wrong and how to troubleshoot it? I already tried to use &lt;EM&gt;log&lt;/EM&gt; after both permit and deny statement... The traffic still goes through, but sometimes it says "Denied 192.168.100.2 packet". But .2 is my destination, not my source address!.... Isn't it supposed to say "Denied 192.168.100.1 packet" instead and just block it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am really confused. Is it possible to just enable some kind of debugging to see what source and destination IP address is getting from the Vmware server to that switchport that Cisco ACL doesn't match my requirement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Max&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 23:54:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-switch-acl-never-working-problem/m-p/4535433#M1086630</guid>
      <dc:creator>compstar</dc:creator>
      <dc:date>2022-01-20T23:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cisco switch ACL never working problem</title>
      <link>https://community.cisco.com/t5/network-security/cisco-switch-acl-never-working-problem/m-p/4535461#M1086633</link>
      <description>&lt;P&gt;Look at&amp;nbsp; VLAN ACL :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://networklessons.com/cisco/ccie-routing-switching/vlan-access-list-vacl" target="_blank"&gt;https://networklessons.com/cisco/ccie-routing-switching/vlan-access-list-vacl&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at cisco official guide: PACL and VACL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/12-2SX/configuration/guide/book/vacl.html" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/12-2SX/configuration/guide/book/vacl.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 01:50:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/cisco-switch-acl-never-working-problem/m-p/4535461#M1086633</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2022-01-21T01:50:11Z</dc:date>
    </item>
  </channel>
</rss>

