<?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 Applying ACL for a VLAN in Switching</title>
    <link>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994763#M64215</link>
    <description>&lt;P&gt;I need someone to straighten me out on this...I always get confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Internet L3 switch (3560) that has an L3 vlan interface for devices that face the internal network (DMZ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to deny all traffic from the corporate network exceot for 3 subnets that the network engineers are on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, no biggie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip access-list standard DENY_UNAUTH_USERS&lt;/P&gt;&lt;P&gt;remark deny all corporate traffic except for the 4, 5 and 6 subnets&lt;/P&gt;&lt;P&gt;permit 10.100.4.0&lt;/P&gt;&lt;P&gt;permit 10.100.5.0&lt;/P&gt;&lt;P&gt;permit 10.100.6.0&lt;/P&gt;&lt;P&gt;deny any log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the kicker, I want to prevent traffic from the internal network from entering the 3560. In which direction should I apply the ACL, in or out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should it be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface vlan 60&lt;/P&gt;&lt;P&gt;ip access-group DENY_UNAUTH_USERS in (?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface vlan 60&lt;/P&gt;&lt;P&gt;ip access-group DENY_UNAUTH_USERS out (?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its tricky with vlans, its not like a physical interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that it should be in the out direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VL&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2019 05:52:33 GMT</pubDate>
    <dc:creator>lamav</dc:creator>
    <dc:date>2019-03-06T05:52:33Z</dc:date>
    <item>
      <title>Applying ACL for a VLAN</title>
      <link>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994763#M64215</link>
      <description>&lt;P&gt;I need someone to straighten me out on this...I always get confused.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Internet L3 switch (3560) that has an L3 vlan interface for devices that face the internal network (DMZ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to deny all traffic from the corporate network exceot for 3 subnets that the network engineers are on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, no biggie:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip access-list standard DENY_UNAUTH_USERS&lt;/P&gt;&lt;P&gt;remark deny all corporate traffic except for the 4, 5 and 6 subnets&lt;/P&gt;&lt;P&gt;permit 10.100.4.0&lt;/P&gt;&lt;P&gt;permit 10.100.5.0&lt;/P&gt;&lt;P&gt;permit 10.100.6.0&lt;/P&gt;&lt;P&gt;deny any log&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the kicker, I want to prevent traffic from the internal network from entering the 3560. In which direction should I apply the ACL, in or out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should it be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface vlan 60&lt;/P&gt;&lt;P&gt;ip access-group DENY_UNAUTH_USERS in (?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface vlan 60&lt;/P&gt;&lt;P&gt;ip access-group DENY_UNAUTH_USERS out (?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its tricky with vlans, its not like a physical interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that it should be in the out direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VL&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2019 05:52:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994763#M64215</guid>
      <dc:creator>lamav</dc:creator>
      <dc:date>2019-03-06T05:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Applying ACL for a VLAN</title>
      <link>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994764#M64216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;  If vlan 60 is the connecting link then it would be in the "in" direction . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 13:27:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994764#M64216</guid>
      <dc:creator>glen.grant</dc:creator>
      <dc:date>2008-03-20T13:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Applying ACL for a VLAN</title>
      <link>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994765#M64217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vlan 60 is the interface that faces the internal network. Its a DMZ interface...makes sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to block users from the internal network who sit "behind" that vlan 60 interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it would still be in the "in" direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[EDIT] The users I wantr o block do not sit on vlan 60. that sa DMZ vlan that connects the internal network to the internet router. The users are on the corporate vlan (21,22,etc)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Mar 2008 13:50:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994765#M64217</guid>
      <dc:creator>lamav</dc:creator>
      <dc:date>2008-03-20T13:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Applying ACL for a VLAN</title>
      <link>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994766#M64218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Think of like this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An access-list applied outbound to a vlan interface is traffic going TO machines on that vlan. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An access-list applied inbound to a vlan is traffic coming FROM machines on that vlan. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh yes, and no problem with the typo as i said in other post, we all do it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 09:13:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994766#M64218</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2008-03-23T09:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Applying ACL for a VLAN</title>
      <link>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994767#M64219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Oh yes, and no problem with the typo as i said in other post, we all do it :-)"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're a regular riot, Alice!! Think you're slick, huh? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, as for the vlan ACL (take a look at that drawing again), let's say the traffic originates on the core, gets forwarded "up" to the ASA, and then to the Internet router, the ACL that must be applied to the Internet router's vlan 60 interface inbound? That makes vlan 60 a sort of connecting vlan, then, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 17:09:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994767#M64219</guid>
      <dc:creator>lamav</dc:creator>
      <dc:date>2008-03-23T17:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Applying ACL for a VLAN</title>
      <link>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994768#M64220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Victor, couldn't resist &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct in what you say. Vlan 60 is there purely for connecting the ASA devices to the Internet routers. And yes the acl should be applied inbound on the vlan 60 interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again appreciate the ratings and would have answered the question anyway you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 22:40:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994768#M64220</guid>
      <dc:creator>Jon Marshall</dc:creator>
      <dc:date>2008-03-23T22:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Applying ACL for a VLAN</title>
      <link>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994769#M64221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jon:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again, you deserve the great ratings because your answers are full of excellent information and you stick with the person until the problem is solved. Thats a pretty awesome thing to do when you dont even know the person at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes, I know you would have answered my question no matter what....you werent the reason for....you know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Mar 2008 23:40:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/switching/applying-acl-for-a-vlan/m-p/994769#M64221</guid>
      <dc:creator>lamav</dc:creator>
      <dc:date>2008-03-23T23:40:13Z</dc:date>
    </item>
  </channel>
</rss>

