Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ACL in Single line

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

Re: ACL in Single line

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

New Member

Re: ACL in Single line

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

Hall of Fame Super Gold

Re: ACL in Single line

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.

New Member

Re: ACL in Single line

Hi, I heard this may be like--

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

New Member

Re: ACL in Single line

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

Silver

Re: ACL in Single line

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

384
Views
1
Helpful
6
Replies