simple ospf

Unanswered Question
Sep 3rd, 2008

Dear friends,

Need a simple clarification.

How to find ospf version running in cisco? ( not google;)

or exactly,

which command will show you the ospf version , which is running in your router?

tnx in advance


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Calin Chiorean Wed, 09/03/2008 - 22:39


To be honest I never put myself this question:), but as general idea you use OSPF v2 for IPv4, OSPF v3 for IPv6, and if under "router ospf x" config you have the following line:

"compatible rfc1583"

means that OSPF process is backward compatible with IOS 12.0 (meaning OSPF v1).

I will search on for this command but I don't know it (if exist) right now.



Giuseppe Larosa Thu, 09/04/2008 - 01:15

Hello Rajeev,

the answer is simple:

OSPF version 2 supports IPv4 only RFC 2328

OSPFv3 supports IPv6 only

so depending on the routed protocol you get a single answer

Hope to help


Joseph W. Doherty Thu, 09/04/2008 - 06:01

The other posters have addressed V2 and V3 OSPF, but do realize, implementations, including Cisco's, do sometimes vary if there are "optional" parts of the specification (or other RFC suggestions), vendor "enhancements", and in the "gray" areas of the specification, i.e. how the protocol is actually implemented. These sometimes lead to (hopefully) rare, but "interesting" issues when mixing vendors or even major software levels within a vendor's product line even though the "whatever the product" meets standards.

Reason I mention the above, just wondering why you wanted to know the OSPF version.


A simple example of differences within the same OSPF standard, is anything automatically done for link costing?

troswellCCO Thu, 09/04/2008 - 18:07

By "OSPF version" do you mean the OSPF process ID?

If so, you can display all the OSPF processes currently running using the command "sh ip ospf | i Process" in priv-exec mode.

Hope this helps


This Discussion