cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
372
Views
9
Helpful
3
Replies

Creating an ACL

hornbeck
Level 1
Level 1

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 3

pkhatri
Level 11
Level 11

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

attrgautam
Level 5
Level 5

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

Works great...thank you so much! Gary