cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
344
Views
0
Helpful
1
Replies

Eigrp Redistribution to BGP

Dallas Brown
Level 1
Level 1

Hello,

 

I have an issue with redistributing eigrp into bgp. I have a router dual connected to other routers, lets call it a routerleaker. Its sole purpose is to leak routes between vrf's. It is is peered eigrp with the vrf routers and has an instance of bgp running on it to do the route leaking. I am find that when the routerleaker router has more than one equal cost route from the upstream routers as show below the redistribution breaks and bgp shows the eigrp routes as learned from default route(which does not exist, there are no default routes anywhere). If I shut one of the links to the upstream routers leaving only one usable eigrp route to redistribute, all is well.

routeleaker#show ip route vrf vrf120

D        10.120.0.0/18
           [90/25600] via 172.20.1.81, 00:32:17, GigabitEthernet0/1.120       
           [90/25600] via 172.20.1.77, 00:32:17, GigabitEthernet0/2.120
D        10.120.120.0/21
           [90/25600] via 172.20.1.81, 00:32:17, GigabitEthernet0/1.120
           [90/25600] via 172.20.1.77, 00:32:17, GigabitEthernet0/2.120

 

routeleaker#show ip route vrf SHARED

B        10.120.0.0/18
           [20/25600] via 0.0.0.0, 00:00:55, GigabitEthernet0/1.120
B        10.120.120.0/21
           [20/25600] via 0.0.0.0, 00:00:55, GigabitEthernet0/1.120

 

routeleaker#show ip bgp vpnv4 vrf vrf120 10.120.0.0
BGP routing table entry for 65535:120:10.120.0.0/18, version 1048
Paths: (1 available, best #1, table vrf120)
  Not advertised to any peer
  Refresh Epoch 1
  Local
    0.0.0.0 (via default) from 0.0.0.0 (1.1.1.1)
      Origin incomplete, metric 25600, localpref 100, weight 32768, valid, sourced, best
      Extended Community: RT:65535:120 Cost:pre-bestpath:128:25600
        0x8800:32768:0 0x8801:120:1024 0x8802:65283:2560 0x8803:65281:1500
        0x8806:0:0
      rx pathid: 0, tx pathid: 0x0

 

Here is when I shut one link, all is well

routeleaker#show ip route vrf vrf120

D        10.120.0.0/18
           [90/25600] via 172.20.1.77, 00:00:16, GigabitEthernet0/2.120
D        10.120.120.0/21
           [90/25600] via 172.20.1.77, 00:00:16, GigabitEthernet0/2.120

routeleaker#show ip route vrf SHARED

B        10.120.0.0/18
           [20/25600] via 172.20.1.77 (vrf120), 00:00:46, GigabitEthernet0/2.120
B        10.120.120.0/21
           [20/25600] via 172.20.1.77 (vrf120), 00:00:46, GigabitEthernet0/2.120

 

routeleaker#show ip bgp vpnv4 vrf vrf120 10.120.0.0
BGP routing table entry for 65535:120:10.120.0.0/18, version 1115
Paths: (1 available, best #1, table vrf120)
  Not advertised to any peer
  Refresh Epoch 1
  Local
    172.20.1.77 (via vrf vrf120) from 0.0.0.0 (1.1.1.1)
      Origin incomplete, metric 25600, localpref 100, weight 32768, valid, sourced, best
      Extended Community: RT:65535:120 Cost:pre-bestpath:128:25600
        0x8800:32768:0 0x8801:120:1024 0x8802:65283:2560 0x8803:65281:1500
        0x8806:0:0
      rx pathid: 0, tx pathid: 0x0

 

vrf config

ip vrf SHARED
 rd 65535:1
 route-target export 65535:1
 route-target import 65535:120
 route-target import 65535:121
!
ip vrf vrf120
 rd 65535:120
 route-target export 65535:120
 route-target import 65535:1

 

bgp config

router bgp 65535
 bgp router-id 1.1.1.1
 bgp log-neighbor-changes
 !
 address-family ipv4 vrf SHARED
  redistribute connected
  redistribute static
 exit-address-family
 !
 address-family ipv4 vrf vrf120
  redistribute connected
  redistribute eigrp 120
 exit-address-family

 

1 Reply 1

Amit Goyal
Level 1
Level 1

Hi Dallas,

On which device/IOS you are seeing this behavior. You can check one bug on below link which talks about ASR with 3.11

https://tools.cisco.com/bugsearch/bug/CSCum41167

HTH

-Amit

 

Review Cisco Networking for a $25 gift card