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

redistributing redistributed routes

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 ?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: redistributing redistributed routes

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

4 REPLIES
Hall of Fame Super Silver

Re: redistributing redistributed routes

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

New Member

Re: redistributing redistributed routes

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.

Hall of Fame Super Silver

Re: redistributing redistributed routes

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

Re: redistributing redistributed routes

Are u redistributing static or OSPF into BGP ?

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

247
Views
0
Helpful
4
Replies