01-20-2008 01:39 AM - edited 03-05-2019 08:35 PM
Hi all,
odd question....
I cannot use prefix list and i have to filter all except default route....but i can use just deny statement by now :(. otherwise will be simple :)
can i make and access-list for achieving that aim?
acl like: <IP><wildcard><subnet><wildcard>
THK anyway
Dany
01-20-2008 02:38 AM
Hi Danilo,
The acl will be like this:
access-list 1 permit 0.0.0.0 0.0.0.0
If you apply this acl into a distribute list, it will permit the default route, but deny anything else (implicit "deny any" at the end)
Cheers: Istvan
01-20-2008 02:44 AM
THK a lot....i have no deny any any at end of ACL that i have to make...i know seems stupid but it's my situation :(
Dan
01-20-2008 05:59 AM
Hi Dan
Although you did not type "access-list 1 deny any any" it is there by default. It is "implicit". All access lists end with a deny any any at the end.
So by implementing the access list shown by the previous poster, you are only allowing the default route, all other routes are automatically blocked by the implicit deny any any that is automatically placed at the end of the access list.
Best Regards,
Michael
01-20-2008 11:15 AM
hi all,
i know, all of you are right...it's a logical question.....
i was not clear i know :)
i would just know if it is possible or not.
thk all
Dani
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