Command:

show ip ospf

Mode:

Router#


Syntax:

show ip ospf { [ process-id ] | border-routers | database | interface | virtual-links }


Syntax Description:

process-id

Displays information about a specific instance of OSPF, it is the same value specified by the router ospfcommand

border-routers

Displays the internal OSPF routing table entries to an area border router (ABR) and autonomous system boundary router (ASBR)

database

Displays lists of information related to the OSPF database for a specific router

interface

Display OSPF-related interface information, including timers, neighbor ID's, and network type, and area details

virtual-links

Displays parameters about and the current state of OSPF virtual links, including timers, and state of adjacency


Command Description:

Displays statistics and status information of running ospf processes.


Example:

 


Router#
show ip ospf interface

Routing Process "ospf 201" with ID 192.42.110.200

Supports only single TOS(TOS0) route

It is an area border and autonomous system boundary router

Redistributing External Routes from,

       igrp 200 with metric mapped to 2, includes subnets in redistribution

      rip with metric mapped to 2

      igrp 2 with metric mapped to 100

      igrp 32 with metric mapped to 1

Number of areas in this router is 3

Area 192.42.110.0

     Number of interfaces in this area is 1

      Area has simple password authentication

      SPF algorithm executed 6 times


 

Misconceptions:

 

None


Related commands:

 

router ospf

 

debug all


© Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education






Converted from CHM to HTML with chm2web Pro 2.85 (unicode)