11-07-2021 05:40 PM
VACL design question Vlan Access map
I have a primary switch connected with 2 secondary switches. They contain vlans 10,20,30,40,50, and 60. I need vlan 10 to be able to communicate with all the other vlans. I need vlan 20 to be able to communicate with vlans 30 and 40. Vlans 30,40,50, and 60 should not be able to communicate with other vlans. My understanding is I need to create access control lists and use VACL access-mapping to apply them. Am I mistaken? When I try to define the access map I get an invalid input error:
SW1(config)#ip access-list extended ALLOW_ALL
SW1(config-ext-nacl)#permit ip any any
SW1(config-ext-nacl)#vlan access-map VACL_10
^
% Invalid input detected at '^' marker.
SW1(config-ext-nacl)#
what am I doing wrong?
thanks!
11-08-2021 12:09 AM
Hello,
it looks like you are in the wrong mode:
SW1(config-ext-nacl)#vlan access-map VACL_10
You need to be in global config mode:
SW1(config)#vlan access-map VACL_10
11-08-2021 08:01 AM - edited 11-08-2021 08:02 AM
I changed the mode, now I'm getting an invalid input error with the carrot
under the 'a' in access-map.
SW1>en
SW1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW1(config)#vlan access-map VACL_ALLOW
^
% Invalid input detected at '^' marker.
SW1(config)#
any thoughts?
thanks!
11-08-2021 08:23 AM
Hello,
what are your options after 'vlan':
SW1(config)#vlan ?
Which switch model and IOS version do you have ? Post the output of:
sh ver
11-08-2021 08:36 AM
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