03-01-2006 04:34 PM - edited 02-20-2020 09:36 PM
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
03-01-2006 08:30 PM
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
03-02-2006 04:03 AM
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
03-02-2006 10:39 AM
Works great...thank you so much! Gary
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