08-26-2015 03:20 AM - edited 03-08-2019 01:31 AM
Solved! Go to Solution.
08-26-2015 03:37 AM
I'm not sure where you're applying this, so I'm going to make the assumption that you're applying it in the correct direction and device since you said it blocked everything else. There is an implicit deny at the end of your acl whether you specify a deny line or not. Let's say that your address that you want to allow access from is 1.1.1.1 and your video conference equipment is 2.2.2.2. In order to allow only that address to communicate, but not block everything else, you would need to do something like:
access-list 100 permit ip host 1.1.1.1 host 2.2.2.2
access-list 100 deny ip any host 2.2.2.2
access-list 100 permit ip any any
The above would allow only the one address to 2.2.2.2, but it would deny everyone else to that host. Then all other traffic would be allowed.
HTH,
John
08-26-2015 03:37 AM
I'm not sure where you're applying this, so I'm going to make the assumption that you're applying it in the correct direction and device since you said it blocked everything else. There is an implicit deny at the end of your acl whether you specify a deny line or not. Let's say that your address that you want to allow access from is 1.1.1.1 and your video conference equipment is 2.2.2.2. In order to allow only that address to communicate, but not block everything else, you would need to do something like:
access-list 100 permit ip host 1.1.1.1 host 2.2.2.2
access-list 100 deny ip any host 2.2.2.2
access-list 100 permit ip any any
The above would allow only the one address to 2.2.2.2, but it would deny everyone else to that host. Then all other traffic would be allowed.
HTH,
John
08-26-2015 03:46 AM
Hi John,
Thank you for your reply.
What I understand from your acl that only host 1.1.1.1 can access 2.2.2.2 and nobody can access 2.2.2.2. Also rest of traffic coming to router is allowed for any other destination.
Am I right?
Shahzad
08-26-2015 04:14 AM
Shahzad,
You got it :)
John
08-26-2015 05:26 AM
Yep I was looking for this. Thank you
Shahzad Ayub
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