[c-nsp] vrf-lite OSPF to BGP multipath

Wayne Lee linkconnect at googlemail.com
Thu Mar 11 06:51:11 EST 2010


Hello

I'm having trouble getting multipath routes into BGP within a vrf-lite
setup, both routes are in OSPF but they are not announced/received by
the BGP. The network has a very simple shared internet gateway VRF.

I'm trying to get 2 paths to 10.11.4.0/24 into BGP




ip vrf INTERNET
rd 65400:10
route-target export 65400:10
route-target import 65400:10
route-target import 65400:19

ip vrf CUST1
rd 65400:19
route-target export 65400:19
route-target import 65400:19
route-target import 65400:10

OSPF

router ospf 10 vrf INTERNET
 log-adjacency-changes
 capability vrf-lite
 network 10.254.254.0 0.0.0.255 area 10

router ospf 19 vrf CUST1
 log-adjacency-changes
 capability vrf-lite
 network 10.11.0.0 0.0.255.255 area 19

BGP

 address-family ipv4 vrf CUST1
  redistribute static
  redistribute ospf 19 vrf CUST1
  maximum-paths eibgp 6
  no synchronization
 exit-address-family

 address-family ipv4 vrf INTERNET
  redistribute ospf 10 vrf INTERNET
  maximum-paths eibgp 6
  no synchronization
 exit-address-family

Routing

rtr1#sh ip route vrf CUST1 10.11.4.0
Routing entry for 10.11.4.0/24
  Known via "static", distance 1, metric 0
  Redistributing via ospf 19, bgp 65400
  Advertised by ospf 19 subnets
                bgp 65400
  Routing Descriptor Blocks:
  * 10.11.254.54
      Route metric is 0, traffic share count is 1
    10.11.254.50
      Route metric is 0, traffic share count is 1


rtr1K#sh ip route vrf INTERNET 10.11.4.0
Routing entry for 10.11.4.0/24
  Known via "bgp 65400", distance 20, metric 0, type external
  Last update from 10.11.254.54 20:02:35 ago
  Routing Descriptor Blocks:
  * 10.11.254.54 (CUST1), from 0.0.0.0, 20:02:35 ago
      Route metric is 0, traffic share count is 1
      AS Hops 0


Thanks for reading

Wayne


More information about the cisco-nsp mailing list