redistributing redistributed routes

Answered Question
Aug 4th, 2008
User Badges:
  • Bronze, 100 points or more

Dear Firends,


I am trying to redistribute some static routes int to ospf - it's happening siccessfully.


"redistribute static subnets"


The same redistributed routes again im redistributing into BGP.- This is not happing.


" tried with all possible ospf to bgp redistributing commands"

This whole excersise is happening in a single ( same ) router.


1.Is this possible?

2.if it's not why

3.Is there any way to tweak this ?



Correct Answer by Richard Burts about 8 years 8 months ago

Rajeev


If you configure BGP with redistribution of OSPF routes then the router looks for any routes in the routing table which are "O" routes and redistributes them. The static routes are "S" routes in the routing table - and redistributing them into OSPF will make them "O" routes on neighboring OSPF neighbor routers, but on the local router they are still "S" routes. Therefore there is no way to redistribute from OSPF to BGP and get those routes. But if you want those routes in BGP then under BGP configure redistribute static and it should work just fine.


HTH


Rick

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Richard Burts Mon, 08/04/2008 - 04:17
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Rajeev


If you configure BGP with redistribution of OSPF routes then the router looks for any routes in the routing table which are "O" routes and redistributes them. The static routes are "S" routes in the routing table - and redistributing them into OSPF will make them "O" routes on neighboring OSPF neighbor routers, but on the local router they are still "S" routes. Therefore there is no way to redistribute from OSPF to BGP and get those routes. But if you want those routes in BGP then under BGP configure redistribute static and it should work just fine.


HTH


Rick

rajivrajan1 Mon, 08/04/2008 - 21:07
User Badges:
  • Bronze, 100 points or more

rick,


Thanx , u were correct.


Routes there in routing table only can be redistributed and not in any other table of routing protocol.


It was realy helpful for me.


Rated u full;)


thanx again.

Richard Burts Tue, 08/05/2008 - 03:46
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Rajeev


I am glad that my response was helpful and resolved your question. Thank you for using the rating system to indicate that your question was resolved (and thanks for the rating). It makes the forum more useful when people can read a question and can know that there were responses which did resolve the question.


The forum is an excellent place to learn Cisco networking. I encourage you to continue your participation in the forum.


HTH


Rick

cisco_lad2004 Mon, 08/04/2008 - 04:23
User Badges:
  • Gold, 750 points or more

Are u redistributing static or OSPF into BGP ?

only protocol which knows routes in a node can be redistributed on that very same node.

Actions

This Discussion