Ospf "show ip ospf route" query

Can someone tell me why I'd not be getting any results from this command "show ip ospf route", when all the other commands, like the below do show output?  I'm not getting any results from the two routers in Area 2, but the two switches in that same area do show output from the command.   All interfaces are up.  Just wondering how I can proceed to troubleshoot this.

 

show ip Ospf neighbors

show ip Ospf interface brief

 

Thanks,

UNi

Comments

  • show ip route ospf is the correct syntax

    Can you provide any more information on the problem devices, like specifically the output of the two mentioned commands.  Are you neighbor adjacencies up?

  • Hi,

    Actually, I mistakenly typed this the other day and was extremely surprised that "show ip ospf route" actually exists! It doesn't show up in "show parser dump" or even by using the "?" but it does give a very interesting output.

    Can anyone confirm this? Is this a new hidden command or an old unsuported gem? Here is the output of a "show version" on emulated router:

    Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T9, RELEASE SOFTWARE (fc5)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2009 by Cisco Systems, Inc.
    Compiled Tue 28-Apr-09 16:14 by prod_rel_team

    Regards,

    Eric

  • I can confirm the command work on Cisco NX-OS OSPFv2. The output below is from Cisco2911 router. Interesting output

    R1#sh ip ospf route

                OSPF Router with ID (10.255.255.252) (Process ID 100)


                    Base Topology (MTID 0)


        Area BACKBONE(0)

        Intra-area Route List
    *   10.2.98.0/23, Intra, cost 1, area 0, Connected
          via 10.2.99.254, GigabitEthernet0/2
    *>  10.2.103.0/24, Intra, cost 2, area 0
          via 10.2.99.2, GigabitEthernet0/2
          via 10.2.99.3, GigabitEthernet0/2
    *>  10.2.101.0/24, Intra, cost 2, area 0
          via 10.2.99.2, GigabitEthernet0/2
          via 10.2.99.3, GigabitEthernet0/2
    *>  10.2.9.0/24, Intra, cost 2, area 0
          via 10.2.99.2, GigabitEthernet0/2
          via 10.2.99.3, GigabitEthernet0/2
    *>  10.2.4.0/22, Intra, cost 2, area 0
          via 10.2.99.2, GigabitEthernet0/2
          via 10.2.99.3, GigabitEthernet0/2
    *>  10.2.11.0/24, Intra, cost 2, area 0
          via 10.2.99.2, GigabitEthernet0/2
          via 10.2.99.3, GigabitEthernet0/2
    *>  10.2.12.0/24, Intra, cost 2, area 0
          via 10.2.99.2, GigabitEthernet0/2
          via 10.2.99.3, GigabitEthernet0/2
    *>  10.2.100.0/24, Intra, cost 2, area 0
          via 10.2.99.2, GigabitEthernet0/2
          via 10.2.99.3, GigabitEthernet0/2
    *>  10.2.102.0/24, Intra, cost 2, area 0
          via 10.2.99.2, GigabitEthernet0/2
          via 10.2.99.3, GigabitEthernet0/2
    *   10.0.255.0/24, Intra, cost 1, area 0, Connected
          via 10.0.255.4, GigabitEthernet0/1.1
    *>  192.168.18.0/24, Intra, cost 2, area 0
          via 10.2.99.2, GigabitEthernet0/2
    *   10.255.255.252/32, Intra, cost 1, area 0, Connected
          via 10.255.255.252, Loopback0

        Intra-area Router Path List
    i 223.254.254.254 [1] via 10.2.99.3, GigabitEthernet0/2, ASBR, Area 0, SPF 9
    i 223.255.255.255 [1] via 10.2.99.2, GigabitEthernet0/2, ASBR, Area 0, SPF 9

        External Route List
    *>  10.1.101.0/24, Ext2, cost 20, tag 0
          via 10.2.99.3, GigabitEthernet0/2
          via 10.2.99.2, GigabitEthernet0/2
    *>  10.1.102.0/24, Ext2, cost 20, tag 0
          via 10.2.99.3, GigabitEthernet0/2
          via 10.2.99.2, GigabitEthernet0/2
    *>  10.1.128.0/24, Ext2, cost 20, tag 0
          via 10.2.99.3, GigabitEthernet0/2
          via 10.2.99.2, GigabitEthernet0/2
    *>  10.33.174.0/24, Ext2, cost 20, tag 0
          via 10.2.99.2, GigabitEthernet0/2
    R1#

Sign In or Register to comment.