Re: bgp inject-map - Route not injected

From: Derek Pocoroba (dpocoroba@gmail.com)
Date: Thu Aug 30 2007 - 16:41:04 ART


With BGP route injection you also need to match the Router ID of the BGP
speaking router.

ex:
router bgp 100
bgp inject-map ORIGINATE exist-map WATCH
!
ip prefix-list ROUTE_SOURCE seq 5 permit 150.1.3.3/32
!
ip prefix-list ROUTE_TO_ORIG seq 5 permit 150.1.7.0/24
!
ip prefix-list ROUTE_TO_WATCH seq 5 permit 150.1.0.0/20
!
route-map ORIGINATE permit 10
 set ip address prefix-list ROUTE_TO_ORIG
!
route-map WATCH permit 10
 match ip address prefix-list ROUTE_TO_WATCH
 match ip route-source ROUTE_SOURCE

HTH

-- 
Derek Pocoroba
CCIE #18559

On 8/30/07, ISolveSystems <support@isolvesystems.com> wrote: > > R6(as100) is connected to BB1(as54), BB3(AS54), and R3(AS100) > > "bgp inject-map SW1_LOOPBACK exist-map SW1_SW2_LOOPBACK" is issued on R6 > > Any idea why 150.1.7.0 is not injected? > > Below is R6 config. > > > Rack1R6(config-router)#do sh run | sec bgp > router bgp 100 > no synchronization > bgp log-neighbor-changes > bgp inject-map SW1_LOOPBACK exist-map SW1_SW2_LOOPBACK > neighbor 54.1.1.254 remote-as 54 > neighbor 54.1.1.254 remove-private-as > neighbor 150.1.3.3 remote-as 100 > neighbor 150.1.3.3 update-source Loopback0 > neighbor 150.1.3.3 next-hop-self > neighbor 204.12.1.254 remote-as 54 > neighbor 204.12.1.254 remove-private-as > neighbor 204.12.1.254 route-map TO_BB3 out > no auto-summary > > ip prefix-list SW1_LOOPBACK seq 5 permit 150.1.7.0/24 > ip prefix-list SW1_SW2_LOOPBACK seq 5 permit 150.1.0.0/20 > > route-map SW1_SW2_LOOPBACK permit 10 > match ip address prefix-list SW1_SW2_LOOPBACK > > route-map SW1_LOOPBACK permit 10 > set ip address prefix-list SW1_LOOPBACK > > > Rack1R6(config-route-map)#do sh ip bgp route-ma SW1_SW2_LOOPBACK > BGP table version is 47, 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 > *>i150.1.0.0/20 167.1.58.8 0 100 0 65078 i > > _______________________________________________________________________ > Subscription information may be found at: > http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sat Sep 01 2007 - 11:32:13 ART