cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
10850
Views
26
Helpful
4
Replies

How to verify route redistribution on the router configured?

gwhuang5398
Level 2
Level 2

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 4

Richard Burts
Hall of Fame
Hall of Fame

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

HTH

Rick

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

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

fausto-oliveira
Level 1
Level 1

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