RE: BGP Inject Map issue

From: Schulz, Dave (DSchulz@dpsciences.com)
Date: Sun Apr 23 2006 - 10:45:17 GMT-3


Reinhold and Anis -

Thanks! That was the key...the "set" on the inject route-map. I can't
believe I missed that...trying to match something that wasn't there (;-)). I
tested this within the address family and without, and both work great.
Thanks everyone. The lesson here is .... be careful with the details.

Dave

Here is the correction:

!
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 bgp inject-map INJECT exist-map EXIST copy-attributes
 neighbor 192.168.1.2 remote-as 100
 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
 set ip address prefix-list INJECT
!
route-map EXIST permit 10
 match ip address prefix-list EXIST
 match ip route-source SOURCE
!

R1(config-router)#do sh ip bgp
BGP table version is 4, local router ID is 12.230.2.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
r>i12.230.2.0/24 192.168.1.2 0 100 0 i
R1(config-router)#

________________________________

From: Reinhold Fischer [mailto:Reinhold.Fischer@gmx.net]
Sent: Sun 4/23/2006 4:44 AM
To: Schulz, Dave
Cc: ccielab@groupstudy.com
Subject: Re: BGP Inject Map issue

Hello Dave,

the route-map INJECT should look like this:

route-map INJECT permit 10
  set ip address prefix-list INJECT

except this, the config looks ok to me.

For troubleshooting: debug ip bgp
                     show ip bgp injected-paths

regards

reinhold

On Sat, Apr 22, 2006 at 11:40:46PM -0400, Schulz, Dave 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



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