From: Schulz, Dave (DSchulz@dpsciences.com)
Date: Sun Nov 05 2006 - 01:57:05 ART
Hey group -
I am having an issue getting the bgp inject-map to work as it should,
but maybe I am missing something. After reading the docCD on this
subject about 10 times (which is not very well written on this subject),
it is my understanding that this is meant to inject a more specific
route into bgp from the existence of a less specific route based on the
same prefix. Here is my configuration and results.....
R1 is receiving the route 54.0.0.0/8 from R2 (next hop is 172.16.1.2).
I am looking to inject a more specific route and this does not appear to
be working. Any help would be appreciated. Thanks!
!
router bgp 65012
no synchronization
bgp log-neighbor-changes
bgp confederation identifier 100
bgp confederation peers 65003
bgp inject-map INJ exist-map EX
neighbor 172.16.1.2 remote-as 65012
neighbor 172.16.1.3 remote-as 65003
neighbor 172.16.14.4 remote-as 400
no auto-summary
!
!
ip prefix-list EX seq 5 permit 172.16.1.2/32
!
ip prefix-list EX1 seq 5 permit 54.0.0.0/8
!
ip prefix-list INJ seq 5 permit 54.0.0.0/15
!
route-map EX permit 10
match ip address prefix-list EX1
match ip route-source prefix-list EX
!
route-map INJ permit 10
match ip address prefix-list INJ
!
!
R1(config)#end
R1#
*Mar 21 23:15:34.163: %SYS-5-CONFIG_I: Configured from console by
consolesh ip rou
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS
level-2
ia - IS-IS inter area, * - candidate default, U - per-user static
route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
54.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D 54.8.8.0/24 [90/2297856] via 172.16.1.2, 00:40:53, Serial0/0.123
B 54.0.0.0/8 [200/0] via 172.16.1.2, 00:15:53
172.16.0.0/24 is subnetted, 2 subnets
C 172.16.14.0 is directly connected, Serial0/0.1
C 172.16.1.0 is directly connected, Serial0/0.123
25.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
D 25.5.5.0/24 [90/46738176] via 172.16.1.2, 1d00h, Serial0/0.123
D 25.5.5.5/32 [90/46738176] via 172.16.1.2, 1d00h, Serial0/0.123
R1#
R1#
R1#sh ip bgp
BGP table version is 10, local router ID is 172.16.14.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
*>i54.0.0.0 172.16.1.2 0 100 0 54 i
R1#
Dave Schulz,
Email: dschulz@dpsciences.com <mailto:dschulz@dpsciences.com >
This archive was generated by hypermail 2.1.4 : Fri Dec 01 2006 - 08:05:45 ART