RE: Need help wtih BGP Inject

From: Joseph L. Brunner <joe_at_affirmedsystems.com>
Date: Sat, 17 Jul 2010 21:29:20 -0400

>When I do a 'show ip bgp-inject' I don't get anything.
>What's wrong and why?

Huh, is your route in the routing table?

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of Brad Edgeworth
Sent: Saturday, July 17, 2010 9:19 PM
To: Cisco certification
Subject: Need help wtih BGP Inject

I need some help with the rules on BGP Injectection, and cannot find a magic
recipe for getting it to work. From what I've read from the DocCD it's
similar to an unsupress-map; but can be done on the non-aggregating
router....

Looking at the example which is only running BGP, what's wrong:

*R1:*
int fa0/0
ip address 1.1.1.1 255.255.255.0

int fa0/1
ip address 12.12.12.1 255.255.255.0

int lo101
ip add 172.16.1.0 255.255.255.0

int lo102
ip add 172.16.2.0 255.255.255.0

int lo103
ip add 172.16.3.0 255.255.255.0

router bgp 1
neighbor 12.12.12.2 remote-as 2
network 1.1.1.0 mask 255.255.255.0
network 12.12.12.0 mask 255.255.255.0
network 172.16.1.0 mask 255.255.255.0
network 172.16.2.0 mask 255.255.255.0
network 172.16.4.0 mask 255.255.255.0
aggregate-address 172.16.0.0 255.255.0.0 summary-only

*R2:*
 int fa0/0
ip address 12.12.12.2 255.255.255.0

int fa0/1
ip address 23.23.23.3 255.255.255.0

router bgp 2
neighbor 12.12.12.1 remote-as 1
neighbor 23.23.23.3 remote-as 3
network 12.12.12.0 mask 255.255.255.0
network 23.23.23.0 mask 255.255.255.0
bgp inject-map INJ exist-map AGGMAP

route-map AGGMAP permit 10
 match ip address prefix-list AGG

route-map INJ permit 10
 set ip address prefix-list INJ
 set origin igp
ip prefix-list AGG seq 5 permit 172.16.0.0/16
ip prefix-list INJ seq 5 permit 172.16.1.128/25

 *R3:*
 int fa0/0
ip address 23.23.23.3 255.255.255.0

int fa0/1
ip address 3.3.3.3 255.255.255.0

router bgp 3
neighbor 23.23.23.2 remote-as 2
network 3.3.3.0 mask 255.255.255.0
network 23.23.23.0 mask 255.255.255.0

So I know the route I'm injecting doesn't exist on R1; but no IGP is
running. When I do a 'show ip bgp-inject' I don't get anything.
What's wrong and why? Thanks

Blogs and organic groups at http://www.ccie.net
Received on Sat Jul 17 2010 - 21:29:20 ART

This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 19:19:15 ART