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

IOS-XR: Default static route is not advertised to MP-IBGP

amonge123
Level 1
Level 1

Hello,


I have the following configuration on IOS-XRv 5.2.0:

 

vrf VRF-C
 address-family ipv4 unicast
  import route-target
   65000:1003
  !
  export route-target
   65000:1003
  !
 !
!

router static
 vrf VRF-C
  address-family ipv4 unicast
   0.0.0.0/0 Null0
   172.0.0.0/8 Null0
  !
 !

router bgp 65001
 neighbor 172.16.10.11
  remote-as 65001
  update-source Loopback0
  address-family vpnv4 unicast
   soft-reconfiguration inbound always
  !
 !

  vrf VRF-C
  rd 172.16.10.102:103
  address-family ipv4 unicast
   redistribute connected
   redistribute static
  !
 !
!

===================================

Both static routes are installed in the VRF:

RP/0/0/CPU0:03-ASBR2#show route vrf VRF-C static
 

S*   0.0.0.0/0 is directly connected, 00:05:32, Null0
S    172.0.0.0/8 is directly connected, 00:06:00, Null0

 

But only the specific one is advertised via MP-IBGP:

RP/0/0/CPU0:03-ASBR2#show bgp vpnv4 unicast rd 172.16.10.102:103 advertised neighbor 172.16.10.11 summary
Network            Next Hop        From            AS Path
Route Distinguisher: 172.16.10.102:103
172.0.0.0/8        172.16.10.102   Local           ?

Processed 1 prefixes, 1 paths

===================================

The question is: why is the default 0/0 route not advertised, and how can I configure the box so that it's advertised?

Thanks,

Ato

 

 

1 Reply 1

amonge123
Level 1
Level 1

This config did the trick:

router bgp 65001

vrf VRF-C

address-family ipv4 unicast

network 0.0.0.0/0

 

However, this other config did not do the trick:

allow vpn default-originate

 

Comments welcome.