Re: BGP Inject Map issue

From: xprtofnet (xprtofnet@yahoo.com)
Date: Sun Apr 23 2006 - 14:16:45 GMT-3


works for me in the following e.g.

try set ip address instead of match

AS AS
65001---aggregate------>100(r6)

 200.1.1.1
 200.1.2.2

aggregate
200.1.0.0/16-------> show ip bgp >> 200.1.0.0/16

                       afterINJECT map >> 200.1.0.0/16
                                        
200.1.99.99/32

R6#ipb
BGP table version is 12, local router ID is 150.1.6.6
Status codes: s suppressed, d damped, h history, *
valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
 
     Network Next Hop Metric
LocPrf Weight Path
*> 200.1.0.0/16 54.1.1.254 0
       0 65001 i
*> 200.1.99.99/32 54.1.1.254
        0 ?
R6#
                                                        
!
router bgp 100
 bgp inject-map inject exist-map check
 neighbor 54.1.1.254 remote-as 65001 <------- works
with PUBLIC ASes as well !!
!
!
route-map inject permit 10
 set ip address prefix-list one
!
route-map check permit 10
 match ip address prefix-list checkthis
 match ip route-source 1 <------ REQUIRED !!
!

ip prefix-list one seq 5 permit 200.1.99.99/32

ip prefix-list one seq 10 permit 200.200.200.200/32
<--- this is not a aggregate component
     so it does not get installed in iBGP table

access-list 1 permit 54.1.1.254

m2c

--- "Schulz, Dave" <DSchulz@dpsciences.com> wrote:

> Here is an issue with the inject map that have not
> been able to solve. There
> is a summary route that is coming from a neighbor in
> the same AS
> (192.168.1.2). I am trying to inject a more
> specific route into the bgp
> process, as I understand the purpose of the inject
> from the docCD.
> Unfortunately, the more specific route is not being
> injected. Thoughts?
>
> !
> router bgp 100
> no synchronization
> bgp log-neighbor-changes
> bgp inject-map INJECT exist-map EXIST
> neighbor 192.168.1.2 remote-as 100
> neighbor 192.168.1.2 route-reflector-client
> neighbor 192.168.1.3 remote-as 100
> no auto-summary
> !
> !
> ip prefix-list EXIST seq 5 permit 12.230.0.0/20
> !
> ip prefix-list INJECT seq 5 permit 12.230.2.0/24
> !
> ip prefix-list SOURCE seq 5 permit 192.168.1.2/32
> !
> route-map INJECT permit 10
> match ip address prefix-list INJECT
> !
> route-map EXIST permit 10
> match ip address prefix-list EXIST
> match ip route-source SOURCE
> !
> !
>
> R1#sh ip bgp
> BGP table version is 43, local router ID is 10.1.1.1
> Status codes: s suppressed, d damped, h history, *
> valid, > best, i -
> internal,
> r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
> Network Next Hop Metric
> LocPrf Weight Path
> *>i12.230.0.0/20 192.168.1.2 0
> 100 0 i
> R1#
>
>
> Dave
>
>



This archive was generated by hypermail 2.1.4 : Mon May 01 2006 - 11:41:59 GMT-3