[c-nsp] BGP Config

Jay Ford jay-ford at uiowa.edu
Fri Aug 13 11:16:33 EDT 2004


On Fri, 13 Aug 2004 info at beprojects.com wrote:

> OK, I'm having a brain freeze at the moment and can't figure out why this
> won't work.  I want to filter all incoming routes from a bgp neighbor and I
> swear I've used this in the past.  Does this look right, or am I missing
> something (I cut out all of the non-useful info).
>
>
> router bgp 1234
>   neighbor 1.1.1.1 route-map DenyAll in
>
> ip access-list extended DENYALL
>  deny   ip any any
>
> route-map DenyAll permit 10
>  match ip address DENYALL
>
> I apply this, then I clear the routes and they all show up again.  I also
> tried using a numbered acl instead of a named acl and the same result.
> Thanks in advance.

You created a route-map which matches no routes & does nothing anyway.

You probably want "neighbor 1.1.1.1 distribute-list DENYALL in" instead of
the route-map.

________________________________________________________________________
Jay Ford, Network Engineering Group, Information Technology Services
University of Iowa, Iowa City, IA 52242
email: jay-ford at uiowa.edu, phone: 319-335-5555, fax: 319-335-2951


More information about the cisco-nsp mailing list