02-27-2018 10:12 AM - edited 03-08-2019 02:03 PM
Hi everybody,
I am going to configure VLAN filter on Cisco 4506 switch. My configuration is below:
ip access-list extended vlan500
10 permit ip 192.168.1.0 0.0.0.255 10.0.0.0 0.255.255.255
20 permit ip 192.168.1.0 0.0.0.255 192.168.9.0 0.0.0.255
30 permit ip 192.168.1.0 0.0.0.255 172.10.1.0 0.0.15.255
40 permit ip 192.168.1.0 0.0.0.255 192.168.30.0 0.0.0.255
50 permit ip 192.168.1.0 0.0.0.255 192.168.40.0 0.0.0.255
60 permit ip 192.168.1.0 0.0.0.255 192.168.42.0 0.0.0.255
exit
!
ip access-list extended vlan500-1
Permit ip any any
!
vlan access-map vacl-500
action drop
match ip address vlan500
!
vlan access-map vacl-500
action forward
match ip address vlan500-1
exit
!
vlan filter vacl-500 vlan-list 500
is it correct?
I have read some articles as http://blog.ine.com/2009/08/10/vlan-access-control-lists-vacls-tiers-1/
If I am not assigning an ACL under the access-map with action forward. It is giving an error "Error% access-map vacl-500 20 is removed because match ACL is missing". and without the forward action, it will not allow accessing the internet also.
So I wrote a new ACL "vlan500-1" with IP permit any any, Is it ok? and it will serve my requirements.
Regards,
Deepak Kumar
Solved! Go to Solution.
02-27-2018 09:32 PM - edited 02-27-2018 11:35 PM
Hi,
It is tested in the lab and in production also and it is working fine without any issues. As I know that Cisco is checking the top to down (ACL or access-map) so the first access-map test 10 (ACL - vlan500) is blocked and the second access-map test 20 (ACL - vlan500-1) is allowed.
Thanks,
Deepak Kumar
02-27-2018 09:32 PM - edited 02-27-2018 11:35 PM
Hi,
It is tested in the lab and in production also and it is working fine without any issues. As I know that Cisco is checking the top to down (ACL or access-map) so the first access-map test 10 (ACL - vlan500) is blocked and the second access-map test 20 (ACL - vlan500-1) is allowed.
Thanks,
Deepak Kumar
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide