Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Does a route-policy override BGP split-horizon rule in IOS-XR?

If I receive a default route from a non-client, can I turn around and send it to another non client if I have the following applied to the non-client?

prefix-set send-default
  0.0.0.0/0
end-set
!
route-policy DEFAULT-POLICY
  if destination in send-default then
    pass
  else
    drop
  endif
end-policy

!

 neighbor-group BLAH
  remote-as XXXXX
  password encrypted XXXXXXX
  description iBGP to Decryptors
  update-source Loopback0
  address-family ipv4 unicast
   route-policy DEFAULT-POLICY out
   soft-reconfiguration inbound always
  !
 !
 neighbor X.X.X.X
  use neighbor-group BLAH
!

end

 

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Hi Carlopez,For BGP to inject

Hi Carlopez,

For BGP to inject a default rotue you need the "default-information originate" command, unfortunately, you can't redistribute or regenerate a route via the RPL method you described.

regards

xander

Xander Thuijs CCIE #6775 Principal Engineer ASR9000, CRS, NCS6000 & IOS-XR
3 REPLIES
New Member

I tested this in our lab and

I tested this in our lab and got it to work by adding "default-originate" under the address family. This would not work with out the above command entered. Which is what we expect due to the bgp rr non-client-to-non-clinet rule.
Cisco Employee

Hi Carlopez,For BGP to inject

Hi Carlopez,

For BGP to inject a default rotue you need the "default-information originate" command, unfortunately, you can't redistribute or regenerate a route via the RPL method you described.

regards

xander

Xander Thuijs CCIE #6775 Principal Engineer ASR9000, CRS, NCS6000 & IOS-XR
New Member

Thanks for the response,

Thanks for the response, Xander! Much appreciated.

276
Views
0
Helpful
3
Replies