cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
946
Views
0
Helpful
7
Replies

ospf prefix number count

maileh
Level 1
Level 1

any command similar to #sh ip bgp sum for ospf which shows how many prefix recieved from a particular ospf neighboir

1 Accepted Solution

Accepted Solutions

Hi,

There is a command series as Show IP OSPF DATABASE.  You can visit at https://networklessons.com/ospf/read-ospf-database for more understanding out the database.

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

View solution in original post

7 Replies 7

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

Try with "Show IP Router OSPF", I am not sure that I got your question correctly or not. 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

my question is ,,, if you type sh ip bgp sum , it will show you how many prefix you recieve from a paticular peer.

sh ip route ospf show all the prefix recieved but i want to show similar result as bgp if you have thousands of it

I do not know any specific command to provide you the list of subnets you learned from OSPF neighbors. However, you can see how many subnets you learned from all of your neighbors as far as they made it to the RIB using show ip route summary (or show ip route summary | i ospf)

 

HTH,

Meheretab

HTH,
Meheretab

thanks for your kind reply 

Hi,

No there is no specific command but you can see the database details for the same.

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

thanks deepak ..can you show an example

Hi,

There is a command series as Show IP OSPF DATABASE.  You can visit at https://networklessons.com/ospf/read-ospf-database for more understanding out the database.

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
Review Cisco Networking products for a $25 gift card