RE: BGP inbound route-map

From: Brian McGahan (brian@cyscoexpert.com)
Date: Fri Oct 18 2002 - 10:25:08 GMT-3


Nate,

        Could you clarify your question some more? If you are asking if
you can filter prefixes based on address in an inbound route-map, then
yes you can. You can not match on address directly, but must instead
must match an access-list or prefix-list.

        The following syntax accepts only the prefix 1.2.3.0/24 from the
BGP neighbor 10.20.30.40.

Ip prefix-list X permit 1.2.3.0/24
!
route-map Y permit 10
 match ip address prefix-list X
!
router bgp 10
 neighbor 10.20.30.40 route-map Y in

Is this what you are asking?

HTH

Brian McGahan, CCIE #8593
Director of Design and Implementation
brian@cyscoexpert.com

CyscoExpert Corporation
Internetwork Consulting & Training
Voice: 847.674.3392
Fax: 847.674.2625

> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf
Of
> Erling Bjxntegerd (Privat)
> Sent: Friday, October 18, 2002 4:34 AM
> To: Nathan Chessin
> Cc: ccielab@groupstudy.com
> Subject: Re: BGP inbound route-map
>
> Hi,
> look at following link
>
http://www.cisco.com/univercd/cc/td/doc/cisintwk/ics/icsbgp4.htm#xtocid2
04
> 3934
> where it is stated:
>
> Route Map Filtering
> The neighbor route-map router configuration command can be used to
apply a
> route map to incoming and outgoing routes.
>
------------------------------------------------------------------------

--
> ------
> Note The neighbor route-map command has no effect on incoming updates
when
> matching is based on IP address.
>
------------------------------------------------------------------------
--
> ------
> 
> You can find the document on the UniverCD at 'Internetworking Case
> Studies' and then 'Using the Border Gateway Protocol for Interdomain
> Routing'.
> 
> Regards
> Erling Bjontegard
> 
> ----- Original Message -----
> From: "Nathan Chessin" <nchessin@cisco.com>
> To: <ccielab@groupstudy.com>
> Sent: Friday, October 18, 2002 7:09 AM
> Subject: BGP inbound route-map
> 
> 
> > Hi all,
> >
> > Is it still true that you can not filter inbound BGP updates with a
> > route-maps that matches on ip address in the BGP neighbor command?
> >
> >
> > Nate


This archive was generated by hypermail 2.1.4 : Tue Nov 05 2002 - 08:35:50 GMT-3