Routing
Routing

iBGP to OSPF Redistribution

‎08-07-2016 10:18 PM

Dear Members;

i want to redistribute a specific prefix from iBGP to OSPF (am also redistributiong from OSPF to iBGP on the same router but for different prefixes), but the prefix does not show in OSPF database whatsoever. After writing a simple export policy in OSPF (match blah! blah! blah! from protocol bgp the accept otherwise reject), and even setting next-hop,OSPF soes not seem to import that iBGP route....

 

Has anyone any idea why this is happening?

 

Regards

5 REPLIES 5
Routing

Re: iBGP to OSPF Redistribution

‎08-07-2016 11:32 PM

Can you share the relevant topology as well , so that its easier to triage 

 

 

Routing

Re: iBGP to OSPF Redistribution

‎08-08-2016 01:50 AM

Hi, 

 

Could you share the config for better understanding.

I assume the policy is applied as export to ospf and the prefix is active as BGP route in the routing-table.

You could verify the policy using:

test policy "name" "prefix"

Cheers,

Ashvin 

Routing

Re: iBGP to OSPF Redistribution

‎08-08-2016 05:07 AM

Thank you for you replies guys....

actually the reason why iBGP isn't redistributing into IGP is that this redistribution is not allowed by default....

 

http://www.juniper.net/techpubs/en_US/junose13.3/topics/reference/command-summary/bgp-redistribute-i...

 

Now what is the equivalent command in SRX/MX?

 

Regards.

 

Routing

Re: iBGP to OSPF Redistribution

‎08-08-2016 06:05 AM

Hi,

 

This command is for JunosE.

AFAIK, a BGP route should be able to be exported to OSPF with an export policy by default [i.e no additional tweaks required].

 

Cheers,

Ashvin

Routing

Re: iBGP to OSPF Redistribution

‎08-08-2016 08:12 AM

Heve you applied export/import policy in protocol configuration? Show your BGP,OSPF and policy configuration.