cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1089
Views
5
Helpful
4
Replies

allow an IP in VACL

night-fury
Level 1
Level 1

Hi,

 

I have a VACL configured as below:

 

access-list 100 permit ip 172.16.1.0 0.0.0.127 host 172.16.0.52

vlan access-map ABC 10
 match ip address 100
 action drop
vlan access-map ABC 20
 action forward

vlan filter cls vlan-list 1

 

Now this VACL blocks ips 172.16.1.0 - 172.16.1.127. I want to allow one of the IPs say 172.16.1.16 - this IP should be able to connect to 172.16.0.52

 

Can this be achieved? i am unable to figure out a way.

1 Accepted Solution

Accepted Solutions

Francesco Molino
VIP Alumni
VIP Alumni
Hi,

You need to modify your acl to deny the host you want to allow:

access-list 100 deny ip host 172.16.1.16 host 172.16.0.52
access-list 100 permit ip 172.16.1.0 0.0.0.127 host 172.16.0.52


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

4 Replies 4

Francesco Molino
VIP Alumni
VIP Alumni
Hi,

You need to modify your acl to deny the host you want to allow:

access-list 100 deny ip host 172.16.1.16 host 172.16.0.52
access-list 100 permit ip 172.16.1.0 0.0.0.127 host 172.16.0.52


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

thank you. this worked seamlessly with my already existing ACL !!

You're welcome!

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Hello

Try:


access-list 101 permit host 172.16.1.16 host 172.16.0.52
vlan access-map ABC 5
match ip address 101
action forward


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card