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. And see here for current known issues.

New Member

How to verify route redistribution on the router configured?

I redistributed a static route into OSPF on Router A. I can see the route leared by other OSPF routers in the area, but on Router A, I can't see it by using "sh ip route ospf".

How can I verify that on Router A, the static route is being redistributed correctly into its OSPF routing table?

Thanks

Gary

4 REPLIES
Hall of Fame Super Silver

Re: How to verify route redistribution on the router configured?

Gary

It is hard to tell on router A about the redistributed route. On router A it is not an OSPF route it is a static route. The best test is to look on the neighbors and see if they have learned the route.

But if you want some proof that the redistribution is working you can do a show ip ospf database on router A and look for the redistributed route to be in the database as a type 5 entry.

HTH

Rick

New Member

Re: How to verify route redistribution on the router configured?

Thanks Rick. This is great. What about redistriting into BGP? What show commands can verify the BGP table gets the right route redistributed into?

Gary

Re: How to verify route redistribution on the router configured?

Hi

In BGP u can do advertise the networks using either network command or redistributing the networks using the IGP.

The general recommended method is to have it done using network command under the BGP Process.

you can very well check up whether ther same is getting advertised or not using show ip bgp as well show ip route.

for more info on that do refer this link..

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#redistribution

regds

New Member

Re: How to verify route redistribution on the router configured?

You can ( a fast way since the show ip ospf database is the best ) do a

sh ip route XXX.XXX.XXX.XXX

Routing entry for XXX.XXX.XXX.XXX/XX

Known via "static", distance 1, metric 0

Tag 100

Redistributing via ospf 1

Routing Descriptor Blocks:

* XXX.XXX.XXX.XXX

Route metric is 0, traffic share count is 1

In this output the redistributing via ospf is the key line to look for

532
Views
0
Helpful
4
Replies
CreatePlease login to create content