Re: BGP route injection

From: Jacek <q.192.168.1.0_at_gmail.com>
Date: Tue, 19 Apr 2011 23:10:00 -0400

Thanks for your answer but this will not work. R4 does not receive
1.1.3.0/24 from R3 and route map will not match anything. R3 only sends
aggregate route /22 to R4. I have tested this.

On Tue, Apr 19, 2011 at 5:51 PM, Steve Di Bias <sdibias_at_gmail.com> wrote:

> With a route-map on the neighbor statement??
>
> router bgp 400
> neighbor 10.1.34.3 remote-as 300
> neighbor 10.1.34.3 route-map SET-LOCAL-PREF in
>
> route-map SET-LOCAL-PREF permit 10
> match ip address 1
> set local-preference 300
>
> access-list 1 permit 1.1.3.0 0.0.0.255
>
>
> On Tue, Apr 19, 2011 at 2:09 PM, Jacek <q.192.168.1.0_at_gmail.com> wrote:
>
>> Hello Experts,
>>
>> I have a question regarding conditional route injection in BGP. Is it
>> possible to set attributes on an injected route ? Here is scenario:
>>
>> R1(AS100)---R2(AS200)---R3(AS300)---R4(AS400)
>>
>> R1 advertises four routes: 1.1.0.0/24, 1.1.1.0/24, 1.1.2.0/24 and
>> 1.1.3.0/24
>> R3 <http://1.1.3.0/24R3> aggregates those routes as 1.1.0.0/22
>> R4 injects specific route with command:
>> # bgp inject-map INJECT exist-map EXIST
>>
>> As a result R4 sees aggregated route and more specific route:
>> Network Next Hop Metric LocPrf Weight Path
>> *> 1.1.0.0/22 10.1.34.3 0 300 200 100
>> i
>> *> 1.1.3.0/24 10.1.34.3 0 ?
>>
>> How can I set attributes on R4 on specific /24 route, like local
>> preference,
>> and how ?
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> -Steve Di Bias

Blogs and organic groups at http://www.ccie.net
Received on Tue Apr 19 2011 - 23:10:00 ART

This archive was generated by hypermail 2.2.0 : Sun May 01 2011 - 09:00:29 ART