BGP route injection

From: Jacek <q.192.168.1.0_at_gmail.com>
Date: Tue, 19 Apr 2011 17:09:09 -0400

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 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
Received on Tue Apr 19 2011 - 17:09:09 ART

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