[an error occurred while processing this directive][an error occurred while processing this directive]

OSPF Operational Mode Commands

Table 1 summarizes the command-line interface (CLI) commands you can use to monitor and troubleshoot the Open Shortest Path First (OSPF) protocol. Commands are listed in alphabetical order.

Table 1: OSPF Operational Mode Commands

Task

Command

Clear link-state database entries.

clear (ospf | ospf3) database

Clear OSPF input and output statistics.

clear (ospf | ospf3) io-statistics

Tear down neighbor connections.

clear (ospf | ospf3) neighbor

Clear the OSPF overload bit.

clear ospf overload

Clear OSPF statistics.

clear (ospf | ospf3) statistics

Display information about the level of backup coverage available for OSPF nodes and prefixes.

show (ospf | ospf3) backup coverage

Display information about MPLS label-switched-paths (LSPs) designated as backup routes for OSPF routes.

show (ospf | ospf3) backup lsp

Display link-state database entries for OSPFv2.

show ospf database

Display link-state database entries for OSPFv3.

show ospf3 database

Display OSPF interface status.

show (ospf | ospf3) interface

Display OSPF input and output statistics.

show (ospf | ospf3) io-statistics

Display the SPF log.

show (ospf | ospf3) log

Display adjacent routers.

show (ospf | ospf3) neighbor

Display overview statistics.

show (ospf | ospf3) overview

Display OSPF routing table entries.

show (ospf | ospf3) route

Display OSPF statistics.

show (ospf | ospf3) statistics

Note: For more OSPF-related commands, such as show route protocol, show route instance, and show route table, see Protocol-Independent Routing Operational Mode Commands. For information about monitoring Bidirectional Forwarding Detection (BFD) sessions for OSPF clients, see BFD Operational Mode Commands. For information about how to configure OSPF, see the JUNOS Routing Protocols Configuration Guide.


Published: 2010-04-28

[an error occurred while processing this directive]