Answer the question
In order to leave comments, you need to log in
How to configure ACL between VLAN cisco 3750?
Dear, good evening!
For several days I have been struggling with the issue of ACL between Vlan on cisco 3750 equipment. There are 2 vlan, vlan = 10.0.1.0/24 and vlan2 = 10.0.2.0/24, routing is configured between them and traffic goes in both directions. There was a need to prohibit traffic from going from vlan2 to vlan, but access from vlan to vlan 2 should remain the same, i.e. complete. I know that this is somehow prohibited and allowed at the ACL level, but I can’t set it up in any way, basically the traffic disappears altogether. There is a lot of useful information on the Internet, but at the level of routers, but there is nothing special about switches. Could you tell me on which interface you need to hang up the ACL and how it will look like? Thank you very much in advance!
Answer the question
In order to leave comments, you need to log in
There was a need to prohibit traffic from going from vlan2 to vlan, but access from vlan to vlan 2 should remain the same, i.e. complete.It must be understood that the ACL in this case (Catalyst 3750) is a stateless packet filter. Accordingly, it can only allow/prohibit forwarding packets from one interface to another. If you are sure that this is what you need, and if 3750 is doing the routing, then you should:
ip access-list extended deny_vlan2_to_vlanX
deny ip 10.0.2.0 0.0.0.255 10.0.1.0 0.0.0.255
permit ip any any
2) hang ACL:interface vlanX
ip access-group deny_vlan2_to_vlanX out
I know that this is somehow prohibited and allowed at the ACL level, but I can’t set it up in any way, basically the traffic disappears altogether.It must be understood that if "access" from vlan X to vlan 2 implies any two-way protocol (that is, almost any), then there will be no "access" from vlan X to vlan 2.
ip access-list extended deny_vlan2_to_vlanX_variant2
permit tcp 10.0.2.0 0.0.0.255 10.0.1.0 0.0.0.255 established
deny ip 10.0.2.0 0.0.0.255 10.0.1.0 0.0.0.255
permit ip any any
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question