[Contents] [Prev] [Next] [Index] [Report an Error]


Verify the OSPF Protocol and Neighbors

This chapter describes how to check whether the Open Shortest Path First protocol (OSPF) is configured correctly on a Juniper Networks router, the proper adjacencies are formed in a network, and the appropriate link-state advertisements (LSAs) are flooded throughout different parts of the OSPF autonomous system (AS). (See Table 32.)


Table 32: Checklist for Verifying the OSPF Protocol and Neighbors
Verify the OSPF Protocol and Neighbors Tasks
Command or Action
  1. Check OSPF on an ASBR

show configuration
show ospf interface

  1. Check OSPF on an ABR

show configuration
show ospf interface

  1. Check OSPF on a Stub Router

show configuration
show ospf interface

  1. Verify OSPF Neighbors

show ospf neighbor

  1. Examine the OSPF Link-State Database

show ospf database

  1. Examine OSPF Routes

show route destination-prefix
show ospf database

  1. Examine the Forwarding Table

show route destination-prefix extensive
show route forwarding-table destination
destination-prefix

  1. Examine Link-State Advertisements in Detail
  1. Examine a Type 1 Router LSA

show ospf database router extensive

  1. Examine a Type 3 Summary LSA

show ospf database netsummary extensive

  1. Examine a Type 4 ASBR Summary LSA

show ospf database asbrsummary extensive

  1. Examine a Type 5 AS External LSA

show ospf database extern extensive

  1. Examine Type 7 NSSA External LSA

show ospf database nssa extensive



[Contents] [Prev] [Next] [Index] [Report an Error]