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

Creating an ACL

Hello,

I keep trying and failing, can someone provide me with the correct syntax to create an access control list on a 2600 router to allow only 192.195.41.0 255.255.255.0 to pass thru? TIA,Gary

3 REPLIES
Purple

Re: Creating an ACL

Hi Gary,

'access-list 1 permit 192.195.41.0 0.0.0.255' will permit source addresses from the 192.195.41.0/24 to pass through and reject anything else.

Apply this ACL in an inbound direction on the interface through which the traffic is expected to enter.

Hope that helps - pls rate the post if it does.

Paresh

Silver

Re: Creating an ACL

If 192.195.41.0/24 is the source then you can have an std ACL

access-list 1 permit 192.195.41.0 0.0.0.255

and on the egress i/f you can apply

access-list 1 out

If it is the Destination IP then

access-list 100 permit ip any 192.195.41.0 0.0.0.255

and on the egress i/f you can apply

access-list 100 out

HTH

Community Member

Re: Creating an ACL

Works great...thank you so much! Gary

96
Views
9
Helpful
3
Replies
CreatePlease to create content