cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
961
Views
1
Helpful
6
Replies

ACL in Single line

Rupesh Kashyap
Level 1
Level 1

Hi, I have to allow tcp 45.194.169.115 , 61.202.173.243, 14.234.41.250 to any eq 443. But I have use ACL in Single line only. Please help what should be ACL...

6 Replies 6

Rupesh,

I can't do that in a single line. I can do with a single ACL configured with 3 ACEs.

!

ip access-l ex TEST

permit tcp host 45.194.169.115 any eq 443

permit tcp host 61.202.173.243 any eq 443

permit tcp host 14.234.41.250 any eq 443

!

HTH,

Toshi

rpfinneran
Level 1
Level 1

This cannot be accomplished in one line. As noted above, you must use 3 lines if you only want to allow the specified hosts.

Leo Laohoo
Hall of Fame
Hall of Fame

As what the others have posted, you can't put different hosts in ONE ACL statement.

You can, on the other hand, put in one statement a group of ports in an extended access list.

Hi, I heard this may be like--

14.194.41.114 20.40.132.137 (E.g Network ID and Wild Card). Any idea?//

jennyjohn
Level 1
Level 1

I believe it is

permit tcp 12.194.41.114 49.40.132.137 any eq 443

& permit tcp 12.194.41.114 206.215.123.118 any eq 443    on an ASA

Very intresting question, have to go down to binary level to do this

mlund
Level 7
Level 7

Hi

You can do it in one line as jennyjohn has wrote it.
But I think jennyjohn missed one bit, it should be
permit tcp 12.194.41.114 51.40.132.137 any eq 443  on an ios router

or
permit tcp 12.194.41.114 204.215.123.118 any eq 443    on an ASA

/Mikael

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card